diff --git a/Shared/Defaults.swift b/Shared/Defaults.swift index 23d20f9c..8b3d6b80 100644 --- a/Shared/Defaults.swift +++ b/Shared/Defaults.swift @@ -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() } } } diff --git a/Shared/Settings/ExportSettings.swift b/Shared/Settings/ExportSettings.swift index 8aa8bef6..65e2ab4c 100644 --- a/Shared/Settings/ExportSettings.swift +++ b/Shared/Settings/ExportSettings.swift @@ -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) diff --git a/Shared/Settings/Import/ImportSettingsSheetView.swift b/Shared/Settings/Import/ImportSettingsSheetView.swift index 6055d61b..f2bf9e6d 100644 --- a/Shared/Settings/Import/ImportSettingsSheetView.swift +++ b/Shared/Settings/Import/ImportSettingsSheetView.swift @@ -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)