Fix localizations

This commit is contained in:
Arkadiusz Fal 2023-04-24 12:57:20 +02:00
parent 8eac32078b
commit 40097de1fd

View File

@ -10,7 +10,7 @@ struct ListingStyleButtons: View {
Button {
listingStyle = listingStyle.next()
} label: {
Label(listingStyle.rawValue.capitalized, systemImage: listingStyle.systemImage)
Label(listingStyle.rawValue.capitalized.localized(), systemImage: listingStyle.systemImage)
#if os(tvOS)
.font(.caption)
.imageScale(.small)
@ -25,7 +25,7 @@ struct ListingStyleButtons: View {
Button {
listingStyle = style
} label: {
Label(style.rawValue.capitalized, systemImage: style.systemImage)
Label(style.rawValue.capitalized.localized(), systemImage: style.systemImage)
}
}
}