[vlc-commits] qt: qml: typo correction

Fatih Uzunoglu git at videolan.org
Thu Oct 15 10:32:43 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Oct  9 19:56:33 2020 +0300| [d3602eb4ebc0470a24efeaf00d6750ef30b5f463] | committer: Pierre Lamot

qt: qml: typo correction

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

 modules/gui/qt/playlist/playlist_controller.hpp  | 2 +-
 modules/gui/qt/playlist/qml/PlaylistListView.qml | 4 ++--
 modules/gui/qt/playlist/qml/PlaylistToolbar.qml  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/playlist/playlist_controller.hpp b/modules/gui/qt/playlist/playlist_controller.hpp
index e4424fbc8c..775c65a316 100644
--- a/modules/gui/qt/playlist/playlist_controller.hpp
+++ b/modules/gui/qt/playlist/playlist_controller.hpp
@@ -59,7 +59,7 @@ public:
         SORT_KEY_TRACK_NUMBER = VLC_PLAYLIST_SORT_KEY_TRACK_NUMBER,
         SORT_KEY_DISC_NUMBER = VLC_PLAYLIST_SORT_KEY_DISC_NUMBER,
         SORT_KEY_URL = VLC_PLAYLIST_SORT_KEY_URL,
-        SORT_KEY_RATIN = VLC_PLAYLIST_SORT_KEY_RATING,
+        SORT_KEY_RATING = VLC_PLAYLIST_SORT_KEY_RATING,
         SORT_KEY_NONE
     };
     Q_ENUM(SortKey)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 4308374255..088a08e493 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -93,7 +93,7 @@ Widgets.NavigableFocusScope {
             Action { id:deleteAction;       text: i18n.qtr("Remove Selected");           onTriggered: view.onDelete();                                                                                                              }
 
             //sortmenu
-            Action { id: sortTitleAction;   text: i18n.qtr("Tile");
+            Action { id: sortTitleAction;   text: i18n.qtr("Title");
                 onTriggered: mainPlaylistController.sort(PlaylistControllerModel.SORT_KEY_TITLE, PlaylistControllerModel.SORT_ORDER_ASC)}
             Action { id: sortDurationAction;text: i18n.qtr("Duration");
                 onTriggered: mainPlaylistController.sort(PlaylistControllerModel.SORT_KEY_DURATION, PlaylistControllerModel.SORT_ORDER_ASC)}
@@ -110,7 +110,7 @@ Widgets.NavigableFocusScope {
             Action { id: sortURLAction;     text: i18n.qtr("URL");
                 onTriggered: mainPlaylistController.sort(PlaylistControllerModel.SORT_KEY_URL, PlaylistControllerModel.SORT_ORDER_ASC)}
             Action { id: sortRatingAction;  text: i18n.qtr("Rating");
-                onTriggered: mainPlaylistController.sort(PlaylistControllerModel.SORT_KEY_RATIN, PlaylistControllerModel.SORT_ORDER_ASC)}
+                onTriggered: mainPlaylistController.sort(PlaylistControllerModel.SORT_KEY_RATING, PlaylistControllerModel.SORT_ORDER_ASC)}
 
             models: {
                 "rootmenu" : {
diff --git a/modules/gui/qt/playlist/qml/PlaylistToolbar.qml b/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
index 0a10abcb97..64da3a766d 100644
--- a/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistToolbar.qml
@@ -84,7 +84,7 @@ Widgets.NavigableFocusScope {
                 popupAlignment: Qt.AlignRight | Qt.AlignTop
 
                 model: [
-                    { text: i18n.qtr("Tile"),             criteria: PlaylistControllerModel.SORT_KEY_TITLE },
+                    { text: i18n.qtr("Title"),            criteria: PlaylistControllerModel.SORT_KEY_TITLE },
                     { text: i18n.qtr("Duration"),         criteria: PlaylistControllerModel.SORT_KEY_DURATION },
                     { text: i18n.qtr("Artist"),           criteria: PlaylistControllerModel.SORT_KEY_ARTIST },
                     { text: i18n.qtr("Album"),            criteria: PlaylistControllerModel.SORT_KEY_ALBUM },
@@ -92,7 +92,7 @@ Widgets.NavigableFocusScope {
                     { text: i18n.qtr("Date"),             criteria: PlaylistControllerModel.SORT_KEY_DATE },
                     { text: i18n.qtr("Track number"),     criteria: PlaylistControllerModel.SORT_KEY_TRACK_NUMBER },
                     { text: i18n.qtr("URL"),              criteria: PlaylistControllerModel.SORT_KEY_URL },
-                    { text: i18n.qtr("Rating"),           criteria: PlaylistControllerModel.SORT_KEY_RATIN },
+                    { text: i18n.qtr("Rating"),           criteria: PlaylistControllerModel.SORT_KEY_RATING },
                 ]
                 textRole: "text"
                 criteriaRole: "criteria"



More information about the vlc-commits mailing list