From fe0cbf897db3288bdbdfe3077f1200eae672c188 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 19 Sep 2016 16:14:31 +0200 Subject: [PATCH] [FIX] add missing tag and correct typo Thanks Transifex reporters --- addons/crm/i18n/crm.pot | 2 +- addons/crm/models/crm_stage.py | 2 +- addons/hr_expense/i18n/hr_expense.pot | 2 +- addons/hr_expense/static/src/js/tour.js | 2 +- openerp/addons/base/i18n/base.pot | 4 ++-- openerp/addons/base/ir/ir_ui_view.py | 2 +- openerp/addons/base/res/res_users.py | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/crm/i18n/crm.pot b/addons/crm/i18n/crm.pot index dfbb55375f3..3aac71487a1 100644 --- a/addons/crm/i18n/crm.pot +++ b/addons/crm/i18n/crm.pot @@ -3342,7 +3342,7 @@ msgstr "" #. module: crm #: model:ir.model.fields,help:crm.field_crm_stage_team_id -msgid "Specific team that uses this stage. Other teams will not ne able to see or use this stage." +msgid "Specific team that uses this stage. Other teams will not be able to see or use this stage." msgstr "" #. module: crm diff --git a/addons/crm/models/crm_stage.py b/addons/crm/models/crm_stage.py index 9b8769e9e08..e786df9c706 100644 --- a/addons/crm/models/crm_stage.py +++ b/addons/crm/models/crm_stage.py @@ -38,7 +38,7 @@ class Stage(models.Model): on_change = fields.Boolean('Change Probability Automatically', help="Setting this stage will change the probability automatically on the opportunity.") requirements = fields.Text('Requirements', help="Enter here the internal requirements for this stage (ex: Offer sent to customer). It will appear as a tooltip over the stage's name.") team_id = fields.Many2one('crm.team', string='Team', ondelete='set null', - help='Specific team that uses this stage. Other teams will not ne able to see or use this stage.') + help='Specific team that uses this stage. Other teams will not be able to see or use this stage.') legend_priority = fields.Text('Priority Management Explanation', translate=True, help='Explanation text to help users using the star and priority mechanism on stages or issues that are in this stage.') fold = fields.Boolean('Folded in Pipeline', diff --git a/addons/hr_expense/i18n/hr_expense.pot b/addons/hr_expense/i18n/hr_expense.pot index 59042fe750e..5c754fc8f18 100644 --- a/addons/hr_expense/i18n/hr_expense.pot +++ b/addons/hr_expense/i18n/hr_expense.pot @@ -38,7 +38,7 @@ msgstr "" #. openerp-web #: code:addons/hr_expense/static/src/js/tour.js:19 #, python-format -msgid "

Once completed, you can submit the expense for approval.

Tip: from the list view, select all expenses to submit them all at once, in a single report." +msgid "

Once completed, you can submit the expense for approval.

Tip: from the list view, select all expenses to submit them all at once, in a single report.

" msgstr "" #. module: hr_expense diff --git a/addons/hr_expense/static/src/js/tour.js b/addons/hr_expense/static/src/js/tour.js index 5e23c51d587..49cc0c27c26 100644 --- a/addons/hr_expense/static/src/js/tour.js +++ b/addons/hr_expense/static/src/js/tour.js @@ -16,7 +16,7 @@ tour.register('hr_expense_tour', [{ position: 'right', }, { trigger: '.o_expense_submit:visible', - content: _t("

Once completed, you can submit the expense for approval.

Tip: from the list view, select all expenses to submit them all at once, in a single report."), + content: _t("

Once completed, you can submit the expense for approval.

Tip: from the list view, select all expenses to submit them all at once, in a single report.

"), extra_trigger: '.o_form_readonly', position: 'bottom', }, { diff --git a/openerp/addons/base/i18n/base.pot b/openerp/addons/base/i18n/base.pot index 8583f2a8120..011dfed05b5 100644 --- a/openerp/addons/base/i18n/base.pot +++ b/openerp/addons/base/i18n/base.pot @@ -8851,7 +8851,7 @@ msgstr "" #. module: base #: code:addons/base/res/res_users.py:318 #, python-format -msgid "Invalid groupby" +msgid "Invalid 'group by' parameter" msgstr "" #. module: base @@ -11705,7 +11705,7 @@ msgstr "" #. module: base #: code:addons/base/ir/ir_ui_view.py:306 #, python-format -msgid "Qweb view cannot have 'Groups' define on the record. Use 'groups' atttributes inside the view definition" +msgid "Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition" msgstr "" #. module: base diff --git a/openerp/addons/base/ir/ir_ui_view.py b/openerp/addons/base/ir/ir_ui_view.py index 2422908a233..712861a9ee8 100644 --- a/openerp/addons/base/ir/ir_ui_view.py +++ b/openerp/addons/base/ir/ir_ui_view.py @@ -303,7 +303,7 @@ actual arch. def _check_groups(self): for view in self: if view.type == 'qweb' and view.groups_id: - raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' atttributes inside the view definition")) + raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition")) _sql_constraints = [ ('inheritance_mode', diff --git a/openerp/addons/base/res/res_users.py b/openerp/addons/base/res/res_users.py index 4a2f44034d4..0fe4689ac9e 100644 --- a/openerp/addons/base/res/res_users.py +++ b/openerp/addons/base/res/res_users.py @@ -315,7 +315,7 @@ class Users(models.Model): if self._uid != SUPERUSER_ID: groupby_fields = set([groupby] if isinstance(groupby, basestring) else groupby) if groupby_fields.intersection(USER_PRIVATE_FIELDS): - raise AccessError(_('Invalid groupby')) + raise AccessError(_("Invalid 'group by' parameter")) return super(Users, self).read_group(domain, fields, groupby, offset=offset, limit=limit, orderby=orderby, lazy=lazy) @api.model