diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-11 19:34:31 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-11 19:34:31 +0200 |
commit | 1291f49781fbb0dd3090c9f1ea6737bf334a515d (patch) | |
tree | ac92774e2a00872f37adc9903f29a5a69ac11e22 /pyload/web/app/scripts/config.js | |
parent | fixed settings (diff) | |
download | pyload-1291f49781fbb0dd3090c9f1ea6737bf334a515d.tar.xz |
use gettext/jed for webui translations
Diffstat (limited to 'pyload/web/app/scripts/config.js')
-rw-r--r-- | pyload/web/app/scripts/config.js | 3 |
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'; |