Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add Polish translation

Roland Geider4875846aa00d
diff --git a/wger/core/fixtures/languages.json b/wger/core/fixtures/languages.json
index 8f4211b48..93a5e9b94 100644
--- a/wger/core/fixtures/languages.json
+++ b/wger/core/fixtures/languages.json
@@ -102,5 +102,13 @@
"short_name": "it",
"full_name": "Italian"
}
+ },
+ {
+ "model": "core.language",
+ "pk": 14,
+ "fields": {
+ "short_name": "pl",
+ "full_name": "Polish"
+ }
}
]
\ No newline at end of file
diff --git a/wger/core/static/images/icons/flag-pl.svg b/wger/core/static/images/icons/flag-pl.svg
new file mode 100644
index 000000000..5556266bb
--- /dev/null
+++ b/wger/core/static/images/icons/flag-pl.svg
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="640" height="400" viewBox="0 0 8 5">
+<rect width="8" height="5" fill="#dc143c"/>
+<rect width="8" height="2.5" fill="#fff"/>
+</svg>
\ No newline at end of file
diff --git a/wger/locale/pl/LC_MESSAGES/django.po b/wger/locale/pl/LC_MESSAGES/django.po
index 2ee582eb8..8a7c5a019 100644
--- a/wger/locale/pl/LC_MESSAGES/django.po
+++ b/wger/locale/pl/LC_MESSAGES/django.po
@@ -3879,9 +3879,6 @@ msgstr "Mile"
msgid "Minutes"
msgstr "Minuty"
-msgid "Repetitions"
-msgstr "Powtórzenia"
-
msgid "Seconds"
msgstr "Sekundy"
diff --git a/wger/settings_global.py b/wger/settings_global.py
index ea1e3abfc..3093d878b 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -203,6 +203,7 @@ LANGUAGES = (
('no', 'Norwegian'),
('fr', 'French'),
('it', 'Italian'),
+ ('pl', 'Polish'),
)
# Default language code for this installation.