Skip to content

Commit 39e113f

Browse files
authored
Merge pull request #744 from lukhnos/minor-copyediting
Minor copyediting
2 parents 368a908 + 6517075 commit 39e113f

6 files changed

Lines changed: 24 additions & 24 deletions

File tree

Source/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ extension AppDelegate {
284284
func checkIfUserFilesExist() -> Bool {
285285
if !LanguageModelManager.checkIfUserLanguageModelFilesExist() {
286286
let content = String(format: NSLocalizedString("Please check the permission of the path at \"%@\".", comment: ""), LanguageModelManager.dataFolderPath)
287-
NonModalAlertWindowController.shared.show(title: NSLocalizedString("Unable to create the user phrase file.", comment: ""), content: content, confirmButtonTitle: NSLocalizedString("OK", comment: ""), cancelButtonTitle: nil, cancelAsDefault: false, delegate: nil)
287+
NonModalAlertWindowController.shared.show(title: NSLocalizedString("Failed to Create the User Phrase File", comment: ""), content: content, confirmButtonTitle: NSLocalizedString("OK", comment: ""), cancelButtonTitle: nil, cancelAsDefault: false, delegate: nil)
288288
return false
289289
}
290290
return true

Source/Base.lproj/Localizable.strings

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
/* No comment provided by engineer. */
3232
"You're currently using McBopomofo %@ (%@), a new version %@ (%@) is now available. Do you want to visit McBopomofo's website to download the version?%@" = "You're currently using McBopomofo %@ (%@), a new version %@ (%@) is now available. Do you want to visit McBopomofo's website to download the version?%@";
3333

34-
"Chinese Conversion" = "Convert to Simplified Chinese";
34+
"Convert to Simplified Chinese" = "Convert to Simplified Chinese";
3535

3636
"User Phrases" = "User Phrases";
3737

3838
"Edit User Phrases" = "Edit User Phrases";
3939

4040
"Reload User Phrases" = "Reload User Phrases";
4141

42-
"Unable to create the user phrase file." = "Unable to create the user phrase file.";
42+
"Failed to Create the User Phrase File" = "Failed to Create the User Phrase File";
4343

4444
"Please check the permission of the path at \"%@\"." = "Please check the permission of the path at \"%@\".";
4545

@@ -53,9 +53,9 @@
5353

5454
"The phrase being marked \"%@\" is longer than the allowed %d characters." = "The phrase being marked \"%@\" is longer than the allowed %d characters.";
5555

56-
"Chinese conversion on" = "Chinese conversion on";
56+
"Chinese Conversion On" = "Chinese Conversion On";
5757

58-
"Chinese conversion off" = "Chinese conversion off";
58+
"Chinese Conversion Off" = "Chinese Conversion Off";
5959

6060
"Edit Phrase Replacement Table" = "Edit Phrase Replacement Table";
6161

@@ -135,6 +135,6 @@
135135

136136
"Roman Numbers (Alphabets)" = "Roman Numbers (Alphabets)";
137137

138-
"Roman Numbers (Full-width Upper Case)" = "Roman Numbers (Full-width Upper Case)";
138+
"Roman Numbers (Full-Width Upper Case)" = "Roman Numbers (Full-Width Upper Case)";
139139

140-
"Roman Numbers (Full-width Lower Case)" = "Roman Numbers (Full-width Lower Case)";
140+
"Roman Numbers (Full-Width Lower Case)" = "Roman Numbers (Full-Width Lower Case)";

Source/InputMethodController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class McBopomofoInputMethodController: IMKInputController {
6767
let menu = NSMenu(title: "Input Method Menu")
6868

6969
let chineseConversionItem = menu.addItem(
70-
withTitle: NSLocalizedString("Chinese Conversion", comment: ""),
70+
withTitle: NSLocalizedString("Convert to Simplified Chinese", comment: ""),
7171
action: #selector(toggleChineseConverter(_:)), keyEquivalent: "g")
7272
chineseConversionItem.keyEquivalentModifierMask = [.command, .control]
7373
chineseConversionItem.state = Preferences.chineseConversionEnabled.state
@@ -254,8 +254,8 @@ class McBopomofoInputMethodController: IMKInputController {
254254
let enabled = Preferences.toggleChineseConversionEnabled()
255255
NotifierController.notify(
256256
message: enabled
257-
? NSLocalizedString("Chinese conversion on", comment: "")
258-
: NSLocalizedString("Chinese conversion off", comment: ""))
257+
? NSLocalizedString("Chinese Conversion On", comment: "")
258+
: NSLocalizedString("Chinese Conversion Off", comment: ""))
259259
if let currentClient = currentClient {
260260
keyHandler.clear()
261261
self.handle(state: InputState.Empty(), client: currentClient)

Source/InputState.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ class InputState: NSObject {
140140
{ .RomanNumber(style: .alphabets, number: "") }
141141
),
142142
(
143-
NSLocalizedString("Roman Numbers (Full-width Upper Case)", comment: ""),
143+
NSLocalizedString("Roman Numbers (Full-Width Upper Case)", comment: ""),
144144
{ .RomanNumber(style: .fullWidthUpper, number: "") }
145145
),
146146
(
147-
NSLocalizedString("Roman Numbers (Full-width Lower Case)", comment: ""),
147+
NSLocalizedString("Roman Numbers (Full-Width Lower Case)", comment: ""),
148148
{ .RomanNumber(style: .fullWidthLower, number: "") }
149149
),
150150
]

Source/en.lproj/Localizable.strings

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
/* No comment provided by engineer. */
3232
"You're currently using McBopomofo %@ (%@), a new version %@ (%@) is now available. Do you want to visit McBopomofo's website to download the version?%@" = "You're currently using McBopomofo %@ (%@), a new version %@ (%@) is now available. Do you want to visit McBopomofo's website to download the version?%@";
3333

34-
"Chinese Conversion" = "Convert to Simplified Chinese";
34+
"Convert to Simplified Chinese" = "Convert to Simplified Chinese";
3535

3636
"User Phrases" = "User Phrases";
3737

3838
"Edit User Phrases" = "Edit User Phrases";
3939

4040
"Reload User Phrases" = "Reload User Phrases";
4141

42-
"Unable to create the user phrase file." = "Unable to create the user phrase file.";
42+
"Failed to Create the User Phrase File" = "Failed to Create the User Phrase File";
4343

4444
"Please check the permission of the path at \"%@\"." = "Please check the permission of the path at \"%@\".";
4545

@@ -53,9 +53,9 @@
5353

5454
"The phrase being marked \"%@\" is longer than the allowed %d characters." = "The phrase being marked \"%@\" is longer than the allowed %d characters.";
5555

56-
"Chinese conversion on" = "Chinese conversion on";
56+
"Chinese Conversion On" = "Chinese Conversion On";
5757

58-
"Chinese conversion off" = "Chinese conversion off";
58+
"Chinese Conversion Off" = "Chinese Conversion Off";
5959

6060
"Edit Phrase Replacement Table" = "Edit Phrase Replacement Table";
6161

@@ -137,6 +137,6 @@
137137

138138
"Roman Numbers (Alphabets)" = "Roman Numbers (Alphabets)";
139139

140-
"Roman Numbers (Full-width Upper Case)" = "Roman Numbers (Full-width Upper Case)";
140+
"Roman Numbers (Full-Width Upper Case)" = "Roman Numbers (Full-Width Upper Case)";
141141

142-
"Roman Numbers (Full-width Lower Case)" = "Roman Numbers (Full-width Lower Case)";
142+
"Roman Numbers (Full-Width Lower Case)" = "Roman Numbers (Full-Width Lower Case)";

Source/zh-Hant.lproj/Localizable.strings

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
/* No comment provided by engineer. */
3232
"You're currently using McBopomofo %@ (%@), a new version %@ (%@) is now available. Do you want to visit McBopomofo's website to download the version?%@" = "目前使用的小麥注音版本是 %1$@ (%2$@),網路上有更新版本 %3$@ (%4$@) 可供下載。是否要前往小麥注音網站下載新版來安裝?%5$@";
3333

34-
"Chinese Conversion" = "輸出簡體中文";
34+
"Convert to Simplified Chinese" = "輸出簡體中文";
3535

3636
"User Phrases" = "使用者詞彙";
3737

3838
"Edit User Phrases" = "編輯使用者詞彙";
3939

4040
"Reload User Phrases" = "重新載入使用者詞彙";
4141

42-
"Unable to create the user phrase file." = "無法建立使用者詞彙檔案";
42+
"Failed to Create the User Phrase File" = "無法建立使用者詞彙檔案";
4343

4444
"Please check the permission of the path at \"%@\"." = "請檢查以下路徑的寫入權限 \"%@\"。";
4545

@@ -53,9 +53,9 @@
5353

5454
"The phrase being marked \"%@\" is longer than the allowed %d characters." = "您目前選擇了「%@」。自訂詞彙不能超過 %d 個字元。";
5555

56-
"Chinese conversion on" = "已經切換到簡體中文模式";
56+
"Chinese Conversion On" = "已經切換到簡體中文模式";
5757

58-
"Chinese conversion off" = "已經切換到繁體中文模式";
58+
"Chinese Conversion Off" = "已經切換到繁體中文模式";
5959

6060
"Edit Phrase Replacement Table" = "編輯詞彙替換表格";
6161

@@ -135,6 +135,6 @@
135135

136136
"Roman Numbers (Alphabets)" = "羅馬數字 (字母)";
137137

138-
"Roman Numbers (Full-width Upper Case)" = "羅馬數字 (大寫全形)";
138+
"Roman Numbers (Full-Width Upper Case)" = "羅馬數字 (大寫全形)";
139139

140-
"Roman Numbers (Full-width Lower Case)" = "羅馬數字 (小寫全形)";
140+
"Roman Numbers (Full-Width Lower Case)" = "羅馬數字 (小寫全形)";

0 commit comments

Comments
 (0)