mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-10-26 10:58:05 +03:00
Rename context menu submenu “Font” with “Text Size”
This commit is contained in:
parent
858744d7f9
commit
541edbee91
@ -5,7 +5,7 @@
|
||||
|
||||
### Improvements
|
||||
|
||||
- Add context menus for font size change to the tables in the outline inspector and find the result view.
|
||||
- Add context menus for text size change to the tables in the outline inspector and find the result view.
|
||||
- Improve the algorithm to parse syntax highlighting with simple words.
|
||||
- Improve error message when failed loading setting files.
|
||||
|
||||
|
@ -616,88 +616,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Font" : {
|
||||
"localizations" : {
|
||||
"cs" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Písmo"
|
||||
}
|
||||
},
|
||||
"de" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Schrift"
|
||||
}
|
||||
},
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "new",
|
||||
"value" : "Font"
|
||||
}
|
||||
},
|
||||
"en-GB" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Font"
|
||||
}
|
||||
},
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Tipo de letra"
|
||||
}
|
||||
},
|
||||
"fr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Police"
|
||||
}
|
||||
},
|
||||
"it" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Font"
|
||||
}
|
||||
},
|
||||
"ja" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "フォント"
|
||||
}
|
||||
},
|
||||
"nl" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Lettertype"
|
||||
}
|
||||
},
|
||||
"pt" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Fonte"
|
||||
}
|
||||
},
|
||||
"tr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Font"
|
||||
}
|
||||
},
|
||||
"zh-Hans" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "字体"
|
||||
}
|
||||
},
|
||||
"zh-Hant" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "字體"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Hide Indent Guides" : {
|
||||
"localizations" : {
|
||||
"cs" : {
|
||||
@ -3372,6 +3290,82 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Text Size" : {
|
||||
"localizations" : {
|
||||
"cs" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Velikost textu"
|
||||
}
|
||||
},
|
||||
"de" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Textgröße"
|
||||
}
|
||||
},
|
||||
"en-GB" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Text Size"
|
||||
}
|
||||
},
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Tamaño del texto"
|
||||
}
|
||||
},
|
||||
"fr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Taille du texte"
|
||||
}
|
||||
},
|
||||
"it" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Dimensioni testo"
|
||||
}
|
||||
},
|
||||
"ja" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "テキストサイズ"
|
||||
}
|
||||
},
|
||||
"nl" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Tekstgrootte"
|
||||
}
|
||||
},
|
||||
"pt" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Tamanho do Texto"
|
||||
}
|
||||
},
|
||||
"tr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Metin Puntosu"
|
||||
}
|
||||
},
|
||||
"zh-Hans" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "文字大小"
|
||||
}
|
||||
},
|
||||
"zh-Hant" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "文字大小"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"To show invisible characters, set them in the Window settings" : {
|
||||
"comment" : "tooltip for the “Show Invisibles” menu item and toolbar item for when all invisible settings are disabled",
|
||||
"localizations" : {
|
||||
|
@ -137,7 +137,7 @@ struct FindPanelResultView: View {
|
||||
self.model.matches.sort(using: newValue)
|
||||
}
|
||||
.contextMenu {
|
||||
Menu(String(localized: "Font", table: "MainMenu")) {
|
||||
Menu(String(localized: "Text Size", table: "MainMenu")) {
|
||||
Button(String(localized: "Bigger", table: "MainMenu"), action: self.biggerFont)
|
||||
Button(String(localized: "Smaller", table: "MainMenu"), action: self.smallerFont)
|
||||
Button(String(localized: "Reset to Default", table: "MainMenu"), action: self.resetFont)
|
||||
|
@ -133,7 +133,7 @@ struct OutlineInspectorView: View {
|
||||
self.model.selectItem(id: id)
|
||||
}
|
||||
.contextMenu {
|
||||
Menu(String(localized: "Font", table: "MainMenu")) {
|
||||
Menu(String(localized: "Text Size", table: "MainMenu")) {
|
||||
Button(String(localized: "Bigger", table: "MainMenu"), action: self.biggerFont)
|
||||
Button(String(localized: "Smaller", table: "MainMenu"), action: self.smallerFont)
|
||||
Button(String(localized: "Reset to Default", table: "MainMenu"), action: self.resetFont)
|
||||
|
Loading…
Reference in New Issue
Block a user