Update zh-Hans Translation and Fix selectedInterface (#259)

* Add Localization to MenuItem and Fan.

* Add spaces back.

* Revert changes of L10n update-interval and color.

* Fix storage of "Disabled".

* Update the way to L10n of "Autodetection"

* Revert Changes
This commit is contained in:
Tai Zhou
2021-01-10 18:49:23 +08:00
committed by GitHub
parent ac838562c6
commit 44adf3acc3
2 changed files with 6 additions and 4 deletions

View File

@@ -108,12 +108,12 @@ internal class Settings: NSView, Settings_v {
}
}
self.button?.menu = menu
if selectedInterface == "" {
self.button?.selectItem(withTitle: "Autodetection")
}
self.button?.menu = menu
view.addSubview(rowTitle)
view.addSubview(self.button!)

View File

@@ -52,6 +52,10 @@
"Show icon in dock" = "在dock显示图标";
"Start at login" = "登录时打开";
// Dashboard
"Serial number" = "序列号";
"Uptime" = "启动时间";
// Update
"The latest version of Stats installed" = "已安装最新版Stats";
"Downloading..." = "下载中...";
@@ -142,8 +146,6 @@
"Total download" = "总下载";
"Total upload" = "总上传";
"Reader type" = "读取器类型";
"Interface" = "接口";
"Process" = "进程";
"Interface based" = "基于接口";
"Processes based" = "基于进程";