mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Localizations improvements
This commit is contained in:
parent
e6deb9ef26
commit
1b0486df05
@ -436,9 +436,9 @@ enum ButtonLabelStyle: String, CaseIterable, Defaults.Serializable {
|
||||
var description: String {
|
||||
switch self {
|
||||
case .iconOnly:
|
||||
return "Icon only"
|
||||
return "Icon only".localized()
|
||||
case .iconAndText:
|
||||
return "Icon and text"
|
||||
return "Icon and text".localized()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ struct ExportSettings: View {
|
||||
var body: some View {
|
||||
Button(action: { model.toggleExportGroupSelection(group) }) {
|
||||
HStack {
|
||||
Text(group.label)
|
||||
Text(group.label.localized())
|
||||
Spacer()
|
||||
Image(systemName: "checkmark")
|
||||
.foregroundColor(.accentColor)
|
||||
|
@ -98,7 +98,7 @@ struct ImportSettingsSheetView: View {
|
||||
var body: some View {
|
||||
Button(action: { model.toggleExportGroupSelection(group) }) {
|
||||
HStack {
|
||||
Text(group.label)
|
||||
Text(group.label.localized())
|
||||
Spacer()
|
||||
Image(systemName: "checkmark")
|
||||
.foregroundColor(.accentColor)
|
||||
|
Loading…
Reference in New Issue
Block a user