From ab2df4c46a4516e4f95ac66abc18524d86ddd6fb Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 30 May 2021 23:28:54 +0200 Subject: [PATCH] Change pt_br to pt for ease of testing --- settings.py | 2 +- survey/locale/de/LC_MESSAGES/django.po | 2 +- survey/locale/es/LC_MESSAGES/django.po | 2 +- survey/locale/fr/LC_MESSAGES/django.po | 2 +- survey/locale/id/LC_MESSAGES/django.po | 2 +- survey/locale/ja/LC_MESSAGES/django.po | 2 +- survey/locale/pl/LC_MESSAGES/django.po | 2 +- survey/locale/pt-br/LC_MESSAGES/django.mo | Bin 6396 -> 0 bytes survey/locale/pt-br/LC_MESSAGES/django.po | 385 ------------------ .../{pt_br => pt}/LC_MESSAGES/django.po | 2 +- survey/locale/ru/LC_MESSAGES/django.po | 2 +- survey/locale/zh/LC_MESSAGES/django.po | 2 +- .../tests/locale/test_locale_normalization.py | 2 +- 13 files changed, 11 insertions(+), 396 deletions(-) delete mode 100644 survey/locale/pt-br/LC_MESSAGES/django.mo delete mode 100644 survey/locale/pt-br/LC_MESSAGES/django.po rename survey/locale/{pt_br => pt}/LC_MESSAGES/django.po (99%) diff --git a/settings.py b/settings.py index 9ba793cf..4a741950 100644 --- a/settings.py +++ b/settings.py @@ -134,7 +134,7 @@ ("zh", "Chinese"), ("de", "German"), ("id", "Indonesian"), - ("pt-br", "Brazilian Portuguese"), + ("pt", "Portuguese"), ("pl", "Polish"), ) diff --git a/survey/locale/de/LC_MESSAGES/django.po b/survey/locale/de/LC_MESSAGES/django.po index 571c820e..b864ef0f 100644 --- a/survey/locale/de/LC_MESSAGES/django.po +++ b/survey/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2021-01-23 11:53+0000\n" "Last-Translator: b' <>'\n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/es/LC_MESSAGES/django.po b/survey/locale/es/LC_MESSAGES/django.po index f7e3f7c8..f423f966 100644 --- a/survey/locale/es/LC_MESSAGES/django.po +++ b/survey/locale/es/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2018-10-06 20:42+0000\n" "Last-Translator: Javier Ordóñez <>\n" "Language-Team: \n" diff --git a/survey/locale/fr/LC_MESSAGES/django.po b/survey/locale/fr/LC_MESSAGES/django.po index ad5368ed..3c47fc04 100644 --- a/survey/locale/fr/LC_MESSAGES/django.po +++ b/survey/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2020-02-23 14:44+0000\n" "Last-Translator: b' <>'\n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/id/LC_MESSAGES/django.po b/survey/locale/id/LC_MESSAGES/django.po index 141386b7..77366c10 100644 --- a/survey/locale/id/LC_MESSAGES/django.po +++ b/survey/locale/id/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2020-10-04 15:40+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/ja/LC_MESSAGES/django.po b/survey/locale/ja/LC_MESSAGES/django.po index b09c2a40..84318701 100644 --- a/survey/locale/ja/LC_MESSAGES/django.po +++ b/survey/locale/ja/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2018-04-09 00:52+0000\n" "Last-Translator: b' '\n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/pl/LC_MESSAGES/django.po b/survey/locale/pl/LC_MESSAGES/django.po index 5b4126b5..f0246588 100644 --- a/survey/locale/pl/LC_MESSAGES/django.po +++ b/survey/locale/pl/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/pt-br/LC_MESSAGES/django.mo b/survey/locale/pt-br/LC_MESSAGES/django.mo deleted file mode 100644 index e6e35d23037c92a06edc9a99331f9b7371808362..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6396 zcmbW4TZ~;*8Gsi8BI5-tA_^+2N}Z1M96BR~GNsUVW(tMQrJW0iAX#(vnsau$&t9kd zG8bbIAs8NvQ4-=cghmC$5WGJ$_`*P9qLByn!I=1<51RNu#0T|Bzkltu&rD$|#GP5^ z+iUH0`PaYx|6l+7aoYutE1r4E2PiMTMX6ITxsV^8-4`j9!eKZCpM;mdSK!6)Kk!m` z@!OQT3|?}wK_nQsWb3+{pP zeH>m5k3*3s3+)dDehKoYp5W&y_+2;vUxXiqFT)GqtMG&HpKuUfPN!kGABqYbl=Vv} z`}`afxgUcJQQv^?h2IJ7&j-E)-$DDYp~&|KDEs*vyb@l>q(e}{x57K1%zrF!5z4q6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_$TVzSyYg9yNR*?K&@Rc9 zlce%0Io((i zweF_2?)n-3zk`wd`~+U)jblSMsBA-%{XV(Ob*@g5xR*)K?!x_Zz2I8w&*&5Dr~CUa zD_^hAhs{-Stp8Hya(H(g;%vGcb9^E3lysv%9D}xr!*Es$7gP|r?c^6Mz9Ay^N6-t? zpejNLSGR1#1^<%3QRWii>YyP1L}~u9@^)7n!vNj3%HYa6o!iLZnwo1NMfpZT-#``1 zsw@txB(*N&yM> zVj&{1UasOkktS^MwX!#rt+T!ui{H2hBK$}B%f3niWvP$^dUc}j+L^rXCn1a>Dq*ev zO)|hZb1DrtN!hIopl6~?noWuvdv~a;y0i&+?x^LhI(7Ozs`hLc&W(71vL5 zEj9H--f~GNM6>@Z7sTG)Y%VBHWHY?Sm8!qf`lZeXBmS|&SbRoUg>XrV*lU^byHj>a f#@8`JOcDIGeyLJJI`xA|UiHm~RBe%pL{0q{vWxss diff --git a/survey/locale/pt-br/LC_MESSAGES/django.po b/survey/locale/pt-br/LC_MESSAGES/django.po deleted file mode 100644 index 8c1c1818..00000000 --- a/survey/locale/pt-br/LC_MESSAGES/django.po +++ /dev/null @@ -1,385 +0,0 @@ -# django-survey-and-report's i18n file -# This file is distributed under the MIT license. -# Rafael Capaci , 2020. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" -"PO-Revision-Date: 2020-10-12 22:41+0000\n" -"Last-Translator: b' '\n" -"Language-Team: \n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.7.1\n" -"X-Translated-Using: django-rosetta 0.9.5\n" - -#: dev/templates/base.html:3 -msgid "en" -msgstr "pt_BR" - -#: dev/templates/base.html:5 -msgid "DEVELOPMENT django-Survey" -msgstr "DESENVOLVIMENTO django-Survey" - -#: survey/actions.py:14 -#, python-format -msgid "%(count)d survey was successfully marked as published." -msgid_plural "%(count)d surveys were successfully marked as published" -msgstr[0] "%(count)d pesquisa foi publicada com sucesso." -msgstr[1] "%(count)d pesquisas foram publicadas com sucesso." - -#: survey/actions.py:23 -msgid "Mark selected surveys as published" -msgstr "Publicar as pesquisas selecionadas" - -#: survey/exporter/csv/survey2csv.py:38 -msgid "Anonymous" -msgstr "Anônimo" - -#: survey/exporter/csv/survey2csv.py:68 -msgid "user" -msgstr "usuário" - -#: survey/exporter/csv/survey2csv.py:112 -msgid "Export to CSV" -msgstr "Exportar para o formato CSV" - -#: survey/exporter/tex/question2tex.py:64 -msgid "with" -msgstr "com" - -# there is a mistake in the EN singular and plural cases. -# Entrevistado reffers to all surveyed. -#: survey/exporter/tex/question2tex.py:66 -#, python-format -msgid "%(min_cardinality)d respondents or more" -msgid_plural "%(min_cardinality)d respondent or more" -msgstr[0] "%(min_cardinality)d entrevistado ou mais" -msgstr[1] "%(min_cardinality)d entrevistados o mais." - -#: survey/exporter/tex/question2tex.py:78 -msgid "excluding" -msgstr "excluindo" - -#: survey/exporter/tex/question2tex.py:83 -#: survey/exporter/tex/question2tex.py:117 -#: survey/exporter/tex/question2tex.py:120 -msgid "and" -msgstr "e" - -#: survey/exporter/tex/question2tex.py:114 -#: survey/exporter/tex/question2tex.py:115 -msgid "or" -msgstr "ou" - -#: survey/exporter/tex/question2tex.py:129 -msgid "Repartition of answers" -msgstr "Distribuição de respostas" - -#: survey/exporter/tex/question2tex_chart.py:68 -msgid "Left blank" -msgstr "Deixada em branco" - -#: survey/exporter/tex/question2tex_chart.py:113 -#: survey/exporter/tex/question2tex_sankey.py:57 -msgid "for the question" -msgstr "para a pergunta" - -#: survey/exporter/tex/question2tex_chart.py:123 -msgid "No answers for this question." -msgstr "Sem respostas para esta pergunta." - -#: survey/exporter/tex/question2tex_raw.py:26 -msgid "Participant" -msgstr "Participante" - -#: survey/exporter/tex/question2tex_sankey.py:29 -msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." -msgstr "Não foi possível gerar o PDF, o 'pySankeyBeta' precisa estar instalado" - -# as in "opposite of right" -#: survey/exporter/tex/question2tex_sankey.py:57 -msgid "left" -msgstr "esquerda" - -#: survey/exporter/tex/question2tex_sankey.py:59 -msgid "in relation with the question" -msgstr "em relação con a pergunta" - -# as in "opposite of left" -#: survey/exporter/tex/question2tex_sankey.py:61 -msgid "right" -msgstr "direita" - -#: survey/exporter/tex/survey2tex.py:32 -msgid "Cannot generate PDF, we need 'xelatex' to be installed." -msgstr "Não foi possível gerar o PDF, o 'xelatex' precisa estar instalado" - -#: survey/exporter/tex/survey2tex.py:82 -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:85 -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:159 -msgid "No questions to display in this survey." -msgstr "Sem perguntas para esta pergunta" - -#: survey/exporter/tex/survey2tex.py:189 -msgid "Cannot export multiple PDF, choose only one." -msgstr "Não é possível exportar vários PDF, selecione somente um." - -#: survey/exporter/tex/survey2tex.py:198 -#, python-format -msgid "Error during PDF generation: %s" -msgstr "Erro durante a geração do PDF: %s" - -#: survey/exporter/tex/survey2tex.py:205 -msgid "Export to PDF" -msgstr "Exportar para o formato PDF" - -#: survey/models/answer.py:23 -msgid "Question" -msgstr "Pergunta" - -#: survey/models/answer.py:24 -msgid "Response" -msgstr "Resposta" - -#: survey/models/answer.py:25 survey/models/response.py:27 -msgid "Creation date" -msgstr "Data de criação" - -#: survey/models/answer.py:26 survey/models/response.py:28 -msgid "Update date" -msgstr "Data de atualização" - -#: survey/models/answer.py:27 -msgid "Content" -msgstr "Conteúdo" - -#: survey/models/category.py:12 survey/models/survey.py:27 -msgid "Name" -msgstr "Nome" - -#: survey/models/category.py:13 survey/models/question.py:80 -#: survey/models/response.py:29 -msgid "Survey" -msgstr "Pesquisa" - -#: survey/models/category.py:14 -msgid "Display order" -msgstr "Ordem de apresentação" - -#: survey/models/category.py:15 survey/models/survey.py:28 -msgid "Description" -msgstr "Descrição" - -#: survey/models/category.py:19 -msgid "category" -msgstr "categoria" - -#: survey/models/category.py:20 -msgid "categories" -msgstr "categorias" - -# "if the question type" repeated in english original -#: survey/models/question.py:23 -msgid "" -"The choices field is only used if the question type\n" -"if the question type is 'radio', 'select', or\n" -"'select multiple' provide a comma-separated list of\n" -"options for this question ." -msgstr "" -"O campo de opções é usado somente se o tipo da pergunta\n" -"é 'radio', 'select', ou 'select multiple'. Forneça uma\n" -"lista separada por vírgulas de opções para esta questão" - -#: survey/models/question.py:63 -msgid "text (multiple line)" -msgstr "texto (múltiplas linhas)" - -#: survey/models/question.py:64 -msgid "short text (one line)" -msgstr "texto curto (uma linha)" - -#: survey/models/question.py:65 -msgid "radio" -msgstr "radio" - -#: survey/models/question.py:66 -msgid "select" -msgstr "seleção" - -#: survey/models/question.py:67 -msgid "Select Multiple" -msgstr "Seleção múltipla" - -#: survey/models/question.py:68 -msgid "Select Image" -msgstr "Seleção de imagem" - -#: survey/models/question.py:69 -msgid "integer" -msgstr "inteiro" - -#: survey/models/question.py:70 -msgid "float" -msgstr "float" - -#: survey/models/question.py:71 -msgid "date" -msgstr "data" - -#: survey/models/question.py:74 -msgid "Text" -msgstr "Texto" - -#: survey/models/question.py:75 -msgid "Order" -msgstr "Ordem" - -#: survey/models/question.py:76 -msgid "Required" -msgstr "Obrigatório" - -#: survey/models/question.py:78 -msgid "Category" -msgstr "Categoria" - -#: survey/models/question.py:81 -msgid "Type" -msgstr "Tipo" - -#: survey/models/question.py:82 -msgid "Choices" -msgstr "Opções" - -#: survey/models/question.py:85 -msgid "question" -msgstr "pergunta" - -#: survey/models/question.py:86 -msgid "questions" -msgstr "perguntas" - -#: survey/models/response.py:30 -msgid "User" -msgstr "Usuário" - -#: survey/models/response.py:31 -msgid "Interview unique identifier" -msgstr "Identificador único da entrevista" - -#: survey/models/response.py:34 -msgid "Set of answers to surveys" -msgstr "Conjunto de respostas das pesquisas" - -#: survey/models/response.py:35 -msgid "Sets of answers to surveys" -msgstr "Conjuntos de respostas das pesquisas" - -#: survey/models/survey.py:22 -msgid "By question" -msgstr "Por pregunta" - -#: survey/models/survey.py:23 -msgid "By category" -msgstr "Por categoria" - -#: survey/models/survey.py:24 -msgid "All in one page" -msgstr "Tudo em uma página" - -#: survey/models/survey.py:29 -msgid "Users can see it and answer it" -msgstr "Os usuários podem visualizar e responder" - -#: survey/models/survey.py:30 -msgid "Only authenticated users can see it and answer it" -msgstr "Somente usuários autenticados podem visualizar e responder" - -#: survey/models/survey.py:31 -msgid "Users can edit their answers afterwards" -msgstr "Os usuários podem editar suas respostas posteriormente" - -#: survey/models/survey.py:33 -msgid "Display method" -msgstr "Modo de visualização" - -#: survey/models/survey.py:35 -msgid "Template" -msgstr "Modelo" - -#: survey/models/survey.py:36 -msgid "Publication date" -msgstr "Data de publicação" - -#: survey/models/survey.py:37 -msgid "Expiration date" -msgstr "Data de expiração" - -#: survey/models/survey.py:40 -msgid "survey" -msgstr "pesquisa" - -#: survey/models/survey.py:41 -msgid "surveys" -msgstr "pesquisas" - -#: survey/templates/survey/completed.html:4 -#: survey/templates/survey/completed.html:7 -msgid "Survey completed" -msgstr "Pesquisa completa" - -#: survey/templates/survey/completed.html:8 -msgid "Sorry! Your already replied to our survey" -msgstr "Desculpe, mas Você já respondeu esta pesquisa" - -#: survey/templates/survey/completed.html:9 -msgid "Back to survey list" -msgstr "Voltar a lista de pesquisas" - -#: survey/templates/survey/confirm.html:4 -#: survey/templates/survey/confirm.html:7 -msgid "Survey submitted" -msgstr "Pesquisa enviada" - -#: survey/templates/survey/confirm.html:10 -msgid "Thanks! Your answers have been saved" -msgstr "Obrigado! Suas respostas foram enviadas" - -#: survey/templates/survey/confirm.html:14 -msgid "You can always come back and change them." -msgstr "Você pode voltar e atualizar suas respostas." - -#: survey/templates/survey/list.html:6 -msgid "Welcome to the Django Survey app" -msgstr "Seja bem-vindo ao Django Survey" - -#: survey/templates/survey/list.html:10 -msgid "Take the Survey" -msgstr "Responder pesquisa" - -#: survey/templates/survey/survey.html:44 -msgid "Answer this part" -msgstr "Reponda esta seção" - -#: survey/templates/survey/survey.html:57 -msgid "Questions" -msgstr "Perguntas" - -#: survey/templates/survey/survey.html:67 -msgid "Next!" -msgstr "" - -#: survey/templates/survey/survey.html:73 -msgid "I'm done!" -msgstr "Terminei" diff --git a/survey/locale/pt_br/LC_MESSAGES/django.po b/survey/locale/pt/LC_MESSAGES/django.po similarity index 99% rename from survey/locale/pt_br/LC_MESSAGES/django.po rename to survey/locale/pt/LC_MESSAGES/django.po index 2fffab87..3f777f21 100644 --- a/survey/locale/pt_br/LC_MESSAGES/django.po +++ b/survey/locale/pt/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-05-30 21:16+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/survey/locale/ru/LC_MESSAGES/django.po b/survey/locale/ru/LC_MESSAGES/django.po index 475f31b5..cdf1a974 100644 --- a/survey/locale/ru/LC_MESSAGES/django.po +++ b/survey/locale/ru/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2019-03-10 22:53+0230\n" "Last-Translator: b' '\n" "Language-Team: \n" diff --git a/survey/locale/zh/LC_MESSAGES/django.po b/survey/locale/zh/LC_MESSAGES/django.po index 0a3a38ac..61f92bf0 100644 --- a/survey/locale/zh/LC_MESSAGES/django.po +++ b/survey/locale/zh/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-24 14:21+0000\n" +"POT-Creation-Date: 2021-05-30 21:28+0000\n" "PO-Revision-Date: 2018-04-09 00:52+0000\n" "Last-Translator: Zhu Sheng Li \n" "Language-Team: LANGUAGE \n" diff --git a/survey/tests/locale/test_locale_normalization.py b/survey/tests/locale/test_locale_normalization.py index 84009350..2dc34ec3 100644 --- a/survey/tests/locale/test_locale_normalization.py +++ b/survey/tests/locale/test_locale_normalization.py @@ -29,7 +29,7 @@ def test_normalization(self): ] if django_version > "3.0": for x in settings.LANGUAGES: - if x[0] != "en": + if x[0] not in ["en"]: makemessages_command += ["--locale", x[0]] logging.warning("Command to launch for makemessages is : %s", " ".join(makemessages_command)) number_of_language = len(os.listdir(self.LOCALE_PATH))