From cc8327a5dec0547fa6420982a02dbd489b7b0254 Mon Sep 17 00:00:00 2001 From: Eden Date: Wed, 13 Mar 2024 20:30:13 +0800 Subject: [PATCH 1/2] [UPDATE] Chinese localization. --- KeepingYouAwake/Localizable.xcstrings | 114 ++++++++++++++++++ ...YAAdvancedSettingsViewController.xcstrings | 12 ++ ...KYABatterySettingsViewController.xcstrings | 12 ++ .../KYAAddDurationViewController.xcstrings | 36 ++++++ ...YADurationSettingsViewController.xcstrings | 60 +++++++++ ...KYAGeneralSettingsViewController.xcstrings | 6 + .../Settings/KYASettings.xcstrings | 12 ++ 7 files changed, 252 insertions(+) diff --git a/KeepingYouAwake/Localizable.xcstrings b/KeepingYouAwake/Localizable.xcstrings index 9a40d3c..26cd7c9 100644 --- a/KeepingYouAwake/Localizable.xcstrings +++ b/KeepingYouAwake/Localizable.xcstrings @@ -58,6 +58,12 @@ "value" : "(За замовчуванням)" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "(默认)" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -194,6 +200,12 @@ "value" : "Aktivovať, keď je pripojený externý displej" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "当外接显示器连接时激活" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -241,6 +253,12 @@ "value" : "Daha sonra Mac'iniz kullanılmadığında otomatik olarak tekrar uyku moduna geçer." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "在这之后 Mac 会在闲置时自动进入休眠状态。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -288,6 +306,12 @@ "value" : "Дозволити дисплею вимикатись" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "允许显示器休眠" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -335,6 +359,12 @@ "value" : "Uyku moduna izin veriliyor" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "允许休眠" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -400,6 +430,12 @@ "value" : "Відміна" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "取消" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -639,6 +675,12 @@ "value" : "Deaktivovať pri prepnutí na iný používateľský účet" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "切换用户时结束防止休眠" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -704,6 +746,12 @@ "value" : "За замовчуванням" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "默认" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -763,6 +811,12 @@ "value" : "Ви справді бажаєте скинути всі налаштовані інтервали роботи до установлених за замовчуванням?" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "您确定要将时长列表为默认值?" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -923,6 +977,12 @@ "value" : "Так" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "好的" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -970,6 +1030,12 @@ "value" : "Uyku modu önleniyor" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "防止休眠" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1017,6 +1083,12 @@ "value" : "Uyku modu %@ için önleniyor" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "在%@内防止休眠" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1189,6 +1261,12 @@ "value" : "Вийти коли час очікування скінчиться" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "当防止休眠结束时退出应用程序" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1254,6 +1332,12 @@ "value" : "Скинути збережені тривалості часу" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "重置时长列表" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1319,6 +1403,12 @@ "value" : "Встановити за замовчуванням: %@" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "将%@设置为默认" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1491,6 +1581,12 @@ "value" : "Введено помилковий інтервал часу. Спробуйте будьласка ще раз." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "输入的时长无效,请重试。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1556,6 +1652,12 @@ "value" : "Така тривалість часу вже додана." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "时长已存在。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1710,6 +1812,12 @@ "value" : "Yine de Mac'iniz için uyku modunu manuel olarak etkinleştirebilirsiniz." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "您仍然可以手动让 Mac 进入休眠状态。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -1757,6 +1865,12 @@ "value" : "Daha sonra Mac'iniz kullanılmadığında otomatik olarak tekrar uyku moduna geçer." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "在闲置时 Mac 会自动休眠。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", diff --git a/KeepingYouAwake/Settings/KYAAdvancedSettingsViewController/mul.lproj/KYAAdvancedSettingsViewController.xcstrings b/KeepingYouAwake/Settings/KYAAdvancedSettingsViewController/mul.lproj/KYAAdvancedSettingsViewController.xcstrings index 4b45441..d29a6f2 100644 --- a/KeepingYouAwake/Settings/KYAAdvancedSettingsViewController/mul.lproj/KYAAdvancedSettingsViewController.xcstrings +++ b/KeepingYouAwake/Settings/KYAAdvancedSettingsViewController/mul.lproj/KYAAdvancedSettingsViewController.xcstrings @@ -124,6 +124,12 @@ "state" : "new", "value" : "Check" } + }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } } } }, @@ -136,6 +142,12 @@ "state" : "new", "value" : "Text Cell" } + }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } } } }, diff --git a/KeepingYouAwake/Settings/KYABatterySettingsViewController/mul.lproj/KYABatterySettingsViewController.xcstrings b/KeepingYouAwake/Settings/KYABatterySettingsViewController/mul.lproj/KYABatterySettingsViewController.xcstrings index c977e74..69edf97 100644 --- a/KeepingYouAwake/Settings/KYABatterySettingsViewController/mul.lproj/KYABatterySettingsViewController.xcstrings +++ b/KeepingYouAwake/Settings/KYABatterySettingsViewController/mul.lproj/KYABatterySettingsViewController.xcstrings @@ -587,6 +587,12 @@ "value" : "Deaktivovať pri povolenom režime nízkej spotreby" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "在低电量模式下关闭" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -845,6 +851,12 @@ "value" : "Režim nízkej spotreby je možné zapnúť na podporovaných Macoch v Systémových nastaveniach › Batéria a počas nabíjania sa nebude používať." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "在支持低电量模式的 Mac 上可通过系统设置 › 电池中开启,充电时不适用。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", diff --git a/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYAAddDurationViewController.xcstrings b/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYAAddDurationViewController.xcstrings index 073c40f..ab856c4 100644 --- a/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYAAddDurationViewController.xcstrings +++ b/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYAAddDurationViewController.xcstrings @@ -71,6 +71,12 @@ "value" : "Години" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "时" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -149,6 +155,12 @@ "value" : "Відміна" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "取消" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -184,6 +196,12 @@ "state" : "translated", "value" : "Warning Label" } + }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } } } }, @@ -257,6 +275,12 @@ "value" : "Хвилини" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "分" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -335,6 +359,12 @@ "value" : "Секунди" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "秒" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -413,6 +443,12 @@ "value" : "Додати" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "添加时间" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", diff --git a/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYADurationSettingsViewController.xcstrings b/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYADurationSettingsViewController.xcstrings index b81a2b9..1b2676e 100644 --- a/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYADurationSettingsViewController.xcstrings +++ b/KeepingYouAwake/Settings/KYADurationSettingsViewController/mul.lproj/KYADurationSettingsViewController.xcstrings @@ -71,6 +71,12 @@ "value" : "Видалити" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "删除" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -130,6 +136,12 @@ "state" : "translated", "value" : "Обрати за замовчуванням" } + }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "设置为默认" + } } } }, @@ -203,6 +215,12 @@ "value" : "Обрана тут тривалість активується за замовчуванням при кліку на іконку додатку в MacOS меню." } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "点击菜单栏图标会使用默认的激活时长。" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -263,6 +281,12 @@ "value" : "Скинути…" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "重置..." + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -341,6 +365,12 @@ "value" : "Обрати за замовчуванням" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "设置为默认" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -376,6 +406,12 @@ "state" : "translated", "value" : "Text Cell" } + }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } } } }, @@ -449,6 +485,12 @@ "value" : "Скинути…" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "重置..." + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -527,6 +569,12 @@ "value" : "Видалити цей інтервал" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "删除" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -605,6 +653,12 @@ "value" : "Додати новий інтервал" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "添加" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -683,6 +737,12 @@ "value" : "Обрати за замовчуванням" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "设置为默认" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", diff --git a/KeepingYouAwake/Settings/KYAGeneralSettingsViewController/mul.lproj/KYAGeneralSettingsViewController.xcstrings b/KeepingYouAwake/Settings/KYAGeneralSettingsViewController/mul.lproj/KYAGeneralSettingsViewController.xcstrings index 041e8e2..0fda74b 100644 --- a/KeepingYouAwake/Settings/KYAGeneralSettingsViewController/mul.lproj/KYAGeneralSettingsViewController.xcstrings +++ b/KeepingYouAwake/Settings/KYAGeneralSettingsViewController/mul.lproj/KYAGeneralSettingsViewController.xcstrings @@ -59,6 +59,12 @@ "value" : "Налаштування Повідомлень…" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "打开系统通知设置..." + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", diff --git a/KeepingYouAwake/Settings/KYASettings.xcstrings b/KeepingYouAwake/Settings/KYASettings.xcstrings index a43cd7a..86f0e01 100644 --- a/KeepingYouAwake/Settings/KYASettings.xcstrings +++ b/KeepingYouAwake/Settings/KYASettings.xcstrings @@ -183,6 +183,12 @@ "value" : "Тривалість" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "激活时长" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", @@ -712,6 +718,12 @@ "value" : "Оновлення" } }, + "zh" : { + "stringUnit" : { + "state" : "translated", + "value" : "更新" + } + }, "zh-Hant" : { "stringUnit" : { "state" : "translated", From c850b0ceb06b2ea56eacef2a12ca41961c7a02d3 Mon Sep 17 00:00:00 2001 From: Eden Date: Thu, 14 Mar 2024 11:02:38 +0800 Subject: [PATCH 2/2] [UPDATE] zh localization. --- KeepingYouAwake/Localizable.xcstrings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeepingYouAwake/Localizable.xcstrings b/KeepingYouAwake/Localizable.xcstrings index 26cd7c9..0cc72ff 100644 --- a/KeepingYouAwake/Localizable.xcstrings +++ b/KeepingYouAwake/Localizable.xcstrings @@ -814,7 +814,7 @@ "zh" : { "stringUnit" : { "state" : "translated", - "value" : "您确定要将时长列表为默认值?" + "value" : "您确定要将时长列表重置为默认值?" } }, "zh-Hant" : {