Browse Source

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 years ago
parent
commit
9f41d81e86
1 changed files with 2 additions and 2 deletions
  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" })
                     }
                 }