summaryrefslogtreecommitdiff
path: root/addons/gamification
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-09-07 13:50:37 +0000
committerVictor Feyens <vfe@odoo.com>2020-09-07 15:10:11 +0000
commit4214f05d454bca2b60fda3a288d529c098e84f77 (patch)
treea585c4c32b1e41d4ce7451594c941e0540c34b8d /addons/gamification
parent0e12fa135882cd5095dbf15fe2f64231c6a84336 (diff)
[FIX] *: typos and english incoherences
Mainly transifex issues but also some errors found through 'grep' checks. Fix typos and obscure english strings in xml contents, fields strings/helps, some docstrings, ... ensuring correct translations base (and fallback when translations isn't available). closes odoo/odoo#57206 Related: odoo/enterprise#13032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/gamification')
-rw-r--r--addons/gamification/i18n/gamification.pot6
-rw-r--r--addons/gamification/models/goal.py4
-rw-r--r--addons/gamification/views/goal.xml2
3 files changed, 6 insertions, 6 deletions
diff --git a/addons/gamification/i18n/gamification.pot b/addons/gamification/i18n/gamification.pot
index 632555832d4..a27cc66360a 100644
--- a/addons/gamification/i18n/gamification.pot
+++ b/addons/gamification/i18n/gamification.pot
@@ -469,7 +469,7 @@ msgstr ""
#. module: gamification
#: model_terms:ir.actions.act_window,help:gamification.goal_definition_list_action
msgid ""
-"A goal definition is a technical model of goal defining a condition to reach.\n"
+"A goal definition is a technical specification of a condition to reach.\n"
" The dates, values to reach or users are defined in goal instance."
msgstr ""
@@ -870,7 +870,7 @@ msgstr ""
#: model:ir.model.fields,help:gamification.field_gamification_goal__computation_mode
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition__computation_mode
msgid ""
-"Defined how will be computed the goals. The result of the operation will be "
+"Define how the goals will be computed. The result of the operation will be "
"stored in the field 'Current'."
msgstr ""
@@ -1360,7 +1360,7 @@ msgstr ""
#. module: gamification
#: model:ir.model.fields,help:gamification.field_gamification_goal_definition__batch_distinctive_field
msgid ""
-"In batch mode, this indicates which field distinct one user form the other, "
+"In batch mode, this indicates which field distinguishes one user from the other, "
"e.g. user_id, partner_id..."
msgstr ""
diff --git a/addons/gamification/models/goal.py b/addons/gamification/models/goal.py
index e26ac0b37ff..19e2c9a095d 100644
--- a/addons/gamification/models/goal.py
+++ b/addons/gamification/models/goal.py
@@ -35,7 +35,7 @@ class GoalDefinition(models.Model):
('sum', "Automatic: sum on a field"),
('python', "Automatic: execute a specific Python code"),
], default='manually', string="Computation Mode", required=True,
- help="Defined how will be computed the goals. The result of the operation will be stored in the field 'Current'.")
+ help="Define how the goals will be computed. The result of the operation will be stored in the field 'Current'.")
display_mode = fields.Selection([
('progress', "Progressive (using numerical values)"),
('boolean', "Exclusive (done or not-done)"),
@@ -58,7 +58,7 @@ class GoalDefinition(models.Model):
" user if not in batch mode.")
batch_mode = fields.Boolean("Batch Mode", help="Evaluate the expression in batch instead of once for each user")
- batch_distinctive_field = fields.Many2one('ir.model.fields', string="Distinctive field for batch user", help="In batch mode, this indicates which field distinct one user form the other, e.g. user_id, partner_id...")
+ batch_distinctive_field = fields.Many2one('ir.model.fields', string="Distinctive field for batch user", help="In batch mode, this indicates which field distinguishes one user from the other, e.g. user_id, partner_id...")
batch_user_expression = fields.Char("Evaluated expression for batch mode", help="The value to compare with the distinctive field. The expression can contain reference to 'user' which is a browse record of the current user, e.g. user.id, user.partner_id.id...")
compute_code = fields.Text("Python Code", help="Python code to be executed for each user. 'result' should contains the new current value. Evaluated user can be access through object.user_id.")
condition = fields.Selection([
diff --git a/addons/gamification/views/goal.xml b/addons/gamification/views/goal.xml
index 1f43e81fc6e..f7809c0dba2 100644
--- a/addons/gamification/views/goal.xml
+++ b/addons/gamification/views/goal.xml
@@ -204,7 +204,7 @@
<p class="o_view_nocontent_smiling_face">
Create a new goal definition
</p><p>
- A goal definition is a technical model of goal defining a condition to reach.
+ A goal definition is a technical specification of a condition to reach.
The dates, values to reach or users are defined in goal instance.
</p>
</field>