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 {
|
var description: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .iconOnly:
|
case .iconOnly:
|
||||||
return "Icon only"
|
return "Icon only".localized()
|
||||||
case .iconAndText:
|
case .iconAndText:
|
||||||
return "Icon and text"
|
return "Icon and text".localized()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ struct ExportSettings: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
Button(action: { model.toggleExportGroupSelection(group) }) {
|
Button(action: { model.toggleExportGroupSelection(group) }) {
|
||||||
HStack {
|
HStack {
|
||||||
Text(group.label)
|
Text(group.label.localized())
|
||||||
Spacer()
|
Spacer()
|
||||||
Image(systemName: "checkmark")
|
Image(systemName: "checkmark")
|
||||||
.foregroundColor(.accentColor)
|
.foregroundColor(.accentColor)
|
||||||
|
@ -98,7 +98,7 @@ struct ImportSettingsSheetView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
Button(action: { model.toggleExportGroupSelection(group) }) {
|
Button(action: { model.toggleExportGroupSelection(group) }) {
|
||||||
HStack {
|
HStack {
|
||||||
Text(group.label)
|
Text(group.label.localized())
|
||||||
Spacer()
|
Spacer()
|
||||||
Image(systemName: "checkmark")
|
Image(systemName: "checkmark")
|
||||||
.foregroundColor(.accentColor)
|
.foregroundColor(.accentColor)
|
||||||
|
Loading…
Reference in New Issue
Block a user