Skip to content

Commit

Permalink
Add .mo file for brazilian portuguese and indonesian
Browse files Browse the repository at this point in the history
Closes #106
  • Loading branch information
Pierre-Sassoulas committed Nov 8, 2020
1 parent 60318c2 commit ee3c351
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ python manage.py runserver
# Then go to http://localhost:8000/rosetta to translate
python manage.py makemessages --no-obsolete --no-wrap --ignore venv
# Add "--locale ru --locale es --locale fr --locale ja --locale zh --locale de
# --locale id" for version of django above 3
# --locale id --locale pt-br" for version of django above 3
git add survey/locale/
...
~~~~
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

setuptools.setup(
name="django-survey-and-report",
version="1.3.27",
version="1.3.28",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down
Binary file modified survey/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified survey/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified survey/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added survey/locale/id/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified survey/locale/ja/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added survey/locale/pt-br/LC_MESSAGES/django.mo
Binary file not shown.
13 changes: 3 additions & 10 deletions survey/locale/pt-br/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,15 @@ msgstr "Não foi possível gerar o PDF, o 'xelatex' precisa estar instalado"

#: survey/exporter/tex/survey2tex.py:44
msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed."
msgstr ""
"Não foi possível gerar o PDF, o 'pySankeyBeta' precisa estar instalado"
msgstr "Não foi possível gerar o PDF, o 'pySankeyBeta' precisa estar instalado"

#: survey/exporter/tex/survey2tex.py:94
msgid "We could not render a chart because the type"
msgstr "Não foi possível gerar o gráfico por conta do tipo"

#: survey/exporter/tex/survey2tex.py:97
msgid ""
"is not a standard type nor the path to an importable valid Question2Tex "
"child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', "
"'polar' or 'package.path.MyQuestion2TexCustomClass'"
msgstr ""
"não é um tipo padrão nem o caminho para uma classe filho Question2Tex válida"
" e importável. Escolha entre 'raw', 'sankey', 'pie', 'cloud', 'square', "
"'polar' ou 'package.path.MyQuestion2TexCustomClass'"
msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'"
msgstr "não é um tipo padrão nem o caminho para uma classe filho Question2Tex válida e importável. Escolha entre 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' ou 'package.path.MyQuestion2TexCustomClass'"

#: survey/exporter/tex/survey2tex.py:171
msgid "No questions to display in this survey."
Expand Down
Binary file modified survey/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified survey/locale/zh/LC_MESSAGES/django.mo
Binary file not shown.

0 comments on commit ee3c351

Please sign in to comment.