From dfb842ea30acce8d9faba6014ff71b9370dcdebb Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Fri, 26 Aug 2016 11:06:29 +0200 Subject: [PATCH] [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 --- addons/web/i18n/web.pot | 4 ++-- addons/web/static/src/js/views/pivot_view.js | 2 +- 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({