浏览代码

Add hu.js

JC Brand 12 年之前
父节点
当前提交
51d44f9634
共有 2 个文件被更改,包括 20 次插入3 次删除
  1. 14 0
      locale/hu/LC_MESSAGES/hu.js
  2. 6 3
      locale/locales.js

+ 14 - 0
locale/hu/LC_MESSAGES/hu.js

@@ -0,0 +1,14 @@
+(function (root, factory) {
+    define("hu", ['jed'], function () {
+        var hu = new Jed({
+            "domain": "converse",
+            "locale_data": {
+                // Paste the data from hu/LC_MESSAGES/converse.json here (but
+                // remove the outermost curly brackets).
+            }
+        });
+        return factory(hu);
+    });
+}(this, function (hu) { 
+    return hu; 
+}));

+ 6 - 3
locale/locales.js

@@ -4,7 +4,8 @@
             "jed": "Libraries/jed",
             "af": "locale/af/LC_MESSAGES/af",
             "en": "locale/en/LC_MESSAGES/en",
-            "de": "locale/de/LC_MESSAGES/de"
+            "de": "locale/de/LC_MESSAGES/de",
+            "hu": "locale/hu/LC_MESSAGES/hu"
         }
     });
 
@@ -12,11 +13,13 @@
         'jed',
         'af',
         'en',
-        'de'
-        ], function (jed, af, en, de) {
+        'de',
+        'hu'
+        ], function (jed, af, en, de, hu) {
             root.locales = {};
             root.locales.af = af;
             root.locales.en = en;
             root.locales.de = de;
+            root.locales.hu = hu;
         });
 })(this);