summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-08-26 11:06:29 +0200
committerMartin Trigaux <mat@odoo.com>2016-08-26 11:21:18 +0200
commitdfb842ea30acce8d9faba6014ff71b9370dcdebb (patch)
tree6a4c425c6017512ba9260e5f530f7b49c17e71c1 /addons
parent770c9c4607f8480ec128b91c9320b068a4df9030 (diff)
[FIX] web: use the correct grammare in error message
The "There *are* more than 42 fishs" form should be used. Source: @yenthe666 & http://english.stackexchange.com/a/35998
Diffstat (limited to 'addons')
-rw-r--r--addons/web/i18n/web.pot4
-rw-r--r--addons/web/static/src/js/views/pivot_view.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/i18n/web.pot b/addons/web/i18n/web.pot
index e8405f4f6dd..f4441473390 100644
--- a/addons/web/i18n/web.pot
+++ b/addons/web/i18n/web.pot
@@ -1048,9 +1048,9 @@ msgstr ""
#. module: web
#. openerp-web
-#: code:addons/web/static/src/js/views/pivot_view.js:808
+#: code:addons/web/static/src/js/views/pivot_view.js:821
#, python-format
-msgid "For Excel compatibility, data cannot be exported if there is more than 256 columns.\n"
+msgid "For Excel compatibility, data cannot be exported if there are more than 256 columns.\n"
"\n"
"Tip: try to flip axis, filter further or reduce the number of measures."
msgstr ""
diff --git a/addons/web/static/src/js/views/pivot_view.js b/addons/web/static/src/js/views/pivot_view.js
index 83e75faf9a6..f0fd2eaa0b8 100644
--- a/addons/web/static/src/js/views/pivot_view.js
+++ b/addons/web/static/src/js/views/pivot_view.js
@@ -818,7 +818,7 @@ var PivotView = View.extend({
title: this.title,
};
if(table.measure_row.length + 1 > 256) {
- c.show_message(_t("For Excel compatibility, data cannot be exported if there is more than 256 columns.\n\nTip: try to flip axis, filter further or reduce the number of measures."));
+ c.show_message(_t("For Excel compatibility, data cannot be exported if there are more than 256 columns.\n\nTip: try to flip axis, filter further or reduce the number of measures."));
return;
}
session.get_file({