Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add Ukrainian translation

Roland Geidered2dbed0a920
diff --git a/wger/core/fixtures/languages.json b/wger/core/fixtures/languages.json
index 93a5e9b94..a17e2fe8d 100644
--- a/wger/core/fixtures/languages.json
+++ b/wger/core/fixtures/languages.json
@@ -110,5 +110,13 @@
"short_name": "pl",
"full_name": "Polish"
}
+ },
+ {
+ "model": "core.language",
+ "pk": 15,
+ "fields": {
+ "short_name": "uk",
+ "full_name": "\u0443\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430 \u043c\u043e\u0432\u0430"
+ }
}
]
\ No newline at end of file
diff --git a/wger/core/static/images/icons/flag-uk.svg b/wger/core/static/images/icons/flag-uk.svg
new file mode 100644
index 000000000..d1b537e7c
--- /dev/null
+++ b/wger/core/static/images/icons/flag-uk.svg
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800">
+<rect width="1200" height="800" fill="#005BBB"/>
+<rect width="1200" height="400" y="400" fill="#FFD500"/>
+</svg>
\ No newline at end of file
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 3093d878b..7bf3ae34f 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -204,6 +204,7 @@ LANGUAGES = (
('fr', 'French'),
('it', 'Italian'),
('pl', 'Polish'),
+ ('uk', 'Ukrainian'),
)
# Default language code for this installation.