mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
Add translation support for Chinese (Simplified) (#78)
* Add support for Chinese (Simplified) * Update README for zh_Hans * append translation for zh_Hans Co-authored-by: Serhiy Mytrovtsiy <mitrovtsiy@ukr.net>
This commit is contained in:
@@ -37,6 +37,7 @@ Stats is an application that allows you to monitor your macOS system.
|
||||
- Polski
|
||||
- Український
|
||||
- Русский
|
||||
- 中文(简体)
|
||||
- Türkçe
|
||||
|
||||
You can help by adding a new language.
|
||||
|
||||
@@ -444,6 +444,7 @@
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
2658929724FC0F3B00FB3B6A /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
|
||||
97B5592A24FD84E000D3C4FF /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||
9A0C82D124460DFF00FAE3D4 /* updater.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = updater.swift; sourceTree = "<group>"; };
|
||||
9A0C82D324460E4400FAE3D4 /* launchAtLogin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = launchAtLogin.swift; sourceTree = "<group>"; };
|
||||
@@ -1275,6 +1276,7 @@
|
||||
pl,
|
||||
uk,
|
||||
ru,
|
||||
"zh-Hans",
|
||||
tr,
|
||||
);
|
||||
mainGroup = 9A1410EC229E721100D29793;
|
||||
@@ -1655,6 +1657,7 @@
|
||||
9AAAE83524F953FC00CD92D7 /* pl */,
|
||||
9AAAE83624FAA4B700CD92D7 /* uk */,
|
||||
9A520DF624FBF01F00133EC6 /* ru */,
|
||||
2658929724FC0F3B00FB3B6A /* zh-Hans */,
|
||||
97B5592A24FD84E000D3C4FF /* tr */,
|
||||
);
|
||||
name = Localizable.strings;
|
||||
|
||||
135
Stats/Supporting Files/zh-Hans.lproj/Localizable.strings
Normal file
135
Stats/Supporting Files/zh-Hans.lproj/Localizable.strings
Normal file
@@ -0,0 +1,135 @@
|
||||
//
|
||||
// Localizable.strings
|
||||
// Stats
|
||||
//
|
||||
// Created by Serhiy Mytrovtsiy on 27/08/2020.
|
||||
// Using Swift 5.0.
|
||||
// Running on macOS 10.15.
|
||||
//
|
||||
// Copyright © 2020 Serhiy Mytrovtsiy. All rights reserved.
|
||||
//
|
||||
|
||||
// Words
|
||||
"Unknown" = "未知";
|
||||
"Version" = "版本";
|
||||
"Processor" = "处理器";
|
||||
"Memory" = "内存";
|
||||
"Graphics" = "图形";
|
||||
"Disk" = "磁盘";
|
||||
"Close" = "关闭";
|
||||
"Download" = "下载";
|
||||
"Install" = "安装";
|
||||
"Cancel" = "取消";
|
||||
"Unavailable" = "不可用";
|
||||
"Yes" = "是";
|
||||
"No" = "否";
|
||||
|
||||
// Alerts
|
||||
"New version available" = "新版本可用";
|
||||
"Click to install the new version of Stats" = "点击安装Stats的新版本";
|
||||
"Successfully updated" = "更新成功";
|
||||
"Stats was updated to v" = "Stats已更新到v%0";
|
||||
|
||||
// Settings
|
||||
"Open Activity Monitor" = "打开活动监视器";
|
||||
"Report a bug" = "报告bug";
|
||||
"Close application" = "关闭应用";
|
||||
"Open application settings" = "打开应用设置";
|
||||
"Open moduleName settings" = "打开 %0 设置";
|
||||
|
||||
// Application settings
|
||||
"Update application" = "更新应用";
|
||||
"Check for updates" = "检查更新";
|
||||
"Show icon in dock" = "在dock显示图标";
|
||||
"Start at login" = "登录时打开";
|
||||
|
||||
// Update
|
||||
"The latest version of Stats installed" = "已安装最新版Stats";
|
||||
"Downloading..." = "下载中...";
|
||||
"Current version: " = "当前版本: ";
|
||||
"Latest version: " = "最新版本: ";
|
||||
|
||||
// Widgets
|
||||
"Color" = "Color";
|
||||
"Label" = "Label";
|
||||
"Box" = "Box";
|
||||
"Frame" = "Frame";
|
||||
"Value" = "Value";
|
||||
"Colorize" = "Colorize";
|
||||
"Colorize value" = "Colorize value";
|
||||
"Additional information" = "Additional information";
|
||||
"Reverse values order" = "Reverse values order";
|
||||
|
||||
// Module Kit
|
||||
"Open module settings" = "Open module settings";
|
||||
"Select widget" = "Select %0 widget";
|
||||
"Update interval" = "Update interval";
|
||||
"Usage history" = "Usage history";
|
||||
"Details" = "Details";
|
||||
"Top processes" = "Top processes";
|
||||
"Pictogram" = "Pictogram";
|
||||
|
||||
// CPU
|
||||
"CPU usage" = "CPU占用";
|
||||
"CPU temperature" = "CPU温度";
|
||||
"System" = "System";
|
||||
"User" = "User";
|
||||
"Idle" = "Idle";
|
||||
"Show usage per core" = "Show usage per core";
|
||||
"Show hyper-threading cores" = "Show hyper-threading cores";
|
||||
|
||||
// GPU
|
||||
"GPU to show" = "显示的GPU";
|
||||
"GPU temperature" = "GPU温度";
|
||||
"GPU utilization" = "GPU利用率";
|
||||
|
||||
// Memory
|
||||
"Memory usage" = "Memory占用";
|
||||
"Memory pressure" = "Memory压力";
|
||||
"Total" = "共计";
|
||||
"Used" = "已用";
|
||||
"App" = "App";
|
||||
"Wired" = "Wired";
|
||||
"Compressed" = "已压缩";
|
||||
"Free" = "可用";
|
||||
|
||||
// Disk
|
||||
"Show removable disks" = "显示可移动磁盘";
|
||||
"Used disk memory" = "Used %0 from %1";
|
||||
"Disk to show" = "显示的磁盘";
|
||||
|
||||
// Network
|
||||
"Uploading" = "上传";
|
||||
"Downloading" = "下载";
|
||||
"Public IP" = "公网IP";
|
||||
"Local IP" = "本地IP";
|
||||
"Interface" = "Interface";
|
||||
"Network" = "网络";
|
||||
"Physical address" = "物理地址";
|
||||
"Click to copy public IP address" = "点击拷贝公网IP";
|
||||
"Click to copy local IP address" = "点击拷贝本地IP";
|
||||
"Click to copy wifi name" = "点击拷贝WiFi名称";
|
||||
"Click to copy mac address" = "点击拷贝MAC地址";
|
||||
"No connection" = "无连接";
|
||||
"Network interface" = "网络interface";
|
||||
|
||||
// Battery
|
||||
"Level" = "Level";
|
||||
"Source" = "电源";
|
||||
"Time" = "时间";
|
||||
"Health" = "健康度";
|
||||
"Battery" = "电池";
|
||||
"Amperage" = "电流";
|
||||
"Voltage" = "电压";
|
||||
"Temperature" = "温度";
|
||||
"Power adapter" = "电源适配器";
|
||||
"Power" = "Power";
|
||||
"Is charging" = "充电中";
|
||||
"Time to discharge" = "放电时间";
|
||||
"Time to charge" = "充电时间";
|
||||
"Calculating" = "计算中";
|
||||
"Fully charged" = "已充满";
|
||||
"Not connected" = "未连接";
|
||||
"Low level notification" = "底层通知";
|
||||
"Low battery" = "低电量";
|
||||
"Battery remaining" = "剩余 %0%";
|
||||
Reference in New Issue
Block a user