summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/scripts/config.js')
-rw-r--r--pyload/web/app/scripts/config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyload/web/app/scripts/config.js b/pyload/web/app/scripts/config.js
index f2af39c56..9d1d027d9 100644
--- a/pyload/web/app/scripts/config.js
+++ b/pyload/web/app/scripts/config.js
@@ -36,6 +36,9 @@ require.config({
disableI18n: true,
helperPathCallback: // Callback to determine the path to look for helpers
function(name) {
+ if (name === '_' || name === 'ngettext')
+ name = 'gettext';
+
// Some helpers are accumulated into one file
if (name.indexOf('file') === 0)
name = 'fileHelper';