mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Localizations fixes
This commit is contained in:
@@ -119,9 +119,9 @@ struct FavoriteItemView: View {
|
||||
|
||||
private var label: String {
|
||||
if case let .playlist(id) = item.section {
|
||||
return playlists.find(id: id)?.title ?? "Playlist"
|
||||
return playlists.find(id: id)?.title ?? "Playlist".localized()
|
||||
}
|
||||
|
||||
return item.section.label
|
||||
return item.section.label.localized()
|
||||
}
|
||||
}
|
||||
|
@@ -182,7 +182,7 @@ struct HomeView: View {
|
||||
}
|
||||
|
||||
func sectionLabel(_ label: String) -> some View {
|
||||
Text(label)
|
||||
Text(label.localized())
|
||||
#if os(tvOS)
|
||||
.padding(.horizontal, 40)
|
||||
#else
|
||||
|
Reference in New Issue
Block a user