From 473403792ed8ded50a1ca00b2f3eaabe3a2a10f7 Mon Sep 17 00:00:00 2001 From: Yenthe666 Date: Tue, 8 Oct 2019 13:29:23 +0000 Subject: [PATCH] [FIX] *: fix "there is no" sentences "There is no " is not correct cf https://english.stackexchange.com/a/26634 closes odoo/odoo#38205 Signed-off-by: Martin Trigaux (mat) --- addons/account/i18n/account.pot | 2 +- addons/account/wizard/account_validate_account_move.py | 2 +- addons/crm_iap_lead/data/crm_iap_lead_data.xml | 2 +- addons/crm_iap_lead/i18n/crm_iap_lead.pot | 2 +- addons/mass_mailing/i18n/mass_mailing.pot | 2 +- addons/mass_mailing/models/mailing.py | 2 +- addons/mass_mailing_sms/i18n/mass_mailing_sms.pot | 2 +- addons/mass_mailing_sms/models/mailing_mailing.py | 2 +- addons/pos_restaurant/i18n/pos_restaurant.pot | 2 +- addons/pos_restaurant/static/src/js/printbill.js | 2 +- addons/project/i18n/project.pot | 2 +- addons/project/views/rating_views.xml | 2 +- addons/sale_timesheet/i18n/sale_timesheet.pot | 2 +- addons/sale_timesheet/views/hr_timesheet_templates.xml | 2 +- addons/website_livechat/i18n/website_livechat.pot | 4 ++-- addons/website_livechat/views/website_livechat.xml | 4 ++-- addons/website_slides/i18n/website_slides.pot | 4 ++-- addons/website_slides/views/rating_rating_views.xml | 4 ++-- addons/website_slides/views/slide_question_views.xml | 2 +- 19 files changed, 23 insertions(+), 23 deletions(-) diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 20c59f8604e..59fa90ec498 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -10849,7 +10849,7 @@ msgstr "" #. module: account #: code:addons/account/wizard/account_validate_account_move.py:0 #, python-format -msgid "There is no journal items in draft state to post." +msgid "There are no journal items in the draft state to post." msgstr "" #. module: account diff --git a/addons/account/wizard/account_validate_account_move.py b/addons/account/wizard/account_validate_account_move.py index cc19c724e88..57b1398729a 100644 --- a/addons/account/wizard/account_validate_account_move.py +++ b/addons/account/wizard/account_validate_account_move.py @@ -14,6 +14,6 @@ class ValidateAccountMove(models.TransientModel): if move.state == 'draft': move_to_post += move if not move_to_post: - raise UserError(_('There is no journal items in draft state to post.')) + raise UserError(_('There are no journal items in the draft state to post.')) move_to_post.post() return {'type': 'ir.actions.act_window_close'} diff --git a/addons/crm_iap_lead/data/crm_iap_lead_data.xml b/addons/crm_iap_lead/data/crm_iap_lead_data.xml index 86353c73d32..7c88671d1af 100644 --- a/addons/crm_iap_lead/data/crm_iap_lead_data.xml +++ b/addons/crm_iap_lead/data/crm_iap_lead_data.xml @@ -10,7 +10,7 @@

Dear,

-

There is no more credits on your IAP Lead Generation account.
+

There are no more credits on your IAP Lead Generation account.
You can charge your IAP Lead Generation account in the settings of the CRM app.

Best regards,

Odoo S.A.

diff --git a/addons/crm_iap_lead/i18n/crm_iap_lead.pot b/addons/crm_iap_lead/i18n/crm_iap_lead.pot index 0a84016d9ce..56fc2d8872f 100644 --- a/addons/crm_iap_lead/i18n/crm_iap_lead.pot +++ b/addons/crm_iap_lead/i18n/crm_iap_lead.pot @@ -46,7 +46,7 @@ msgstr "" msgid "" "
\n" "

Dear,

\n" -"

There is no more credits on your IAP Lead Generation account.
\n" +"

There are no more credits on your IAP Lead Generation account.
\n" " You can charge your IAP Lead Generation account in the settings of the CRM app.

\n" "

Best regards,

\n" "

Odoo S.A.

\n" diff --git a/addons/mass_mailing/i18n/mass_mailing.pot b/addons/mass_mailing/i18n/mass_mailing.pot index 393d183ab88..41b84f57379 100644 --- a/addons/mass_mailing/i18n/mass_mailing.pot +++ b/addons/mass_mailing/i18n/mass_mailing.pot @@ -2129,7 +2129,7 @@ msgstr "" #. module: mass_mailing #: code:addons/mass_mailing/models/mailing.py:0 #, python-format -msgid "There is no recipients selected." +msgid "There are no recipients selected." msgstr "" #. module: mass_mailing diff --git a/addons/mass_mailing/models/mailing.py b/addons/mass_mailing/models/mailing.py index 15c30ad52a0..019763ac20e 100644 --- a/addons/mass_mailing/models/mailing.py +++ b/addons/mass_mailing/models/mailing.py @@ -511,7 +511,7 @@ class MassMailing(models.Model): if not res_ids: res_ids = mailing._get_remaining_recipients() if not res_ids: - raise UserError(_('There is no recipients selected.')) + raise UserError(_('There are no recipients selected.')) composer_values = { 'author_id': author_id, diff --git a/addons/mass_mailing_sms/i18n/mass_mailing_sms.pot b/addons/mass_mailing_sms/i18n/mass_mailing_sms.pot index 05684a97eeb..4454e962024 100644 --- a/addons/mass_mailing_sms/i18n/mass_mailing_sms.pot +++ b/addons/mass_mailing_sms/i18n/mass_mailing_sms.pot @@ -555,7 +555,7 @@ msgstr "" #. module: mass_mailing_sms #: code:addons/mass_mailing_sms/models/mailing_mailing.py:0 #, python-format -msgid "There is no recipients selected." +msgid "There are no recipients selected." msgstr "" #. module: mass_mailing_sms diff --git a/addons/mass_mailing_sms/models/mailing_mailing.py b/addons/mass_mailing_sms/models/mailing_mailing.py index 3d0d75c78fb..37c35f216bf 100644 --- a/addons/mass_mailing_sms/models/mailing_mailing.py +++ b/addons/mass_mailing_sms/models/mailing_mailing.py @@ -213,7 +213,7 @@ class Mailing(models.Model): if not res_ids: res_ids = mailing._get_remaining_recipients() if not res_ids: - raise UserError(_('There is no recipients selected.')) + raise UserError(_('There are no recipients selected.')) composer = self.env['sms.composer'].with_context(active_id=False).create(mailing._send_sms_get_composer_values(res_ids)) composer._action_send_sms() diff --git a/addons/pos_restaurant/i18n/pos_restaurant.pot b/addons/pos_restaurant/i18n/pos_restaurant.pot index cb154286025..5b94128b809 100644 --- a/addons/pos_restaurant/i18n/pos_restaurant.pot +++ b/addons/pos_restaurant/i18n/pos_restaurant.pot @@ -967,7 +967,7 @@ msgstr "" #. openerp-web #: code:addons/pos_restaurant/static/src/js/printbill.js:0 #, python-format -msgid "There is no order lines" +msgid "There are no order lines" msgstr "" #. module: pos_restaurant diff --git a/addons/pos_restaurant/static/src/js/printbill.js b/addons/pos_restaurant/static/src/js/printbill.js index 88966c72ec1..2709592dfe0 100644 --- a/addons/pos_restaurant/static/src/js/printbill.js +++ b/addons/pos_restaurant/static/src/js/printbill.js @@ -37,7 +37,7 @@ var PrintBillButton = screens.ActionButtonWidget.extend({ } else { this.gui.show_popup('error', { 'title': _t('Nothing to Print'), - 'body': _t('There is no order lines'), + 'body': _t('There are no order lines'), }); } }, diff --git a/addons/project/i18n/project.pot b/addons/project/i18n/project.pot index 009edd548f9..4c062529cd5 100644 --- a/addons/project/i18n/project.pot +++ b/addons/project/i18n/project.pot @@ -2770,7 +2770,7 @@ msgstr "" #. module: project #: model_terms:ir.actions.act_window,help:project.rating_rating_action_view_project_rating -msgid "There is no rating for this object at the moment" +msgid "There are no ratings for this object at the moment" msgstr "" #. module: project diff --git a/addons/project/views/rating_views.xml b/addons/project/views/rating_views.xml index 618decfda08..2cfe3dc4e47 100644 --- a/addons/project/views/rating_views.xml +++ b/addons/project/views/rating_views.xml @@ -28,7 +28,7 @@

- There is no rating for this object at the moment + There are no ratings for this object at the moment

diff --git a/addons/sale_timesheet/i18n/sale_timesheet.pot b/addons/sale_timesheet/i18n/sale_timesheet.pot index 4fd249658da..ffeed107029 100644 --- a/addons/sale_timesheet/i18n/sale_timesheet.pot +++ b/addons/sale_timesheet/i18n/sale_timesheet.pot @@ -1088,7 +1088,7 @@ msgstr "" #. module: sale_timesheet #: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan -msgid "There is no timesheet for now." +msgid "There are no timesheets for now." msgstr "" #. module: sale_timesheet diff --git a/addons/sale_timesheet/views/hr_timesheet_templates.xml b/addons/sale_timesheet/views/hr_timesheet_templates.xml index 2fbe2d2dc35..38addc7eba3 100644 --- a/addons/sale_timesheet/views/hr_timesheet_templates.xml +++ b/addons/sale_timesheet/views/hr_timesheet_templates.xml @@ -193,7 +193,7 @@
-

There is no timesheet for now.

+

There are no timesheets for now.

diff --git a/addons/website_livechat/i18n/website_livechat.pot b/addons/website_livechat/i18n/website_livechat.pot index 5bc0fe2df34..797310b10e9 100644 --- a/addons/website_livechat/i18n/website_livechat.pot +++ b/addons/website_livechat/i18n/website_livechat.pot @@ -240,12 +240,12 @@ msgstr "" #. module: website_livechat #: model_terms:ir.ui.view,arch_db:website_livechat.channel_list_page -msgid "There is no public livechat channel to show." +msgid "There are no public livechat channels to show." msgstr "" #. module: website_livechat #: model_terms:ir.ui.view,arch_db:website_livechat.channel_page -msgid "There is no rating for this channel for now." +msgid "There are no ratings for this channel for now." msgstr "" #. module: website_livechat diff --git a/addons/website_livechat/views/website_livechat.xml b/addons/website_livechat/views/website_livechat.xml index 065ec92133d..4f2f36fdc8b 100644 --- a/addons/website_livechat/views/website_livechat.xml +++ b/addons/website_livechat/views/website_livechat.xml @@ -150,7 +150,7 @@
-

There is no rating for this channel for now.

+

There are no ratings for this channel for now.

@@ -208,7 +208,7 @@
- There is no public livechat channel to show. + There are no public livechat channels to show.
diff --git a/addons/website_slides/i18n/website_slides.pot b/addons/website_slides/i18n/website_slides.pot index 4871b2db362..82f1a3f5289 100644 --- a/addons/website_slides/i18n/website_slides.pot +++ b/addons/website_slides/i18n/website_slides.pot @@ -3529,13 +3529,13 @@ msgstr "" #. module: website_slides #: model_terms:ir.actions.act_window,help:website_slides.slide_question_action_report -msgid "There is no quiz" +msgid "There are no quizzes" msgstr "" #. module: website_slides #: model_terms:ir.actions.act_window,help:website_slides.rating_rating_action_slide_channel #: model_terms:ir.actions.act_window,help:website_slides.rating_rating_action_slide_channel_report -msgid "There is no rating for these courses at the moment" +msgid "There are no ratings for these courses at the moment" msgstr "" #. module: website_slides diff --git a/addons/website_slides/views/rating_rating_views.xml b/addons/website_slides/views/rating_rating_views.xml index 4f95b6c7c19..0ff688c29dd 100644 --- a/addons/website_slides/views/rating_rating_views.xml +++ b/addons/website_slides/views/rating_rating_views.xml @@ -109,7 +109,7 @@

- There is no rating for these courses at the moment + There are no ratings for these courses at the moment

@@ -122,7 +122,7 @@

- There is no rating for these courses at the moment + There are no ratings for these courses at the moment

diff --git a/addons/website_slides/views/slide_question_views.xml b/addons/website_slides/views/slide_question_views.xml index b238560c29b..5aa44eab86b 100644 --- a/addons/website_slides/views/slide_question_views.xml +++ b/addons/website_slides/views/slide_question_views.xml @@ -70,7 +70,7 @@

- There is no quiz + There are no quizzes

Add quizzes at the end of your lessons to evaluate what your students understood.