summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2021-04-28 11:46:52 +0000
committerXavier Morel <xmo@odoo.com>2021-04-29 05:46:03 +0000
commit251b77c959af37fa0da6739ea978ca4f198414cb (patch)
tree4fdd9c7fa37aac07dc01b99e715cb9ec8f627086 /addons/web
parentdeaa4d7dd2690ce389be6709e1b387ae990b514f (diff)
[FIX] *: bunch of mismarked translation specifiers
`_(xyz)` will wrap them in an underscore.js object, which when used in a string context will just return the string. So it's basically a no-op, but it certainly doesn't translate the terms. closes odoo/odoo#70000 Related: odoo/enterprise#18001 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/static/src/js/core/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/core/ajax.js b/addons/web/static/src/js/core/ajax.js
index a35c793e5c6..29321862d99 100644
--- a/addons/web/static/src/js/core/ajax.js
+++ b/addons/web/static/src/js/core/ajax.js
@@ -311,7 +311,7 @@ function get_file(options) {
xhr.onerror = function () {
if (options.error) {
options.error({
- message: _("Something happened while trying to contact the server, check that the server is online and that you still have a working network connection."),
+ message: _t("Something happened while trying to contact the server, check that the server is online and that you still have a working network connection."),
data: { title: _t("Could not connect to the server") }
});
}