mirror of
https://github.com/yattee/yattee.git
synced 2025-08-07 03:04:03 +00:00
Localizations improvements
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user