Updates localization.

This commit is contained in:
zonble 2022-01-12 01:10:39 +08:00
parent ea36061a41
commit cbd21cbe1d
3 changed files with 6 additions and 0 deletions

View File

@ -209,6 +209,7 @@ static double FindHighestScore(const vector<NodeAnchor>& nodes, double epsilon)
[menu addItem:[NSMenuItem separatorItem]];
[menu addItemWithTitle:NSLocalizedString(@"User Phrases", @"") action:NULL keyEquivalent:@""];
if (_inputMode == kPlainBopomofoModeIdentifier) {
NSMenuItem *editExcludedPhrasesItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Edit Excluded Phrases", @"") action:@selector(openExcludedPhrasesPlainBopomofo:) keyEquivalent:@""];
[menu addItem:editExcludedPhrasesItem];

View File

@ -60,3 +60,5 @@
"Unable to create the user phrase file." = "Unable to create the user phrase file.";
"Please check the permission of at \"%@\"." = "Please check the permission of at \"%@\".";
"Edit Excluded Phrases" = "Edit Excluded Phrases";

View File

@ -60,3 +60,6 @@
"Unable to create the user phrase file." = "無法建立使用者詞彙檔案";
"Please check the permission of at \"%@\"." = "請檢查以下路徑的寫入權限 \"%@\"。";
"Edit Excluded Phrases" = "編輯要排除的詞彙";