Browse Source

Add locales.js

It will pull in all languages and put them in the locales root object, from
which the specific language translations can be chosen during runtime.
JC Brand 12 years ago
parent
commit
62e701f3fb
1 changed files with 11 additions and 0 deletions
  1. 11 0
      Libraries/locales.js

+ 11 - 0
Libraries/locales.js

@@ -0,0 +1,11 @@
+(function (root, factory) {
+    define("locales", [
+        'jed',
+        'af',
+        'en'
+        ], function (jed, af, en) {
+            root.locales = {};
+            root.locales.af = af;
+            root.locales.en = en;
+        });
+})(this);