summaryrefslogtreecommitdiff
path: root/addons/analytic
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/analytic
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/analytic')
-rw-r--r--addons/analytic/i18n/analytic.pot4
-rw-r--r--addons/analytic/models/analytic_account.py2
-rw-r--r--addons/analytic/views/analytic_account_views.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/addons/analytic/i18n/analytic.pot b/addons/analytic/i18n/analytic.pot
index c8d88a41162..c12ce866ff3 100644
--- a/addons/analytic/i18n/analytic.pot
+++ b/addons/analytic/i18n/analytic.pot
@@ -514,13 +514,13 @@ msgstr ""
#: code:addons/analytic/models/analytic_account.py:0
#, python-format
msgid ""
-"The selected account belongs to another company that the one you're trying "
+"The selected account belongs to another company than the one you're trying "
"to create an analytic item for"
msgstr ""
#. module: analytic
#: model_terms:ir.actions.act_window,help:analytic.account_analytic_group_action
-msgid "This allows to classify your analytic accounts."
+msgid "This allows you to classify your analytic accounts."
msgstr ""
#. module: analytic
diff --git a/addons/analytic/models/analytic_account.py b/addons/analytic/models/analytic_account.py
index 9bbfe4a254c..c95ccd59994 100644
--- a/addons/analytic/models/analytic_account.py
+++ b/addons/analytic/models/analytic_account.py
@@ -196,4 +196,4 @@ class AccountAnalyticLine(models.Model):
def _check_company_id(self):
for line in self:
if line.account_id.company_id and line.company_id.id != line.account_id.company_id.id:
- raise ValidationError(_('The selected account belongs to another company that the one you\'re trying to create an analytic item for'))
+ raise ValidationError(_('The selected account belongs to another company than the one you\'re trying to create an analytic item for'))
diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml
index be659746adb..fdbff9526e8 100644
--- a/addons/analytic/views/analytic_account_views.xml
+++ b/addons/analytic/views/analytic_account_views.xml
@@ -99,7 +99,7 @@
Click to add a new analytic account group.
</p>
<p>
- This allows to classify your analytic accounts.
+ This allows you to classify your analytic accounts.
</p>
</field>
</record>