Add single_locale.js
This commit is contained in:
parent
7cbeff0d01
commit
9501bad94c
23
locale/single_locale.js
Normal file
23
locale/single_locale.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* This file specifies a single language dependency (for English).
|
||||
*
|
||||
* 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) {
|
||||
require.config({
|
||||
paths: {
|
||||
"jed": "Libraries/jed",
|
||||
"en": "locale/en/LC_MESSAGES/en"
|
||||
}
|
||||
});
|
||||
|
||||
define("locales", [
|
||||
'jed',
|
||||
'en'
|
||||
], function (jed, en) {
|
||||
root.locales = {};
|
||||
root.locales.en = en;
|
||||
});
|
||||
})(this);
|
Loading…
Reference in New Issue
Block a user