[vlc-devel] [PATCH 04/33] QML: change the case of MusicTrackListDisplay columns labels

Adrien Maglo magsoft at videolan.org
Wed Jun 12 14:01:11 CEST 2019


---
 .../mediacenter/MusicAlbumsGridExpandDelegate.qml    |  4 ++--
 .../gui/qt/qml/mediacenter/MusicTrackListDisplay.qml | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MusicAlbumsGridExpandDelegate.qml b/modules/gui/qt/qml/mediacenter/MusicAlbumsGridExpandDelegate.qml
index 60a67d9727..6e17b1e34f 100644
--- a/modules/gui/qt/qml/mediacenter/MusicAlbumsGridExpandDelegate.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicAlbumsGridExpandDelegate.qml
@@ -180,8 +180,8 @@ Utils.NavigableFocusScope {
                 parentId : root.model.id
                 sortModel: ListModel {
                     ListElement{ criteria: "track_number";  width:0.10; visible: true; text: qsTr("#"); showSection: "" }
-                    ListElement{ criteria: "title";         width:0.70; visible: true; text: qsTr("TITLE"); showSection: "" }
-                    ListElement{ criteria: "duration";      width:0.20; visible: true; text: qsTr("DURATION"); showSection: "" }
+                    ListElement{ criteria: "title";         width:0.70; visible: true; text: qsTr("Title"); showSection: "" }
+                    ListElement{ criteria: "duration";      width:0.20; visible: true; text: qsTr("Duration"); showSection: "" }
                 }
                 focus: true
 
diff --git a/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
index 42b04dda54..a5034b94c0 100644
--- a/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
@@ -29,12 +29,12 @@ Utils.KeyNavigableTableView {
     id: root
 
     sortModel: ListModel {
-        ListElement{ criteria: "title";       width:0.44; text: qsTr("TITLE");    showSection: "title" }
-        ListElement{ criteria: "album_title"; width:0.25; text: qsTr("ALBUM");    showSection: "album_title" }
-        ListElement{ criteria: "main_artist"; width:0.15; text: qsTr("ARTIST");   showSection: "main_artist" }
-        ListElement{ criteria: "duration";    width:0.06; text: qsTr("DURATION"); showSection: "" }
-        ListElement{ criteria: "track_number";width:0.05; text: qsTr("TRACK"); showSection: "" }
-        ListElement{ criteria: "disc_number"; width:0.05; text: qsTr("DISC");  showSection: "" }
+        ListElement{ criteria: "title";       width:0.44; text: qsTr("Title");    showSection: "title" }
+        ListElement{ criteria: "album_title"; width:0.25; text: qsTr("Album");    showSection: "album_title" }
+        ListElement{ criteria: "main_artist"; width:0.15; text: qsTr("Artist");   showSection: "main_artist" }
+        ListElement{ criteria: "duration";    width:0.06; text: qsTr("Duration"); showSection: "" }
+        ListElement{ criteria: "track_number";width:0.05; text: qsTr("Track"); showSection: "" }
+        ListElement{ criteria: "disc_number"; width:0.05; text: qsTr("Disc");  showSection: "" }
     }
 
     model: MLAlbumTrackModel {
-- 
2.20.1



More information about the vlc-devel mailing list