[FIX] web_gantt: translate "Gantt View" term

Closes #13328
This commit is contained in:
baimo 2016-08-30 16:34:54 +08:00 committed by Martin Trigaux
parent 82a07d1072
commit d16d1c6d9f
No known key found for this signature in database
GPG Key ID: 7B0E288E7C0F83A7
2 changed files with 10 additions and 3 deletions

View File

@ -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 ""

View File

@ -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"};
}