mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix localization
This commit is contained in:
parent
7a02b40bf4
commit
bb1fafe881
@ -11,6 +11,11 @@ Change Log
|
||||
- [trivial] Avoid unwanted line break in the character inspector.
|
||||
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix that a label was not localized.
|
||||
|
||||
|
||||
|
||||
4.6.2 (594)
|
||||
--------------------------
|
||||
|
@ -186,7 +186,7 @@ final class EditorTextViewController: NSViewController, NSTextViewDelegate {
|
||||
let item = NSMenuItem()
|
||||
item.title = ""
|
||||
item.setAccessibilityLabel(String(localized: "Script"))
|
||||
item.image = NSImage(systemSymbolName: "applescript.fill", accessibilityDescription: String(localized: "Scripts"))
|
||||
item.image = NSImage(systemSymbolName: "applescript.fill", accessibilityDescription: String(localized: "Script"))
|
||||
item.toolTip = String(localized: "Script")
|
||||
item.submenu = scriptMenu
|
||||
|
||||
|
@ -124,8 +124,8 @@ extension NSTextView {
|
||||
progress.finish()
|
||||
|
||||
let message = (progress.count == 0)
|
||||
? String(localized: "Not replaced")
|
||||
: String(localized: "\(progress.count) replaced")
|
||||
? String(localized: "Not replaced", table: "Count")
|
||||
: String(localized: "\(progress.count) replaced", table: "Count")
|
||||
|
||||
self.requestAccessibilityAnnouncement(message)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user