summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/tools
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-08-31 11:10:23 +0200
committerAlexandre Kühn <aku@odoo.com>2018-08-31 12:21:51 +0200
commitf7fbe8adffb1ee585c8171f6c86d38145c11848d (patch)
tree54320058f6b83f859c45d8cb53876e30875f146d /addons/web/static/tests/tools
parentcb91165b9f6ad6dc70233deafaaf9ffd1c39752d (diff)
[FIX] web: make 'Edit View: X' translatable
Revision on https://github.com/odoo/odoo/commit/4f6f562c973ce2efd5631ea0e249e75d94cac104 Contrary to what the commit above said, the string was not translatable. This commit fixes the issue by using the property `display_name`, which is the translatable equivalent string of `_.str.capitalize(type)`.
Diffstat (limited to 'addons/web/static/tests/tools')
-rw-r--r--addons/web/static/tests/tools/debug_manager_tests.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/tests/tools/debug_manager_tests.js b/addons/web/static/tests/tools/debug_manager_tests.js
index c63fd02e48d..27498400b2a 100644
--- a/addons/web/static/tests/tools/debug_manager_tests.js
+++ b/addons/web/static/tests/tools/debug_manager_tests.js
@@ -52,6 +52,7 @@ QUnit.module('DebugManager', {}, function () {
view_id: 1,
},
type: "list",
+ display_name: "List",
}],
};
var view = {