[FIX] web_gantt: translate "Gantt View" term

Closes #13328
This commit is contained in:
baimo
2016-12-08 10:43:28 +01:00
committed by Martin Trigaux
parent 82a07d1072
commit d16d1c6d9f
2 changed files with 10 additions and 3 deletions
+9 -2
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 ""
+1 -1
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"};
}