Add Dutch language (#473)

* Add Dutch language

* Sort language list alphabetically

Except English which stays on top
This commit is contained in:
sephrat 2021-06-08 09:25:26 +02:00 committed by GitHub
parent a75de6d1cf
commit 3702331630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 8 deletions

View file

@ -6,6 +6,7 @@ Vue.use(Vuetify);
import de from "vuetify/es5/locale/de"; import de from "vuetify/es5/locale/de";
import en from "vuetify/es5/locale/en"; import en from "vuetify/es5/locale/en";
import fr from "vuetify/es5/locale/fr"; import fr from "vuetify/es5/locale/fr";
import nl from "vuetify/es5/locale/nl";
import pl from "vuetify/es5/locale/pl"; import pl from "vuetify/es5/locale/pl";
import pt from "vuetify/es5/locale/pt"; import pt from "vuetify/es5/locale/pt";
import sv from "vuetify/es5/locale/sv"; import sv from "vuetify/es5/locale/sv";
@ -43,6 +44,7 @@ const vuetify = new Vuetify({
"de-DE": de, "de-DE": de,
"en-US": en, "en-US": en,
"fr-FR": fr, "fr-FR": fr,
"nl-NL": nl,
"pl-PL": pl, "pl-PL": pl,
"pt-PT": pt, "pt-PT": pt,
"sv-SE": sv, "sv-SE": sv,

View file

@ -9,14 +9,26 @@ const state = {
name: "Dansk (Danish)", name: "Dansk (Danish)",
value: "da-DK", value: "da-DK",
}, },
{
name: "Deutsch (German)",
value: "de-DE",
},
{ {
name: "Français (French)", name: "Français (French)",
value: "fr-FR", value: "fr-FR",
}, },
{
name: "Nederlands (Dutch)",
value: "nl-NL",
},
{ {
name: "Polski (Polish)", name: "Polski (Polish)",
value: "pl-PL", value: "pl-PL",
}, },
{
name: "Português (Portuguese)",
value: "pt-PT",
},
{ {
name: "Svenska (Swedish)", name: "Svenska (Swedish)",
value: "sv-SE", value: "sv-SE",
@ -29,14 +41,6 @@ const state = {
name: "繁體中文 (Chinese traditional)", name: "繁體中文 (Chinese traditional)",
value: "zh-TW", value: "zh-TW",
}, },
{
name: "Deutsch (German)",
value: "de-DE",
},
{
name: "Português (Portuguese)",
value: "pt-PT",
},
], ],
}; };