Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n: add zh-Hant translation #5

Merged
merged 1 commit into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Activate/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ - (instancetype)init {
NSString *dLanguage = [languages objectAtIndex:0];
if ([dLanguage isEqualToString:@"zh-Hans"] || [dLanguage isEqualToString:@"zh-Hans-CN"]) {
return @[@"激活 macOS", @"您当前所使用的可能是盗版 macOS 副本,请前往偏好设置激活。"];
} else if ([dLanguage isEqualToString:@"zh-Hant"] || [dLanguage isEqualToString:@"zh-Hant-TW"]) {
return @[@"啟用 macOS", @"您目前使用的可能是盜版 macOS 副本。請前往「系統偏好設定」啟用。"];
} else if ([dLanguage isEqualToString:@"ja-JP"]) {
return @[@"macOS をアクティブ化", @"「システム環境設定」アクティブ化に行ってください。"];
} else {
Expand Down