mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
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:
@@ -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!)
|
||||
|
||||
|
||||
@@ -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" = "基于进程";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user