[FIX] *: typos, wording
Courtesy of translators closes odoo/odoo#36984 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -1643,13 +1643,13 @@ msgstr ""
|
||||
#. module: hr_expense
|
||||
#: code:addons/hr_expense/models/hr_expense.py:0
|
||||
#, python-format
|
||||
msgid "You are not autorized to edit the reference of this expense report."
|
||||
msgid "You are not authorized to edit the reference of this expense report."
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_expense
|
||||
#: code:addons/hr_expense/models/hr_expense.py:0
|
||||
#, python-format
|
||||
msgid "You are not autorized to edit this expense report."
|
||||
msgid "You are not authorized to edit this expense report."
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_expense
|
||||
|
||||
@@ -215,10 +215,10 @@ class HrExpense(models.Model):
|
||||
def write(self, vals):
|
||||
if 'tax_ids' in vals or 'analytic_account_id' in vals or 'account_id' in vals:
|
||||
if any(not expense.is_editable for expense in self):
|
||||
raise UserError(_('You are not autorized to edit this expense report.'))
|
||||
raise UserError(_('You are not authorized to edit this expense report.'))
|
||||
if 'reference' in vals:
|
||||
if any(not expense.is_ref_editable for expense in self):
|
||||
raise UserError(_('You are not autorized to edit the reference of this expense report.'))
|
||||
raise UserError(_('You are not authorized to edit the reference of this expense report.'))
|
||||
return super(HrExpense, self).write(vals)
|
||||
|
||||
@api.model
|
||||
|
||||
@@ -1969,7 +1969,7 @@ msgstr ""
|
||||
#: code:addons/hr_holidays/models/hr_leave_allocation.py:0
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Only an time off Manager can apply the second approval on allocation "
|
||||
"Only a Time off Manager can apply the second approval on allocation "
|
||||
"requests."
|
||||
msgstr ""
|
||||
|
||||
@@ -2350,14 +2350,14 @@ msgstr ""
|
||||
#. module: hr_holidays
|
||||
#: model:ir.model.fields,help:hr_holidays.field_hr_leave_allocation__second_approver_id
|
||||
msgid ""
|
||||
"This area is automaticly filled by the user who validate the allocation with"
|
||||
"This area is automatically filled by the user who validate the allocation with"
|
||||
" second level (If allocation type need second validation)"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_holidays
|
||||
#: model:ir.model.fields,help:hr_holidays.field_hr_leave__second_approver_id
|
||||
msgid ""
|
||||
"This area is automaticly filled by the user who validate the time off with "
|
||||
"This area is automatically filled by the user who validate the time off with "
|
||||
"second level (If time off type need second validation)"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ class HolidaysRequest(models.Model):
|
||||
help='This area is automatically filled by the user who validate the time off')
|
||||
second_approver_id = fields.Many2one(
|
||||
'hr.employee', string='Second Approval', readonly=True, copy=False,
|
||||
help='This area is automaticly filled by the user who validate the time off with second level (If time off type need second validation)')
|
||||
help='This area is automatically filled by the user who validate the time off with second level (If time off type need second validation)')
|
||||
can_reset = fields.Boolean('Can reset', compute='_compute_can_reset')
|
||||
can_approve = fields.Boolean('Can Approve', compute='_compute_can_approve')
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ class HolidaysAllocation(models.Model):
|
||||
help='This area is automatically filled by the user who validate the allocation')
|
||||
second_approver_id = fields.Many2one(
|
||||
'hr.employee', string='Second Approval', readonly=True, copy=False,
|
||||
help='This area is automaticly filled by the user who validate the allocation with second level (If allocation type need second validation)')
|
||||
help='This area is automatically filled by the user who validate the allocation with second level (If allocation type need second validation)')
|
||||
validation_type = fields.Selection('Validation Type', related='holiday_status_id.validation_type', readonly=True)
|
||||
can_reset = fields.Boolean('Can reset', compute='_compute_can_reset')
|
||||
can_approve = fields.Boolean('Can Approve', compute='_compute_can_approve')
|
||||
@@ -550,7 +550,7 @@ class HolidaysAllocation(models.Model):
|
||||
|
||||
if state == 'validate' and val_type == 'both':
|
||||
if not self.env.user.has_group('hr_holidays.group_hr_holidays_manager'):
|
||||
raise UserError(_('Only an time off Manager can apply the second approval on allocation requests.'))
|
||||
raise UserError(_('Only a Time off Manager can apply the second approval on allocation requests.'))
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Activity methods
|
||||
|
||||
@@ -634,6 +634,11 @@ msgstr ""
|
||||
msgid "Generate Coupons"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_coupon
|
||||
#: model:ir.model,name:sale_coupon.model_sale_coupon_generate
|
||||
msgid "Generate Sales Coupon"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_coupon
|
||||
#: model_terms:ir.actions.act_window,help:sale_coupon.sale_coupon_program_action_coupon_program
|
||||
msgid ""
|
||||
@@ -1069,11 +1074,6 @@ msgstr ""
|
||||
msgid "Sales Coupon Apply Code"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_coupon
|
||||
#: model:ir.model,name:sale_coupon.model_sale_coupon_generate
|
||||
msgid "Sales Coupon Generate"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_coupon
|
||||
#: model:ir.model,name:sale_coupon.model_sale_coupon_program
|
||||
msgid "Sales Coupon Program"
|
||||
|
||||
@@ -6,7 +6,7 @@ from odoo.tools.safe_eval import safe_eval
|
||||
|
||||
class SaleCouponGenerate(models.TransientModel):
|
||||
_name = 'sale.coupon.generate'
|
||||
_description = 'Sales Coupon Generate'
|
||||
_description = 'Generate Sales Coupon'
|
||||
|
||||
nbr_coupons = fields.Integer(string="Number of Coupons", help="Number of coupons", default=1)
|
||||
generation_type = fields.Selection([
|
||||
|
||||
@@ -896,7 +896,7 @@ msgstr ""
|
||||
|
||||
#. module: survey
|
||||
#: model:ir.actions.act_window,name:survey.action_survey_user_input_line
|
||||
msgid "Detailled Answers"
|
||||
msgid "Detailed Answers"
|
||||
msgstr ""
|
||||
|
||||
#. module: survey
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_survey_user_input_line">
|
||||
<field name="name">Detailled Answers</field>
|
||||
<field name="name">Detailed Answers</field>
|
||||
<field name="res_model">survey.user_input_line</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="survey_response_line_search"/>
|
||||
|
||||
@@ -211,7 +211,7 @@ msgid ""
|
||||
"\n"
|
||||
"\n"
|
||||
"This module allows you to define a loyalty program in\n"
|
||||
"the point of sale, where the customers earn loyalty points\n"
|
||||
"the point of sale, where customers earn loyalty points\n"
|
||||
"and get rewards.\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
@@ -566,7 +566,7 @@ msgstr ""
|
||||
#: model:ir.module.module,description:base.module_helpdesk_sale
|
||||
msgid ""
|
||||
"\n"
|
||||
" Manage the after sale of the products from Helpdesk's tickets.\n"
|
||||
"Manage the after sale of the products from helpdesk tickets.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user