[FIX] *: fix "there is no" sentences

"There is no <plural>" is not correct
cf https://english.stackexchange.com/a/26634

closes odoo/odoo#38205

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Yenthe666
2019-10-08 14:30:19 +00:00
committed by Martin Trigaux
parent 8ad360ccd3
commit 473403792e
19 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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
@@ -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'}
@@ -10,7 +10,7 @@
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p>Dear,</p>
<p>There is no more credits on your IAP Lead Generation account.<br/>
<p>There are no more credits on your IAP Lead Generation account.<br/>
You can charge your IAP Lead Generation account in the settings of the CRM app.<br/></p>
<p>Best regards,</p>
<p>Odoo S.A.</p>
+1 -1
View File
@@ -46,7 +46,7 @@ msgstr ""
msgid ""
"<div style=\"margin: 0px; padding: 0px;\">\n"
" <p>Dear,</p>\n"
" <p>There is no more credits on your IAP Lead Generation account.<br/>\n"
" <p>There are no more credits on your IAP Lead Generation account.<br/>\n"
" You can charge your IAP Lead Generation account in the settings of the CRM app.<br/></p>\n"
" <p>Best regards,</p>\n"
" <p>Odoo S.A.</p>\n"
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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,
@@ -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
@@ -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()
@@ -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
@@ -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'),
});
}
},
+1 -1
View File
@@ -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
+1 -1
View File
@@ -28,7 +28,7 @@
<field name="search_view_id" ref="rating_rating_view_search_project"/>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There is no rating for this object at the moment
There are no ratings for this object at the moment
</p>
</field>
</record>
@@ -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
@@ -193,7 +193,7 @@
<div class="o_timesheet_plan_sale_timesheet_people_time">
<t t-if="not repartition_employee">
<p>There is no timesheet for now.</p>
<p>There are no timesheets for now.</p>
</t>
<t t-if="repartition_employee">
<div class="float-right o_timesheet_plan_badge">
@@ -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
@@ -150,7 +150,7 @@
</div>
</t>
<t t-if="len(ratings) == 0">
<h4 style="text-align:center">There is no rating for this channel for now.</h4>
<h4 style="text-align:center">There are no ratings for this channel for now.</h4>
</t>
</div>
<div class="col-lg-4 mb32">
@@ -208,7 +208,7 @@
<div class="row mt32 mb32">
<t t-if="not len(channels)">
<div class="col-lg-6 offset-lg-3">
There is no public livechat channel to show.
There are no public livechat channels to show.
</div>
</t>
<t t-if="len(channels)">
@@ -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
@@ -109,7 +109,7 @@
<field name="view_id" ref="rating_rating_view_kanban_slide_channel"/>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There is no rating for these courses at the moment
There are no ratings for these courses at the moment
</p>
</field>
</record>
@@ -122,7 +122,7 @@
<field name="search_view_id" ref="rating_rating_view_search_slide_channel"/>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There is no rating for these courses at the moment
There are no ratings for these courses at the moment
</p>
</field>
</record>
@@ -70,7 +70,7 @@
<field name="view_id" ref="slide_question_view_tree_report"/>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
There is no quiz
There are no quizzes
</p>
<p>
Add quizzes at the end of your lessons to evaluate what your students understood.