浏览代码

Added more locales

Toby Chui 2 年之前
父节点
当前提交
205697d1a3

+ 1 - 1
web/SystemAO/boot/bootflags.html

@@ -96,7 +96,7 @@
         <script>
 
             var runtimeLocale = NewAppLocale();
-            runtimeLocale.init("../locale/system_info_runtime.json", function(){
+            runtimeLocale.init("../locale/system_settings/runtime.json", function(){
                 runtimeLocale.translate();
                 initCurrentSettingList();
             });

+ 1 - 1
web/SystemAO/boot/poweroff.html

@@ -57,7 +57,7 @@
             $("#lastupdateTime").text(ao_module_utils.timeConverter(Date.now()/1000));
 
             var powerLocale = NewAppLocale();
-            powerLocale.init("../locale/system_info_power.json", function(){
+            powerLocale.init("../locale/system_settings/power.json", function(){
                 powerLocale.translate();
                 handleConnectionStateCheck();
             });

+ 1 - 1
web/SystemAO/info/audio.html

@@ -63,7 +63,7 @@
     <script>
         
         var audioTestLocale = NewAppLocale();
-        audioTestLocale.init("../locale/system_info_audio.json", function(){
+        audioTestLocale.init("../locale/system_settings/audio.json", function(){
             audioTestLocale.translate();
         });
 

+ 1 - 1
web/SystemAO/info/clientInfo.html

@@ -67,7 +67,7 @@
     </div>
     <script>
         var infoLocale = NewAppLocale();
-        infoLocale.init("../locale/system_info_clientinfo.json", function(){
+        infoLocale.init("../locale/system_settings/clientinfo.json", function(){
             infoLocale.translate();
         });
 

+ 1 - 1
web/SystemAO/info/display.html

@@ -39,7 +39,7 @@
     <script>
 
         var displayTestLocale = NewAppLocale();
-        displayTestLocale.init("../locale/system_info_display.json", function(){
+        displayTestLocale.init("../locale/system_settings/display.json", function(){
             displayTestLocale.translate();
         });
 

+ 1 - 1
web/SystemAO/info/index.html

@@ -62,7 +62,7 @@
 <script>
     var specLocale = NewAppLocale();
     $(document).ready(function() {
-        specLocale.init("../locale/system_info_spec.json", function(){
+        specLocale.init("../locale/system_settings/spec.json", function(){
             specLocale.translate();
             initSystemInfo();
         });

+ 1 - 1
web/SystemAO/info/locale.html

@@ -50,7 +50,7 @@
     </div>
     <script>
         var languageLocale = NewAppLocale();
-        languageLocale.init("../locale/system_info_locale.json", function(){
+        languageLocale.init("../locale/system_settings/locale.json", function(){
             languageLocale.translate();
         });
 

+ 1 - 1
web/SystemAO/info/overview.html

@@ -99,7 +99,7 @@
     var overviewLocale = NewAppLocale();
     
     $(document).ready(function() {
-        overviewLocale.init("../locale/system_info_overview.json", function(){
+        overviewLocale.init("../locale/system_settings/overview.json", function(){
             overviewLocale.translate();
             $.getJSON("../../system/info/getRuntimeInfo", function(data){
                 $("#startup").text(ao_module_utils.timeConverter(data.StartupTime));

+ 1 - 1
web/SystemAO/info/taskManager.html

@@ -100,7 +100,7 @@
         var previousNetData = [0, 0];
 
         var performanceLocale = NewAppLocale();
-        performanceLocale.init("../locale/system_info_spec.json", function(){
+        performanceLocale.init("../locale/system_settings/spec.json", function(){
             performanceLocale.translate();
         });
 

+ 1 - 1
web/SystemAO/iot/info.html

@@ -44,7 +44,7 @@
     </div>
     <script>
         var iotLocale = NewAppLocale();
-        iotLocale.init("../locale/system_info_iot.json", function(){
+        iotLocale.init("../locale/system_settings/iot.json", function(){
             iotLocale.translate();
         });
 

+ 0 - 0
web/SystemAO/locale/system_info_audio.json → web/SystemAO/locale/system_settings/audio.json


+ 0 - 0
web/SystemAO/locale/system_info_clientinfo.json → web/SystemAO/locale/system_settings/clientinfo.json


+ 0 - 0
web/SystemAO/locale/system_info_display.json → web/SystemAO/locale/system_settings/display.json


+ 0 - 0
web/SystemAO/locale/system_info_iot.json → web/SystemAO/locale/system_settings/iot.json


+ 0 - 0
web/SystemAO/locale/system_info_locale.json → web/SystemAO/locale/system_settings/locale.json


+ 0 - 0
web/SystemAO/locale/system_info_overview.json → web/SystemAO/locale/system_settings/overview.json


+ 0 - 0
web/SystemAO/locale/system_info_power.json → web/SystemAO/locale/system_settings/power.json


+ 0 - 0
web/SystemAO/locale/system_info_runtime.json → web/SystemAO/locale/system_settings/runtime.json


+ 0 - 0
web/SystemAO/locale/system_info_spec.json → web/SystemAO/locale/system_settings/spec.json