소스 검색

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