diff options
| author | baimo <1966758748@qq.com> | 2016-08-30 16:34:54 +0800 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-12-08 10:43:28 +0100 |
| commit | d16d1c6d9f5c22bfaafbde0cd41d42258ab16c2f (patch) | |
| tree | ea1929926a133dc429fe91ecfb5170a67f3bbc16 /addons | |
| parent | 82a07d10724d262096a61a1a3318069d17e86115 (diff) | |
[FIX] web_gantt: translate "Gantt View" term
Closes #13328
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web_gantt/i18n/web_gantt.pot | 11 | ||||
| -rw-r--r-- | addons/web_gantt/static/src/js/gantt.js | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/addons/web_gantt/i18n/web_gantt.pot b/addons/web_gantt/i18n/web_gantt.pot index cc10b527b64..a349108e1b3 100644 --- a/addons/web_gantt/i18n/web_gantt.pot +++ b/addons/web_gantt/i18n/web_gantt.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-21 14:08+0000\n" -"PO-Revision-Date: 2015-01-21 14:08+0000\n" +"POT-Creation-Date: 2016-12-08 09:42+0000\n" +"PO-Revision-Date: 2016-12-08 09:42+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -29,3 +29,10 @@ msgstr "" msgid "Gantt" msgstr "" +#. module: web_gantt +#. openerp-web +#: code:addons/web_gantt/static/src/js/gantt.js:87 +#, python-format +msgid "Gantt View" +msgstr "" + diff --git a/addons/web_gantt/static/src/js/gantt.js b/addons/web_gantt/static/src/js/gantt.js index b3be3389786..aaeec136d63 100644 --- a/addons/web_gantt/static/src/js/gantt.js +++ b/addons/web_gantt/static/src/js/gantt.js @@ -84,7 +84,7 @@ instance.web_gantt.GanttView = instance.web.View.extend({ if (group_bys.length == 0) { group_bys = ["_pseudo_group_by"]; _.each(tasks, function(el) { - el._pseudo_group_by = "Gantt View"; + el._pseudo_group_by = _t("Gantt View"); }); this.fields._pseudo_group_by = {type: "string"}; } |
