Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add Italian translation

Roland Geider0f060a49e270
diff --git a/wger/core/fixtures/languages.json b/wger/core/fixtures/languages.json
index 1f0d2c1ac..8f4211b48 100644
--- a/wger/core/fixtures/languages.json
+++ b/wger/core/fixtures/languages.json
@@ -94,5 +94,13 @@
"short_name": "fr",
"full_name": "Fran\u00e7ais"
}
+ },
+ {
+ "model": "core.language",
+ "pk": 13,
+ "fields": {
+ "short_name": "it",
+ "full_name": "Italian"
+ }
}
-]
+]
\ No newline at end of file
diff --git a/wger/core/static/images/icons/flag-it.svg b/wger/core/static/images/icons/flag-it.svg
new file mode 100644
index 000000000..0855ee391
--- /dev/null
+++ b/wger/core/static/images/icons/flag-it.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="1500" height="1000" viewBox="0 0 3 2">
+<rect width="3" height="2" fill="#009246"/>
+<rect width="2" height="2" x="1" fill="#fff"/>
+<rect width="1" height="2" x="2" fill="#ce2b37"/>
+</svg>
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 3cf72794a..ea1e3abfc 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -202,6 +202,7 @@ LANGUAGES = (
('sv', 'Swedish'),
('no', 'Norwegian'),
('fr', 'French'),
+ ('it', 'Italian'),
)
# Default language code for this installation.