vlc | branch: master | Pierre Lamot <[email protected]> | Thu Aug 27 12:31:00 
2020 +0200| [01b88d1a4ee24d2eae6c951683b1f37d51fafa68] | committer: Pierre Lamot

qml: add missing label in track list sort control

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01b88d1a4ee24d2eae6c951683b1f37d51fafa68
---

 modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml 
b/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
index f9cc692387..593b7c86ec 100644
--- a/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
@@ -33,21 +33,21 @@ Widgets.KeyNavigableTableView {
         { isPrimary: true, criteria: "title",       width: 
VLCStyle.colWidth(1), text: i18n.qtr("Title"),    showSection: "title", 
colDelegate: tableColumns.titleDelegate, headerDelegate: 
tableColumns.titleHeaderDelegate },
         { criteria: "album_title", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Album"),    showSection: "album_title" },
         { criteria: "main_artist", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Artist"),   showSection: "main_artist" },
-        { criteria: "duration_short", width: VLCStyle.colWidth(1), 
showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: 
tableColumns.timeHeaderDelegate },
+        { criteria: "duration_short", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Duration"), showSection: "", colDelegate: 
tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
     ]
 
     property var sortModelMedium: [
         { isPrimary: true, criteria: "title",       width: 
VLCStyle.colWidth(2), text: i18n.qtr("Title"),    showSection: "title", 
colDelegate: tableColumns.titleDelegate, headerDelegate: 
tableColumns.titleHeaderDelegate },
         { criteria: "album_title", width: VLCStyle.colWidth(2), text: 
i18n.qtr("Album"),    showSection: "album_title" },
         { criteria: "main_artist", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Artist"),   showSection: "main_artist" },
-        { criteria: "duration_short", width: VLCStyle.colWidth(1), 
showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: 
tableColumns.timeHeaderDelegate },
+        { criteria: "duration_short", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Duration"), showSection: "", colDelegate: 
tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
     ]
 
     property var sortModelLarge: [
         { isPrimary: true, criteria: "title",       width: 
VLCStyle.colWidth(2), text: i18n.qtr("Title"),    showSection: "title", 
colDelegate: tableColumns.titleDelegate, headerDelegate: 
tableColumns.titleHeaderDelegate },
         { criteria: "album_title", width: VLCStyle.colWidth(2), text: 
i18n.qtr("Album"),    showSection: "album_title" },
         { criteria: "main_artist", width: VLCStyle.colWidth(2), text: 
i18n.qtr("Artist"),   showSection: "main_artist" },
-        { criteria: "duration_short", width: VLCStyle.colWidth(1), 
showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: 
tableColumns.timeHeaderDelegate },
+        { criteria: "duration_short", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Duration"), showSection: "", colDelegate: 
tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
         { criteria: "track_number",width: VLCStyle.colWidth(1), text: 
i18n.qtr("Track"), showSection: "" },
         { criteria: "disc_number", width: VLCStyle.colWidth(1), text: 
i18n.qtr("Disc"),  showSection: "" },
     ]

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to