diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-10-29 15:51:43 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-10-29 18:07:49 +0000 |
| commit | 62a18bdb372e234107fd2099a2df5f9e3a442c96 (patch) | |
| tree | 2ba5e12c2f347e6de12407a804f1439edd90ed97 /addons/survey | |
| parent | 8b67d263ab04bbb2e6ccd6c4095029eadcc36138 (diff) | |
[FIX] *: correct typos and bad English
Courtesy of translators
Reexport .pot of modified modules
closes odoo/odoo#61002
Related: odoo/enterprise#14485
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/survey')
| -rw-r--r-- | addons/survey/data/survey_demo_certification.xml | 2 | ||||
| -rw-r--r-- | addons/survey/data/survey_demo_conditional.xml | 2 | ||||
| -rw-r--r-- | addons/survey/data/survey_demo_quiz.xml | 4 | ||||
| -rw-r--r-- | addons/survey/i18n/survey.pot | 50 | ||||
| -rw-r--r-- | addons/survey/models/survey_user.py | 2 | ||||
| -rw-r--r-- | addons/survey/tests/test_certification_badge.py | 6 | ||||
| -rw-r--r-- | addons/survey/views/survey_report_templates.xml | 4 | ||||
| -rw-r--r-- | addons/survey/views/survey_survey_views.xml | 2 | ||||
| -rw-r--r-- | addons/survey/views/survey_templates_statistics.xml | 2 |
9 files changed, 37 insertions, 37 deletions
diff --git a/addons/survey/data/survey_demo_certification.xml b/addons/survey/data/survey_demo_certification.xml index 816fb8eb47f..54cd42ca343 100644 --- a/addons/survey/data/survey_demo_certification.xml +++ b/addons/survey/data/survey_demo_certification.xml @@ -3,7 +3,7 @@ <data noupdate="1"> <record model="gamification.badge" id="vendor_certification_badge"> <field name="name">MyCompany Vendor</field> - <field name="description">Congratulation, you are now official vendor of MyCompany</field> + <field name="description">Congratulations, you are now official vendor of MyCompany</field> <field name="rule_auth">nobody</field> <field name="image_1920" type="base64" file="gamification/static/img/badge_good_job-image.png"/> </record> diff --git a/addons/survey/data/survey_demo_conditional.xml b/addons/survey/data/survey_demo_conditional.xml index 02298e082a6..9201bcdcbaa 100644 --- a/addons/survey/data/survey_demo_conditional.xml +++ b/addons/survey/data/survey_demo_conditional.xml @@ -126,7 +126,7 @@ <record id="survey_demo_burger_quiz_p2_q3" model="survey.question"> <field name="survey_id" ref="survey_demo_burger_quiz"/> <field name="sequence">130</field> - <field name="title">What is the highest volcano in Europe ?</field> + <field name="title">Which is the highest volcano in Europe ?</field> <field name="question_type">simple_choice</field> <field name="constr_mandatory" eval="True"/> <field name="is_conditional" eval="True"/> diff --git a/addons/survey/data/survey_demo_quiz.xml b/addons/survey/data/survey_demo_quiz.xml index 96aab5a4860..c57c1e0c323 100644 --- a/addons/survey/data/survey_demo_quiz.xml +++ b/addons/survey/data/survey_demo_quiz.xml @@ -66,7 +66,7 @@ <field name="question_type" eval="False"/> <field name="is_page" eval="True"/> <field name="description" type="html"> -<p>Some questions on our Company. Do you really know us ?</p></field> +<p>Some questions about our company. Do you really know us?</p></field> </record> <record id="survey_demo_quiz_p2_q1" model="survey.question"> <field name="survey_id" ref="survey_demo_quiz"/> @@ -334,7 +334,7 @@ <record id="survey_demo_quiz_p4_q1_sug1" model="survey.question.answer"> <field name="question_id" ref="survey_demo_quiz_p4_q1"/> <field name="sequence">1</field> - <field name="value">Pincaceae</field> + <field name="value">Pinaceae</field> <field name="value_image" type="base64" file="survey/static/img/pinaceae.jpg"/> </record> <record id="survey_demo_quiz_p4_q1_sug2" model="survey.question.answer"> diff --git a/addons/survey/i18n/survey.pot b/addons/survey/i18n/survey.pot index ceb7afa1b02..610f6445849 100644 --- a/addons/survey/i18n/survey.pot +++ b/addons/survey/i18n/survey.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-09-29 13:45+0000\n" -"PO-Revision-Date: 2020-09-29 13:45+0000\n" +"POT-Creation-Date: 2020-10-29 15:48+0000\n" +"PO-Revision-Date: 2020-10-29 15:48+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -386,7 +386,7 @@ msgstr "" #. module: survey #: model:survey.question,description:survey.survey_demo_quiz_p2 -msgid "<p>Some questions on our Company. Do you really know us ?</p>" +msgid "<p>Some questions about our company. Do you really know us?</p>" msgstr "" #. module: survey @@ -644,7 +644,7 @@ msgstr "" #. module: survey #: code:addons/survey/models/survey_user.py:0 #, python-format -msgid "A question is either skipped, either answered. Not both." +msgid "A question is either skipped or answered, not both." msgstr "" #. module: survey @@ -1242,7 +1242,7 @@ msgstr "" #. module: survey #: model:gamification.badge,description:survey.vendor_certification_badge -msgid "Congratulation, you are now official vendor of MyCompany" +msgid "Congratulations, you are now official vendor of MyCompany" msgstr "" #. module: survey @@ -1276,6 +1276,11 @@ msgid "Continue" msgstr "" #. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_fill_form +msgid "Continue here" +msgstr "" + +#. module: survey #: model:survey.question.answer,value:survey.survey_demo_quiz_p3_q3_sug4 msgid "Cookies" msgstr "" @@ -2689,7 +2694,7 @@ msgstr "" #. module: survey #: model_terms:ir.ui.view,arch_db:survey.question_result_number_or_date -msgid "Occurence" +msgid "Occurrence" msgstr "" #. module: survey @@ -2869,7 +2874,7 @@ msgstr "" #. module: survey #: model:survey.question.answer,value:survey.survey_demo_quiz_p4_q1_sug1 -msgid "Pincaceae" +msgid "Pinaceae" msgstr "" #. module: survey @@ -3325,14 +3330,6 @@ msgid "Some emails you just entered are incorrect: %s" msgstr "" #. module: survey -#: model_terms:ir.ui.view,arch_db:survey.survey_fill_form -msgid "" -"Something went wrong while contacting survey server. <strong class=\"text-" -"danger\">Your answers have probably not been recorded.</strong> Try " -"refreshing." -msgstr "" - -#. module: survey #: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_header msgid "Sorry, no one answered this survey yet." msgstr "" @@ -3998,6 +3995,13 @@ msgid "Title" msgstr "" #. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_fill_form +msgid "" +"To take this survey, please close all other tabs on <strong class=\"text-" +"danger\"/>." +msgstr "" + +#. module: survey #: model_terms:ir.ui.view,arch_db:survey.survey_survey_view_search msgid "Today Activities" msgstr "" @@ -4243,11 +4247,6 @@ msgid "What is the biggest city in the world ?" msgstr "" #. module: survey -#: model:survey.question,title:survey.survey_demo_burger_quiz_p2_q3 -msgid "What is the highest volcano in Europe ?" -msgstr "" - -#. module: survey #: model:survey.question,title:survey.survey_demo_quiz_p1_q1 msgid "What is your email ?" msgstr "" @@ -4314,6 +4313,11 @@ msgid "Which category does a tomato belong to" msgstr "" #. module: survey +#: model:survey.question,title:survey.survey_demo_burger_quiz_p2_q3 +msgid "Which is the highest volcano in Europe ?" +msgstr "" + +#. module: survey #: model:survey.question,title:survey.survey_feedback_p2_q1 msgid "Which of the following words would you use to describe our products ?" msgstr "" @@ -4449,12 +4453,8 @@ msgstr "" #. module: survey #: model_terms:ir.ui.view,arch_db:survey.certification_report_view_classic -msgid "for graduating from" -msgstr "" - -#. module: survey #: model_terms:ir.ui.view,arch_db:survey.certification_report_view_modern -msgid "for gratuating from" +msgid "for graduating" msgstr "" #. module: survey diff --git a/addons/survey/models/survey_user.py b/addons/survey/models/survey_user.py index c62b0d3a671..b21539c77f9 100644 --- a/addons/survey/models/survey_user.py +++ b/addons/survey/models/survey_user.py @@ -511,7 +511,7 @@ class SurveyUserInputLine(models.Model): def _check_answer_type_skipped(self): for line in self: if (line.skipped == bool(line.answer_type)): - raise ValidationError(_('A question is either skipped, either answered. Not both.')) + raise ValidationError(_('A question is either skipped or answered, not both.')) # allow 0 for numerical box if line.answer_type == 'numerical_box' and float_is_zero(line['value_numerical_box'], precision_digits=6): diff --git a/addons/survey/tests/test_certification_badge.py b/addons/survey/tests/test_certification_badge.py index df31c5e68d9..037b1e211c3 100644 --- a/addons/survey/tests/test_certification_badge.py +++ b/addons/survey/tests/test_certification_badge.py @@ -31,21 +31,21 @@ class TestCertificationBadge(common.TestSurveyCommon): self.certification_badge = self.env['gamification.badge'].with_user(self.survey_manager).create({ 'name': self.certification_survey.title, - 'description': 'Congratulation, you succeeded this certification', + 'description': 'Congratulations, you have succeeded this certification', 'rule_auth': 'nobody', 'level': None, }) self.certification_badge_2 = self.env['gamification.badge'].with_user(self.survey_manager).create({ 'name': self.certification_survey.title + ' 2', - 'description': 'Congratulation, you succeeded this certification', + 'description': 'Congratulations, you have succeeded this certification', 'rule_auth': 'nobody', 'level': None, }) self.certification_badge_3 = self.env['gamification.badge'].with_user(self.survey_manager).create({ 'name': self.certification_survey.title + ' 3', - 'description': 'Congratulation, you succeeded this certification', + 'description': 'Congratulations, you have succeeded this certification', 'rule_auth': 'nobody', 'level': None, }) diff --git a/addons/survey/views/survey_report_templates.xml b/addons/survey/views/survey_report_templates.xml index e820945bb2f..3f3d3767693 100644 --- a/addons/survey/views/survey_report_templates.xml +++ b/addons/survey/views/survey_report_templates.xml @@ -20,7 +20,7 @@ <div class="certification-description"> <span t-field="user_input.survey_id.create_uid.company_id.display_name"/> is proud to award this certificate to - <span t-esc="user_input.partner_id.name or user_input.email"/> for gratuating from <span t-field="user_input.survey_id.display_name"/>. + <span t-esc="user_input.partner_id.name or user_input.email"/> for graduating <span t-field="user_input.survey_id.display_name"/>. </div> </div> <div t-else=""> @@ -58,7 +58,7 @@ <div class="certification-description"> <span t-field="user_input.survey_id.create_uid.company_id.display_name"/> is proud to award this certificate to - <span t-esc="user_input.partner_id.name or user_input.email"/> for graduating from <span t-field="user_input.survey_id.display_name"/>. + <span t-esc="user_input.partner_id.name or user_input.email"/> for graduating <span t-field="user_input.survey_id.display_name"/>. </div> </div> <div t-else=""> diff --git a/addons/survey/views/survey_survey_views.xml b/addons/survey/views/survey_survey_views.xml index bd472e2a0fc..c332a04d27e 100644 --- a/addons/survey/views/survey_survey_views.xml +++ b/addons/survey/views/survey_survey_views.xml @@ -124,7 +124,7 @@ <field name="certification_badge_id" attrs="{'invisible': ['|', ('certification_give_badge', '=', False), ('certification_badge_id', '!=', False)]}" domain="[('survey_id', '=', active_id), ('survey_id', '!=', False)]" context="{'default_name': title, - 'default_description': 'Congratulation, you succeeded this certification', + 'default_description': 'Congratulations, you have succeeded this certification', 'default_rule_auth': 'nobody', 'default_level': None, 'form_view_ref': 'survey.gamification_badge_form_view_simplified', diff --git a/addons/survey/views/survey_templates_statistics.xml b/addons/survey/views/survey_templates_statistics.xml index 95889498b21..20de2dd74c7 100644 --- a/addons/survey/views/survey_templates_statistics.xml +++ b/addons/survey/views/survey_templates_statistics.xml @@ -216,7 +216,7 @@ <thead> <tr> <th>User Responses</th> - <th>Occurence</th> + <th>Occurrence</th> </tr> </thead> <tbody> |
