mirror of
https://github.com/yattee/yattee.git
synced 2025-04-26 00:26:33 +00:00
Fix localizations
This commit is contained in:
parent
8eac32078b
commit
40097de1fd
@ -10,7 +10,7 @@ struct ListingStyleButtons: View {
|
|||||||
Button {
|
Button {
|
||||||
listingStyle = listingStyle.next()
|
listingStyle = listingStyle.next()
|
||||||
} label: {
|
} label: {
|
||||||
Label(listingStyle.rawValue.capitalized, systemImage: listingStyle.systemImage)
|
Label(listingStyle.rawValue.capitalized.localized(), systemImage: listingStyle.systemImage)
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
.imageScale(.small)
|
.imageScale(.small)
|
||||||
@ -25,7 +25,7 @@ struct ListingStyleButtons: View {
|
|||||||
Button {
|
Button {
|
||||||
listingStyle = style
|
listingStyle = style
|
||||||
} label: {
|
} label: {
|
||||||
Label(style.rawValue.capitalized, systemImage: style.systemImage)
|
Label(style.rawValue.capitalized.localized(), systemImage: style.systemImage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user