summaryrefslogtreecommitdiff
path: root/addons/maintenance
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-02-01 18:20:28 +0100
committerChristophe Simonis <chs@odoo.com>2018-02-01 18:20:28 +0100
commite00a447e2ca277697bd3e3cae5196e8177d3e867 (patch)
treec8580e47f101f75ceccd6ba19f9649b575f99177 /addons/maintenance
parentcde120058aa4edd259b7d7e1624465af313710fe (diff)
parent7e469eb77aae1f7e05a3ce0f6575b5149fed3ca1 (diff)
[MERGE] forward port branch saas-11.1 up to 7e469eb77aa
Diffstat (limited to 'addons/maintenance')
-rw-r--r--addons/maintenance/i18n/zh_CN.po10
-rw-r--r--addons/maintenance/models/maintenance.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/addons/maintenance/i18n/zh_CN.po b/addons/maintenance/i18n/zh_CN.po
index 3831fdaf496..42941d300a1 100644
--- a/addons/maintenance/i18n/zh_CN.po
+++ b/addons/maintenance/i18n/zh_CN.po
@@ -3,20 +3,20 @@
# * maintenance
#
# Translators:
-# Jeffery CHEN <jeffery9@gmail.com>, 2016
+# Jeffery CHEN Fan <jeffery9@gmail.com>, 2016
# 卓忆科技 <zhanghao@jointd.com>, 2016
# Eddie Lim <bhweelim@yahoo.com>, 2017
# liulixia <liu.lixia@elico-corp.com>, 2017
# Gary Wei <Gary.wei@elico-corp.com>, 2017
# 老窦 北京 <2662059195@qq.com>, 2017
-# Martin Trigaux <mat@odoo.com>, 2017
+# Martin Trigaux, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 13:12+0000\n"
"PO-Revision-Date: 2017-11-30 13:12+0000\n"
-"Last-Translator: Martin Trigaux <mat@odoo.com>, 2017\n"
+"Last-Translator: Martin Trigaux, 2017\n"
"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -62,12 +62,12 @@ msgstr "<span>视图</span>"
#. module: maintenance
#: model:ir.ui.view,arch_db:maintenance.view_maintenance_equipment_category_kanban
msgid "<strong>Equipments:</strong>"
-msgstr ""
+msgstr "<strong>设备:</strong>"
#. module: maintenance
#: model:ir.ui.view,arch_db:maintenance.view_maintenance_equipment_category_kanban
msgid "<strong>Maintenance:</strong>"
-msgstr ""
+msgstr "<strong>维保:"
#. module: maintenance
#: model:ir.model.fields,help:maintenance.field_maintenance_equipment_category_alias_defaults
diff --git a/addons/maintenance/models/maintenance.py b/addons/maintenance/models/maintenance.py
index 689db6b2bfb..ca99ebb28b5 100644
--- a/addons/maintenance/models/maintenance.py
+++ b/addons/maintenance/models/maintenance.py
@@ -374,7 +374,7 @@ class MaintenanceTeam(models.Model):
_name = 'maintenance.team'
_description = 'Maintenance Teams'
- name = fields.Char(required=True)
+ name = fields.Char(required=True, translate=True)
active = fields.Boolean(default=True)
company_id = fields.Many2one('res.company', string='Company', required=True,
default=lambda self: self.env.user.company_id)