summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-04-28 23:56:46 +0200
committerJo-Philipp Wich <jo@mein.io>2023-04-28 23:58:41 +0200
commit6fb185f956bdda0e6fa72b2beb77a9138279f9d0 (patch)
tree9c9548c0fdf7f502cd86cf5fd96fe21a9803e761 /modules/luci-base/htdocs/luci-static
parent58f7b27adf0087721dcb509f16745203513e15e8 (diff)
luci-base: ui.js: make upload cancellation message translatable
Resync base translation templates as well. Fixes: #6364 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 51b6c0902d..9ecadb0cf8 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -4203,7 +4203,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
'class': 'btn',
'click': function() {
UI.prototype.hideModal();
- rejectFn(new Error('Upload has been cancelled'));
+ rejectFn(new Error(_('Upload has been cancelled')));
}
}, [ _('Cancel') ]),
' ',