Browse Source

修正部分翻译,

felix 2 years ago
parent
commit
23029ffc17

+ 0 - 1
Vinno.FIS.Sonopost/App.xaml.cs

@@ -168,7 +168,6 @@ namespace Vinno.FIS.Sonopost
 
         private void AutoLogin()
         {
-            var configManager = AppManager.Instance.GetManager<IConfigManager>();
             var isAutoLogin = SonopostUserDefinedSettings.Instance.ServerSetting.IsAutoLogin;
             Logger.WriteLineInfo($"Auto Login:{isAutoLogin}");
             if (isAutoLogin)

+ 2 - 1
Vinno.FIS.Sonopost/Assets/wwwroot/lang/en-us.json

@@ -26,7 +26,7 @@
   "PageTitle4SystemVersion": "Version",
   "PageTitle4RainbowImage": "Rainbow Image Detect",
   "PageTitle4VCloudLogin": "VCloud Login",
-  "PageDesc4ServerLogin": "You need to input the account number and password of the ultrasonic box to successfully log into the landing cloud service. After the QR code appears in the ultrasonic box, indicating that the cloud service has been logged in successfully",
+  "PageDesc4ServerLogin": "You need to select the vCloud server of the sonopost box to successfully log in the cloud service. After the QR code appears in the ultrasonic box, indicating that the cloud service has been logged in successfully",
   "PageDesc4ServerRegister": "You need to create a new account for the box when the first time to install it",
   "PageDesc4ServerNetCheck": "When the ultrasonic magic box fails to log in due to various reasons, the network detection and troubleshooting can be carried out",
   "PageDesc4LiveSono": "Enable the live broadcast of the ultrasonic machine, select the appropriate resolution and save it, then you can watch the real-time live broadcast of the ultrasonic machine",
@@ -173,6 +173,7 @@
   "EnableDualNetwork": "Enable Dual Network",
   "IsOutSideNetwork": "Designated as public network",
   "SetOutSideNetworkError": "Only one network card can be set as a public network",
+  "SetOutSideNetworkError2": "Please select one network",
   "NoEnoughNetworkError": "At least two network cards are required to set up",
   "RestartEffect": "Save Success, system rebooting...",
   "Test": "Test",

+ 2 - 1
Vinno.FIS.Sonopost/Assets/wwwroot/lang/zh-cn.json

@@ -26,7 +26,7 @@
   "PageTitle4SystemVersion": "版本信息查看",
   "PageTitle4RainbowImage": "彩虹图监测设置",
   "PageTitle4VCloudLogin": "云服务登录设置",
-  "PageDesc4ServerLogin": "需要输入超声魔盒的账号和密码方可成功登录云服务,二维码出现后,意味着超声魔盒成功登录至云服务",
+  "PageDesc4ServerLogin": "请选择云服务器方可成功登录云服务,二维码出现后,意味着超声魔盒成功登录至云服务",
   "PageDesc4ServerRegister": "初次安装魔盒,需要为该魔盒创建新账号",
   "PageDesc4ServerNetCheck": "超声魔盒因各种原因登录失败时,可进行网络检测排查原因",
   "PageDesc4LiveSono": "启用超声机直播,选择合适的分辨率并保存,可观看该超声机实时直播画面",
@@ -173,6 +173,7 @@
   "EnableDualNetwork": "启用内外网分配",
   "IsOutSideNetwork": "指定为外网",
   "SetOutSideNetworkError": "只能有一个网卡设置为外网",
+  "SetOutSideNetworkError2": "请选择一个网卡",
   "NoEnoughNetworkError": "至少需要两个网卡才能设置",
   "RestartEffect": "保存成功,重启中...",
   "Test": "测试",

+ 4 - 1
Vinno.FIS.Sonopost/Assets/wwwroot/pages/network/advance.html

@@ -38,12 +38,15 @@
                     layer.msg.error($t("NoEnoughNetworkError"));
                     return;
                 }
-
                 var networks = settingForms.filter((x) => x.checked());
                 if (networks.length > 1) {
                     layer.msg.error($t("SetOutSideNetworkError"));
                     return;
                 }
+                if (networks.length == 0) {
+                    layer.msg.error($t("SetOutSideNetworkError2"));
+                    return;
+                }
                 let item = settingForms
                     .map((x) => x.val())
                     .find((x) => x.IsOutSideNetwork === true);