and some more

This commit is contained in:
Drew Weymouth
2024-07-21 11:13:27 -07:00
parent 9910d54f8e
commit d48337c83b
12 changed files with 87 additions and 48 deletions
+2 -2
View File
@@ -365,9 +365,9 @@ func (a *FavoritesPage) onShowFavoriteArtists() {
func buildArtistGridViewModel(artists []*mediaprovider.Artist) []widgets.GridViewItemModel {
model := make([]widgets.GridViewItemModel, 0)
for _, ar := range artists {
albums := "albums"
albums := lang.L("albums")
if ar.AlbumCount == 1 {
albums = "album"
albums = lang.L("album")
}
model = append(model, widgets.GridViewItemModel{
ID: ar.ID,