From 6562b9d4a76bd925616437a6f09c889e0443db5f Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Tue, 1 Aug 2023 12:40:20 +0900 Subject: [PATCH] Improve localization comments --- CONTRIBUTING.md | 6 ++++-- CotEditor/Sources/Document.swift | 3 ++- CotEditor/Sources/DocumentViewController.swift | 3 ++- CotEditor/Sources/DocumentWindowController.swift | 3 ++- CotEditor/Sources/FileEncoding.swift | 2 +- CotEditor/de.lproj/Localizable.strings | 6 +++--- CotEditor/de.lproj/UnicodeBlock.strings | 4 +++- CotEditor/en-GB.lproj/Localizable.strings | 6 +++--- CotEditor/en-GB.lproj/UnicodeBlock.strings | 5 +++-- CotEditor/es.lproj/Localizable.strings | 6 +++--- CotEditor/es.lproj/UnicodeBlock.strings | 5 +++-- CotEditor/fr.lproj/Localizable.strings | 6 +++--- CotEditor/fr.lproj/UnicodeBlock.strings | 4 +++- CotEditor/it.lproj/Localizable.strings | 6 +++--- CotEditor/it.lproj/UnicodeBlock.strings | 5 +++-- CotEditor/ja.lproj/Localizable.strings | 6 +++--- CotEditor/ja.lproj/UnicodeBlock.strings | 5 +++-- CotEditor/pt.lproj/Localizable.strings | 6 +++--- CotEditor/pt.lproj/UnicodeBlock.strings | 4 +++- CotEditor/tr.lproj/Localizable.strings | 6 +++--- CotEditor/tr.lproj/UnicodeBlock.strings | 5 +++-- CotEditor/zh-Hans.lproj/Localizable.strings | 8 ++++---- CotEditor/zh-Hans.lproj/UnicodeBlock.strings | 4 +++- CotEditor/zh-Hant.lproj/Localizable.strings | 8 ++++---- CotEditor/zh-Hant.lproj/UnicodeBlock.strings | 4 +++- 25 files changed, 73 insertions(+), 53 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 772c8f4f6..4d62ac156 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,6 +36,8 @@ By adding code, please follow our coding style guide below. ### Localization +_2023-08-01: CotEditor project now gradually migrates the localization format to the strings catalog that is newly introduced in Xcode 15. We will update the localization policy when the migration has completely done._ + Fixing/updating existing localizations is always welcome. The project team adds `FIXME:` tag as a comment in the localized strings files if there are updated strings to be localized. If your localization makes the Autolayout destroy, try first making the sentence shorter. However, if it's impossible, then just tell us about it with a screenshot when you make a pull-request. We'll update the storyboard file to layout your localized terms correctly. @@ -53,11 +55,10 @@ Especially, follow the terms of the following applications. We recommend to utilize [Apple Localization Terms Glossary for macOS](https://applelocalization.com/macos) by Kishikawa Katsumi to find macOS-friendly expressions. This service enables us to search in the texts localized by Apple for macOS applications and frameworks. You also need to take care of how Apple treats punctuation characters and symbols. For example, regarding quotation marks, they normally prefer the typographer's ones. - #### Submitting a new localization Copy one of a whole .lproj directory and use it as a template. We recommend using `CotEditor/en-GB.lproj/` directory because they are always up-to-date. -Note that you don't need to localize the Unicode block names in the `UnicodeUnicode.strings` file. +Note that you don't need to localize the Unicode block names in the `UnicodeBlock.strings` file. Continuous maintenance of the localization is highly recommended when providing a new localization. Please tell us if you also intend to be a localization maintainer when submitting a new localization. When we have new strings to be localized, we call the localization maintainers by creating an issue with the `@` mention on GitHub so that they can keep all their localized strings up to date. Currently, we already have maintainers for: @@ -98,6 +99,7 @@ We don't accept pull requests adding bundled themes at the moment. You can distr We don't accept pull requests for image resources. [1024jp](https://github.com/1024jp) enjoys creating and brushing up the graphics ;). Please just point out on the Issues page if a graphic resource has some kind of mistake to be fixed. + Coding Style Guide -------------------------- diff --git a/CotEditor/Sources/Document.swift b/CotEditor/Sources/Document.swift index a95ad17f4..fa0b035c9 100644 --- a/CotEditor/Sources/Document.swift +++ b/CotEditor/Sources/Document.swift @@ -1014,7 +1014,8 @@ final class Document: NSDocument, AdditionalDocumentPreparing, EncodingHolder { if self.isDocumentEdited { let alert = NSAlert() alert.messageText = String(localized: "The document has unsaved changes.") - alert.informativeText = String(localized: "Do you want to discard the changes and reopen the document using “\(fileEncoding.localizedName)”?") + alert.informativeText = String(localized: "Do you want to discard the changes and reopen the document using “\(fileEncoding.localizedName)”?", + comment: "%@ is an encoding name") alert.addButton(withTitle: String(localized: "Cancel")) alert.addButton(withTitle: String(localized: "Discard Changes")) alert.buttons.last?.hasDestructiveAction = true diff --git a/CotEditor/Sources/DocumentViewController.swift b/CotEditor/Sources/DocumentViewController.swift index db7a9de1c..c1163b087 100644 --- a/CotEditor/Sources/DocumentViewController.swift +++ b/CotEditor/Sources/DocumentViewController.swift @@ -299,7 +299,8 @@ final class DocumentViewController: NSSplitViewController, ThemeHolder, NSToolba let canActivateShowInvisibles = !UserDefaults.standard.showsInvisible.isEmpty item.toolTip = canActivateShowInvisibles ? nil - : String(localized: "To show invisible characters, set them in Settings") + : String(localized: "To show invisible characters, set them in the Appearance settings", + comment: "Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled") if canActivateShowInvisibles { (item as? NSToolbarItem)?.toolTip = self.showsInvisibles ? String(localized: "Hide invisible characters") diff --git a/CotEditor/Sources/DocumentWindowController.swift b/CotEditor/Sources/DocumentWindowController.swift index 9549d14cb..ce100d1e2 100644 --- a/CotEditor/Sources/DocumentWindowController.swift +++ b/CotEditor/Sources/DocumentWindowController.swift @@ -50,7 +50,8 @@ final class DocumentWindowController: NSWindowController, NSWindowDelegate { let dotView = DotView() dotView.color = .tertiaryLabelColor - dotView.toolTip = String(localized: "Document has unsaved changes") + dotView.toolTip = String(localized: "Document has unsaved changes", + comment: "tooltip for the “edited” indicator in the window tab") dotView.setContentHuggingPriority(.defaultHigh, for: .horizontal) return dotView }() diff --git a/CotEditor/Sources/FileEncoding.swift b/CotEditor/Sources/FileEncoding.swift index 56a4b46a1..d883a93c6 100644 --- a/CotEditor/Sources/FileEncoding.swift +++ b/CotEditor/Sources/FileEncoding.swift @@ -37,7 +37,7 @@ struct FileEncoding: Equatable { let localizedName = String.localizedName(of: self.encoding) return (self.encoding == .utf8 && self.withUTF8BOM) - ? String(localized: "\(localizedName) with BOM", comment: "Unicode (UTF-8) with BOM") + ? String(localized: "\(localizedName) with BOM", comment: "Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8)") : localizedName } } diff --git a/CotEditor/de.lproj/Localizable.strings b/CotEditor/de.lproj/Localizable.strings index 7fd7f3cdc..9ef22f594 100644 --- a/CotEditor/de.lproj/Localizable.strings +++ b/CotEditor/de.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Zeilen nicht umbrechen"; "Wrap Lines" = "Zeilen umbrechen"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "Um Steuerzeichen anzuzeigen, setze sie in den Einstellungen"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Um Steuerzeichen anzuzeigen, setze sie in den Einstellungen „Asssehen“"; @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ mit BOM"; diff --git a/CotEditor/de.lproj/UnicodeBlock.strings b/CotEditor/de.lproj/UnicodeBlock.strings index c9dbc18bf..851fc7f97 100644 --- a/CotEditor/de.lproj/UnicodeBlock.strings +++ b/CotEditor/de.lproj/UnicodeBlock.strings @@ -24,7 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Keilschrift"; diff --git a/CotEditor/en-GB.lproj/Localizable.strings b/CotEditor/en-GB.lproj/Localizable.strings index 72f0653c2..6a8bd264e 100644 --- a/CotEditor/en-GB.lproj/Localizable.strings +++ b/CotEditor/en-GB.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Unwrap Lines"; "Wrap Lines" = "Wrap Lines"; -// Tooltip for "Show Invisibles" menu item -"To show invisible characters, set them in Settings" = "To show invisible characters, set them in Settings"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "To show invisible characters, set them in the Appearance settings"; @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ with BOM"; diff --git a/CotEditor/en-GB.lproj/UnicodeBlock.strings b/CotEditor/en-GB.lproj/UnicodeBlock.strings index fc02b3ef5..13f53d919 100644 --- a/CotEditor/en-GB.lproj/UnicodeBlock.strings +++ b/CotEditor/en-GB.lproj/UnicodeBlock.strings @@ -24,8 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries -// release date of the used grossary: 2020-01-15 +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Cuneiform"; diff --git a/CotEditor/es.lproj/Localizable.strings b/CotEditor/es.lproj/Localizable.strings index b72166852..378393da3 100644 --- a/CotEditor/es.lproj/Localizable.strings +++ b/CotEditor/es.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "No ajustar líneas"; "Wrap Lines" = "Ajustar líneas"; -// Tooltip for "Show Invisibles" menu item -"To show invisible characters, set them in Settings" = "Para mostrar caracteres invisibles, configúralos en ajustes"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Para mostrar caracteres invisibles, configúralos en ajustes"; // FIXME: Setting -> the Appearance Settings @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ con BOM"; diff --git a/CotEditor/es.lproj/UnicodeBlock.strings b/CotEditor/es.lproj/UnicodeBlock.strings index 86caf780e..89108ec4d 100644 --- a/CotEditor/es.lproj/UnicodeBlock.strings +++ b/CotEditor/es.lproj/UnicodeBlock.strings @@ -24,8 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries -// release date of the used grossary: 2020-01-15 +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Cuneiforme"; diff --git a/CotEditor/fr.lproj/Localizable.strings b/CotEditor/fr.lproj/Localizable.strings index cc0a1f8f5..ac6fdfb7f 100755 --- a/CotEditor/fr.lproj/Localizable.strings +++ b/CotEditor/fr.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Ne pas renvoyer à la ligne"; "Wrap Lines" = "Renvoyer à la ligne"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "Pour afficher les caractères invisibles, activez l’option dans les Réglages"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Pour afficher les caractères invisibles, activez l’option dans les Réglages"; // FIXME: Setting -> the Appearance Settings @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ avec BOM"; diff --git a/CotEditor/fr.lproj/UnicodeBlock.strings b/CotEditor/fr.lproj/UnicodeBlock.strings index bff976945..379e7096e 100755 --- a/CotEditor/fr.lproj/UnicodeBlock.strings +++ b/CotEditor/fr.lproj/UnicodeBlock.strings @@ -24,7 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Cunéiforme"; diff --git a/CotEditor/it.lproj/Localizable.strings b/CotEditor/it.lproj/Localizable.strings index 5a812b2d1..898793d6f 100644 --- a/CotEditor/it.lproj/Localizable.strings +++ b/CotEditor/it.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Rimuovi a capo automatico"; "Wrap Lines" = "A capo automatico"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "Per visualizzare i caratteri invisibili, impostarli nelle Impostazioni"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Per visualizzare i caratteri invisibili, impostarli nelle Impostazioni"; // FIXME: Setting -> the Appearance Settings @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ con BOM"; diff --git a/CotEditor/it.lproj/UnicodeBlock.strings b/CotEditor/it.lproj/UnicodeBlock.strings index 8ee32a2fa..302e83277 100644 --- a/CotEditor/it.lproj/UnicodeBlock.strings +++ b/CotEditor/it.lproj/UnicodeBlock.strings @@ -24,8 +24,9 @@ // limitations under the License. // -// Unicode block names -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Cuneiforme"; diff --git a/CotEditor/ja.lproj/Localizable.strings b/CotEditor/ja.lproj/Localizable.strings index 32272eeec..1ea0625d1 100644 --- a/CotEditor/ja.lproj/Localizable.strings +++ b/CotEditor/ja.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "行を折り返さない"; "Wrap Lines" = "行を折り返す"; -// Tooltip for "Show Invisibles" menu item -"To show invisible characters, set them in Settings" = "不可視文字を表示させるには設定を変更してください"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "不可視文字を表示させるには「表示」設定で設定を変更してください"; @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@BOM付き"; diff --git a/CotEditor/ja.lproj/UnicodeBlock.strings b/CotEditor/ja.lproj/UnicodeBlock.strings index 799a54af1..70282410e 100644 --- a/CotEditor/ja.lproj/UnicodeBlock.strings +++ b/CotEditor/ja.lproj/UnicodeBlock.strings @@ -24,8 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries -// release date of the used grossary: 2020-01-15 +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "楔形文字"; diff --git a/CotEditor/pt.lproj/Localizable.strings b/CotEditor/pt.lproj/Localizable.strings index 02ac83318..e3c4bef6b 100644 --- a/CotEditor/pt.lproj/Localizable.strings +++ b/CotEditor/pt.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Desajustar Linhas"; "Wrap Lines" = "Ajustar Linhas"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "Para mostrar invisíveis, ative-os nas Definições"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Para mostrar invisíveis, ative-os nas Definições"; // FIXME: Setting -> the Appearance Settings @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "%@ com BOM"; diff --git a/CotEditor/pt.lproj/UnicodeBlock.strings b/CotEditor/pt.lproj/UnicodeBlock.strings index 0e652adf5..7b0b0ec90 100644 --- a/CotEditor/pt.lproj/UnicodeBlock.strings +++ b/CotEditor/pt.lproj/UnicodeBlock.strings @@ -24,7 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Cuneiforme"; diff --git a/CotEditor/tr.lproj/Localizable.strings b/CotEditor/tr.lproj/Localizable.strings index 8803be954..704cc0f24 100644 --- a/CotEditor/tr.lproj/Localizable.strings +++ b/CotEditor/tr.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "Satırları Kaydırma"; "Wrap Lines" = "Satırları Kaydır"; -// Tooltip for "Show Invisibles" menu item -"To show invisible characters, set them in Settings" = "Görünmez karakterleri göstermek için ilgili ayarı Ayarlar’dan değiştirin"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "Görünmez karakterleri göstermek için ilgili ayarı Ayarlar’dan değiştirin"; // FIXME: Setting -> the Appearance Settings @@ -840,7 +840,7 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) "%@ with BOM" = "BOM ile %@"; diff --git a/CotEditor/tr.lproj/UnicodeBlock.strings b/CotEditor/tr.lproj/UnicodeBlock.strings index 4d0a0a2ac..d44c359db 100644 --- a/CotEditor/tr.lproj/UnicodeBlock.strings +++ b/CotEditor/tr.lproj/UnicodeBlock.strings @@ -24,8 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries -// release date of the used grossary: 2020-01-15 +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "Çivi Yazısı"; diff --git a/CotEditor/zh-Hans.lproj/Localizable.strings b/CotEditor/zh-Hans.lproj/Localizable.strings index 434380b03..08cc0d0db 100644 --- a/CotEditor/zh-Hans.lproj/Localizable.strings +++ b/CotEditor/zh-Hans.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "不换行"; "Wrap Lines" = "换行"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "要显示不可见元素,请在设置中进行设定"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "要显示不可见元素,请在设置中进行设定"; // FIXME: Setting -> the Appearance Settings @@ -840,8 +840,8 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) -"%@ with BOM" = "%@ with BOM"; // No need to be tranlated because "UTF-8 with BOM" is acceptable in zh-Hans. +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) +"%@ with BOM" = "%@ with BOM"; // No need to be translated because "UTF-8 with BOM" is acceptable in zh-Hans. diff --git a/CotEditor/zh-Hans.lproj/UnicodeBlock.strings b/CotEditor/zh-Hans.lproj/UnicodeBlock.strings index c7bad6a34..27594b624 100644 --- a/CotEditor/zh-Hans.lproj/UnicodeBlock.strings +++ b/CotEditor/zh-Hans.lproj/UnicodeBlock.strings @@ -24,7 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "楔形文字"; diff --git a/CotEditor/zh-Hant.lproj/Localizable.strings b/CotEditor/zh-Hant.lproj/Localizable.strings index 32e060100..47e538f7b 100644 --- a/CotEditor/zh-Hant.lproj/Localizable.strings +++ b/CotEditor/zh-Hant.lproj/Localizable.strings @@ -529,8 +529,8 @@ "Unwrap Lines" = "不換行"; "Wrap Lines" = "換行"; -// Tooltip for "Show Invisibles" menu item and toolbar item -"To show invisible characters, set them in Settings" = "要顯示不可見元素,請在設定中進行設定"; +// Tooltip for “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled +"To show invisible characters, set them in the Appearance settings" = "要顯示不可見元素,請在設定中進行設定"; // FIXME: Setting -> the Appearance Settings @@ -840,8 +840,8 @@ /* MARK: String extension */ -// Encoding name for UTF-8 with BOM (`%@` is the system localized name for UTF-8) -"%@ with BOM" = "%@ with BOM"; // No need to be tranlated because "UTF-8 with BOM" is acceptable in zh-Hans. +// Encoding name for UTF-8 with BOM (%@ is the system localized name for UTF-8) +"%@ with BOM" = "%@ with BOM"; // No need to be translated because "UTF-8 with BOM" is acceptable in zh-Hans. diff --git a/CotEditor/zh-Hant.lproj/UnicodeBlock.strings b/CotEditor/zh-Hant.lproj/UnicodeBlock.strings index a3e1b9aed..97bf8585f 100644 --- a/CotEditor/zh-Hant.lproj/UnicodeBlock.strings +++ b/CotEditor/zh-Hant.lproj/UnicodeBlock.strings @@ -24,7 +24,9 @@ // limitations under the License. // -// -> auto-generated from CharacterPaletteIM.lg in Apple's glossaries +// -> You don't need to translate the terms in this file +// since they are auto-generated from CharacterPaletteIM.lg in the Apple's glossaries. +// release date of the used glossary: 2020-01-15 // cf. "Cuneiform" = "楔形文字";