8478b432c3
Also, moved locales.js to ./src folder. Add it as dependency to utils.js and remove it from the deps scripts
47 lines
1.3 KiB
JavaScript
47 lines
1.3 KiB
JavaScript
/*
|
|
* This file specifies the language dependencies.
|
|
*
|
|
* Translations take up a lot of space and you are therefore advised to remove
|
|
* from here any languages that you don't need.
|
|
*/
|
|
(function (root, factory) {
|
|
define("locales", ['jquery', 'jed',
|
|
'text!af',
|
|
'text!de',
|
|
'text!en',
|
|
'text!es',
|
|
'text!fr',
|
|
'text!he',
|
|
'text!hu',
|
|
'text!id',
|
|
'text!it',
|
|
'text!ja',
|
|
'text!nb',
|
|
'text!nl',
|
|
'text!pl',
|
|
'text!pt_BR',
|
|
'text!ru',
|
|
'text!zh'
|
|
], function ($, Jed) {
|
|
root.locales = {
|
|
'af': arguments[2],
|
|
'de': arguments[3],
|
|
'en': arguments[4],
|
|
'es': arguments[5],
|
|
'fr': arguments[6],
|
|
'he': arguments[7],
|
|
'hu': arguments[8],
|
|
'id': arguments[9],
|
|
'it': arguments[10],
|
|
'ja': arguments[11],
|
|
'nb': arguments[12],
|
|
'nl': arguments[13],
|
|
'pl': arguments[14],
|
|
'pt-br': arguments[15],
|
|
'ru': arguments[16],
|
|
'zh': arguments[17]
|
|
};
|
|
return root.locales;
|
|
});
|
|
})(this);
|