Просмотр исходного кода

Sort language list by language code

This makes it slightly easier to find your language. English is an exception, it is always put in front.

Contributes to issue CURA-570.
Ghostkeeper 8 лет назад
Родитель
Сommit
9f41d81e86
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      resources/qml/Preferences/GeneralPage.qml

+ 2 - 2
resources/qml/Preferences/GeneralPage.qml

@@ -91,12 +91,12 @@ UM.PreferencesPage
 
                     Component.onCompleted: {
                         append({ text: "English", code: "en" })
+                        append({ text: "Deutsch", code: "de" })
+                        append({ text: "Español", code: "es" })
                         append({ text: "Suomi", code: "fi" })
                         append({ text: "Français", code: "fr" })
-                        append({ text: "Deutsch", code: "de" })
                         append({ text: "Italiano", code: "it" })
                         append({ text: "Nederlands", code: "nl" })
-                        append({ text: "Español", code: "es" })
                         append({ text: "Türkçe", code: "tr" })
                     }
                 }