浏览代码

Add single_locale.js

JC Brand 12 年之前
父节点
当前提交
9501bad94c
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23 0
      locale/single_locale.js

+ 23 - 0
locale/single_locale.js

@@ -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);