Add single_locale.js

This commit is contained in:
JC Brand 2013-07-27 01:21:08 +02:00
parent 7cbeff0d01
commit 9501bad94c

23
locale/single_locale.js Normal file
View 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);