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 { 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)
} }
} }
} }