From 47bda1f55d6510a6632df619682d9eb836df997e Mon Sep 17 00:00:00 2001 From: Rafael <1024481@stud.hs-mannheim.de> Date: Sat, 15 Jun 2024 23:51:24 +0200 Subject: [PATCH] Added 6 more languages (ga, cs, el, ro, sk, sl) --- lib/assets/flag_icons/flag_czech_republic.svg | 6 +++ lib/assets/flag_icons/flag_greece.svg | 5 ++ lib/assets/flag_icons/flag_ireland.svg | 6 +++ lib/assets/flag_icons/flag_romania.svg | 6 +++ lib/assets/flag_icons/flag_slovakia.svg | 17 +++++++ lib/assets/flag_icons/flag_slovenia.svg | 15 ++++++ lib/assets/languages.json | 48 ++++++++++++++++--- 7 files changed, 97 insertions(+), 6 deletions(-) create mode 100644 lib/assets/flag_icons/flag_czech_republic.svg create mode 100644 lib/assets/flag_icons/flag_greece.svg create mode 100644 lib/assets/flag_icons/flag_ireland.svg create mode 100644 lib/assets/flag_icons/flag_romania.svg create mode 100644 lib/assets/flag_icons/flag_slovakia.svg create mode 100644 lib/assets/flag_icons/flag_slovenia.svg diff --git a/lib/assets/flag_icons/flag_czech_republic.svg b/lib/assets/flag_icons/flag_czech_republic.svg new file mode 100644 index 0000000..f4ddbd3 --- /dev/null +++ b/lib/assets/flag_icons/flag_czech_republic.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/lib/assets/flag_icons/flag_greece.svg b/lib/assets/flag_icons/flag_greece.svg new file mode 100644 index 0000000..532046f --- /dev/null +++ b/lib/assets/flag_icons/flag_greece.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/lib/assets/flag_icons/flag_ireland.svg b/lib/assets/flag_icons/flag_ireland.svg new file mode 100644 index 0000000..7f20c1a --- /dev/null +++ b/lib/assets/flag_icons/flag_ireland.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/lib/assets/flag_icons/flag_romania.svg b/lib/assets/flag_icons/flag_romania.svg new file mode 100644 index 0000000..63a88cd --- /dev/null +++ b/lib/assets/flag_icons/flag_romania.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/lib/assets/flag_icons/flag_slovakia.svg b/lib/assets/flag_icons/flag_slovakia.svg new file mode 100644 index 0000000..dcd96fb --- /dev/null +++ b/lib/assets/flag_icons/flag_slovakia.svg @@ -0,0 +1,17 @@ + + Flag of Slovakia + + + + + + + + + + + + + + + diff --git a/lib/assets/flag_icons/flag_slovenia.svg b/lib/assets/flag_icons/flag_slovenia.svg new file mode 100644 index 0000000..a5ad146 --- /dev/null +++ b/lib/assets/flag_icons/flag_slovenia.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/assets/languages.json b/lib/assets/languages.json index 4d1857a..ae13473 100644 --- a/lib/assets/languages.json +++ b/lib/assets/languages.json @@ -41,12 +41,6 @@ "nativeName": "Nederlands", "iconFile": "lib/assets/flag_icons/flag_netherlands.svg" }, - { - "code": "sv", - "name": "Swedish", - "nativeName": "Svenska", - "iconFile": "lib/assets/flag_icons/flag_sweden.svg" - }, { "code": "da", "name": "Danish", @@ -59,10 +53,52 @@ "nativeName": "Suomi", "iconFile": "lib/assets/flag_icons/flag_finland.svg" }, + { + "code": "sv", + "name": "Swedish", + "nativeName": "Svenska", + "iconFile": "lib/assets/flag_icons/flag_sweden.svg" + }, + { + "code": "ga", + "name": "Irish", + "nativeName": "Gaeilge", + "iconFile": "lib/assets/flag_icons/flag_ireland.svg" + }, + { + "code": "cs", + "name": "Czech", + "nativeName": "Čeština", + "iconFile": "lib/assets/flag_icons/flag_czech_republic.svg" + }, { "code": "pl", "name": "Polish", "nativeName": "Polski", "iconFile": "lib/assets/flag_icons/flag_poland.svg" + }, + { + "code": "el", + "name": "Greek", + "nativeName": "ελληνικά", + "iconFile": "lib/assets/flag_icons/flag_greece.svg" + }, + { + "code": "ro", + "name": "Romanian", + "nativeName": "Română", + "iconFile": "lib/assets/flag_icons/flag_romania.svg" + }, + { + "code": "sk", + "name": "Slovak", + "nativeName": "Slovenčina", + "iconFile": "lib/assets/flag_icons/flag_slovakia.svg" + }, + { + "code": "sl", + "name": "Slovenian", + "nativeName": "Slovenščina", + "iconFile": "lib/assets/flag_icons/flag_slovenia.svg" } ]