diff options
author | 2017-12-07 13:51:16 +0100 | |
---|---|---|
committer | 2017-12-07 13:51:16 +0100 | |
commit | b9aacc6184f3ab9c9325dfb91a4669a69d1abe9d (patch) | |
tree | 490930d8bd79d5deb449e561b2d7801033a26f23 /src/containers/settings/EditSettingsScreen.js | |
parent | fix(Translations): Use the native language name for translations (diff) | |
download | ferdium-app-b9aacc6184f3ab9c9325dfb91a4669a69d1abe9d.tar.gz ferdium-app-b9aacc6184f3ab9c9325dfb91a4669a69d1abe9d.tar.zst ferdium-app-b9aacc6184f3ab9c9325dfb91a4669a69d1abe9d.zip |
Sort languages by name
Diffstat (limited to 'src/containers/settings/EditSettingsScreen.js')
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index 45ded9e5c..1a297f41f 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -109,7 +109,7 @@ export default class EditSettingsScreen extends Component { | |||
109 | const { intl } = this.context; | 109 | const { intl } = this.context; |
110 | 110 | ||
111 | const locales = []; | 111 | const locales = []; |
112 | Object.keys(APP_LOCALES).forEach((key) => { | 112 | Object.keys(APP_LOCALES).sort(Intl.Collator().compare).forEach((key) => { |
113 | locales.push({ | 113 | locales.push({ |
114 | value: key, | 114 | value: key, |
115 | label: APP_LOCALES[key], | 115 | label: APP_LOCALES[key], |