浏览代码

lang function is now getLangStrings()

causefx 7 年之前
父节点
当前提交
2a3d37e02d
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      js/functions.js
  2. 1 1
      js/jquery-lang.js

+ 3 - 0
js/functions.js

@@ -18,6 +18,9 @@ $(document).ready(function () {
     launch();
     launch();
 });
 });
 /* NORMAL FUNCTIONS */
 /* NORMAL FUNCTIONS */
+function getLangStrings(){
+    console.log(JSON.stringify(window.langStrings))
+}
 function getHiddenProp(){
 function getHiddenProp(){
     var prefixes = ['webkit','moz','ms','o'];
     var prefixes = ['webkit','moz','ms','o'];
     // if 'hidden' is natively supported just return it
     // if 'hidden' is natively supported just return it

+ 1 - 1
js/jquery-lang.js

@@ -603,7 +603,7 @@
 
 
                 if (!translation) {
                 if (!translation) {
                     if (console && console.log) {
                     if (console && console.log) {
-                        console.log('Translation for "' + text + '" not found in language pack: ' + lang + ' Type or copy this string into this console to get a full strings missing output: console.log(JSON.stringify(langStrings))');
+                        console.log('Translation for "' + text + '" not found in language pack: ' + lang + ' Type or copy this string into this console to get a full strings missing output: getLangStrings()');
                         langStrings['token'][text] = text;
                         langStrings['token'][text] = text;
                     }
                     }
                 }
                 }