Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add Romanian to language fixture

Roland Geider4bb74414c8e8
diff --git a/settings/settings_global.py b/settings/settings_global.py
index d8102825a..c61ae4fd8 100644
--- a/settings/settings_global.py
+++ b/settings/settings_global.py
@@ -283,6 +283,7 @@ AVAILABLE_LANGUAGES = (
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
+ ('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
diff --git a/wger/core/fixtures/languages.json b/wger/core/fixtures/languages.json
index 7726c5d32..9eb8e3b92 100644
--- a/wger/core/fixtures/languages.json
+++ b/wger/core/fixtures/languages.json
@@ -268,5 +268,14 @@
"full_name": "தமிழ்",
"full_name_en": "Tamil"
}
+ },
+ {
+ "model": "core.language",
+ "pk": 31,
+ "fields": {
+ "short_name": "ro",
+ "full_name": "Română",
+ "full_name_en": "Romanian"
+ }
}
]
diff --git a/wger/core/static/images/icons/flags/ro.svg b/wger/core/static/images/icons/flags/ro.svg
new file mode 100644
index 000000000..63a88cde0
--- /dev/null
+++ b/wger/core/static/images/icons/flags/ro.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 3 2">
+<rect width="3" height="2" x="0" y="0" fill="#002B7F"/>
+<rect width="2" height="2" x="1" y="0" fill="#FCD116"/>
+<rect width="1" height="2" x="2" y="0" fill="#CE1126"/>
+</svg>
\ No newline at end of file