Skip to content

Commit

Permalink
fuzzy translations sorted out
Browse files Browse the repository at this point in the history
  • Loading branch information
wooyek committed Nov 27, 2017
1 parent 276db1b commit ec79744
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ clean-build: ## remove build artifacts
rm -fr build/
rm -fr dist/
rm -fr .eggs/
rm -fr example_project/.eggs/
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -f {} +

Expand Down Expand Up @@ -125,6 +126,6 @@ release: sync bump publish ## build new package version release then upload to p

locales:
# https://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-makemessages
python manage.py makemessages -v 3 --no-wrap --locale=pl_PL
python manage.py makemessages -v 3 --no-wrap --ignore ".*" --locale=pl_PL
python manage.py compilemessages -v 3

Binary file modified example_project/locales/pl_PL/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion example_project/locales/pl_PL/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-27 11:06+0000\n"
"POT-Creation-Date: 2017-11-27 12:41+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
Binary file modified src/django_opt_out/locales/pl_PL/LC_MESSAGES/django.mo
Binary file not shown.
24 changes: 12 additions & 12 deletions src/django_opt_out/locales/pl_PL/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-27 11:06+0000\n"
"POT-Creation-Date: 2017-11-27 12:41+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -170,6 +170,16 @@ msgstr ""
msgid "Your Opt-out was removed"
msgstr "Twoja rezygnacja została anulowana"

#: build/lib/django_opt_out/templates/django_opt_out/OptOut/removed.html:10
#: src/django_opt_out/templates/django_opt_out/OptOut/removed.html:10
msgid "Thank you for changing your mind :)"
msgstr "Dziękujemy za zmianę zdania!"

#: build/lib/django_opt_out/templates/django_opt_out/OptOut/removed.html:11
#: src/django_opt_out/templates/django_opt_out/OptOut/removed.html:11
msgid "You are back in!"
msgstr "Jesteś z powrotem!"

#: build/lib/django_opt_out/templates/django_opt_out/OptOut/success.html:8
#: src/django_opt_out/templates/django_opt_out/OptOut/success.html:8
msgid "Thank you for your feedback!"
Expand All @@ -189,7 +199,7 @@ msgstr "Usuń rezygnację"
#: src/django_opt_out/templates/django_opt_out/OptOut/success_apologies.html:2
msgid ""
"\n"
" <p>Again, please accept our apologies fro any inconvenience that we cased you.</p>\n"
" <p>Again, please accept our apologies for any inconvenience that we cased you.</p>\n"
" <p>If you would like to change your feedback or reconsider your out out decision you can do that anytime.</p>\n"
msgstr ""
"\n"
Expand All @@ -199,13 +209,3 @@ msgstr ""
#: build/lib/django_opt_out/views.py:85 src/django_opt_out/views.py:85
msgid "Request authentication failed, secret or email is incorrect."
msgstr "Uwierzytelnienie nie powiodło się, nieprawidłowy sekret lub email"

#: src/django_opt_out/templates/django_opt_out/OptOut/removed.html:10
#, fuzzy
#| msgid "Thank you for your feedback!"
msgid "Thank you for changing your mind :)"
msgstr "Dziękujemy za Twoją opinię!"

#: src/django_opt_out/templates/django_opt_out/OptOut/removed.html:11
msgid "You are back in!"
msgstr "Jesteś z powrotem!"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load i18n %}
{% blocktrans %}
<p>Again, please accept our apologies fro any inconvenience that we cased you.</p>
<p>Again, please accept our apologies for any inconvenience that we cased you.</p>
<p>If you would like to change your feedback or reconsider your out out decision you can do that anytime.</p>
{% endblocktrans %}

0 comments on commit ec79744

Please sign in to comment.