[vlc-commits] qml: provide placeholder text for artist name
Prince Gupta
git at videolan.org
Thu Jan 14 14:42:16 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Dec 22 18:35:43 2020 +0530| [798ec3ad8cc28cd8f29df3a6b6572fedc4515486] | committer: Pierre Lamot
qml: provide placeholder text for artist name
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=798ec3ad8cc28cd8f29df3a6b6572fedc4515486
---
modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
index d2a108c16c..e4ee054fea 100644
--- a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
@@ -163,7 +163,7 @@ Widgets.PageLoader {
delegate: AudioGridItem {
id: gridItem
- title: model.name
+ title: model.name || i18n.qtr("Unknown artist")
subtitle: model.nb_tracks > 1 ? i18n.qtr("%1 songs").arg(model.nb_tracks) : i18n.qtr("%1 song").arg(model.nb_tracks)
pictureRadius: VLCStyle.artistGridCover_radius
pictureHeight: VLCStyle.artistGridCover_radius
More information about the vlc-commits
mailing list