Skip to content

Commit

Permalink
Re-format translation files to pass a lint check (#2621)
Browse files Browse the repository at this point in the history
Apparently the file 'mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po' was just copied from '/mkdocs/' theme, making the translation incomplete, and the reformat just tries its best to pick up the pieces.
  • Loading branch information
oprypin authored Oct 12, 2021
1 parent 2c4679b commit 5629b09
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ msgstr "Buscando..."
#: mkdocs/themes/readthedocs/searchbox.html:3
msgid "Search docs"
msgstr "Buscar documentos"

3 changes: 2 additions & 1 deletion mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ msgstr ""
"PO-Revision-Date: 2021-02-23 23:56+0100\n"
"Last-Translator: Alexys Jacob @ultrabug\n"
"Language: fr\n"
"Language-Team: fr <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"
"Generated-By: Babel 2.9.1\n"

#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
Expand Down
3 changes: 1 addition & 2 deletions mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ msgstr "前へ"
msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr "%(rtd_link)s 提供の %(sphinx_link)s を使って "
"%(mkdocs_link)s でビルドされました。"
msgstr "%(rtd_link)s 提供の %(sphinx_link)s を使って %(mkdocs_link)s でビルドされました。"

#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"
Expand Down
100 changes: 40 additions & 60 deletions mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Portuguese translations for MkDocs.
# Portuguese (Brazil) translations for MkDocs.
# Copyright (C) 2021 MkDocs
# This file is distributed under the same license as the MkDocs project.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-04-08 22:44+0200\n"
"POT-Creation-Date: 2021-04-08 22:46+0200\n"
"PO-Revision-Date: 2021-09-07 12:06+0200\n"
"Last-Translator: Nicole Buitoni <[email protected]>\n"
"Language: pt_BR\n"
Expand All @@ -17,81 +17,61 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"

#: mkdocs/themes/mkdocs/404.html:8
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
msgstr "Página não encontrada"

#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Buscar"

#: mkdocs/themes/mkdocs/base.html:117
msgid "Previous"
msgstr "Anterior"

#: mkdocs/themes/mkdocs/base.html:122
msgid "Next"
msgstr "Seguinte"
#: mkdocs/themes/readthedocs/breadcrumbs.html:3
msgid "Docs"
msgstr ""

#: mkdocs/themes/mkdocs/base.html:133 mkdocs/themes/mkdocs/base.html:135
#: mkdocs/themes/mkdocs/base.html:137 mkdocs/themes/mkdocs/base.html:139
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editar em %(repo_name)s"

#: mkdocs/themes/mkdocs/base.html:179
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Documentação construída com %(mkdocs_link)s."

#: mkdocs/themes/mkdocs/keyboard-modal.html:5
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"

#: mkdocs/themes/mkdocs/keyboard-modal.html:6
#: mkdocs/themes/mkdocs/search-modal.html:6
msgid "Close"
msgstr "Fechar"

#: mkdocs/themes/mkdocs/keyboard-modal.html:12
msgid "Keys"
msgstr "Teclas"

#: mkdocs/themes/mkdocs/keyboard-modal.html:13
msgid "Action"
msgstr "Ação"

#: mkdocs/themes/mkdocs/keyboard-modal.html:19
msgid "Open this help"
msgstr "Abrir esta ajuda"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:14
msgid "Next"
msgstr "Seguinte"

#: mkdocs/themes/mkdocs/keyboard-modal.html:23
msgid "Next page"
msgstr "Próxima página"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:11
msgid "Previous"
msgstr "Anterior"

#: mkdocs/themes/mkdocs/keyboard-modal.html:27
msgid "Previous page"
msgstr "Página anterior"
#: mkdocs/themes/readthedocs/footer.html:25
#, python-format
msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr ""

#: mkdocs/themes/mkdocs/search-modal.html:9
msgid "From here you can search these documents. Enter your search terms below."
#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"
msgstr ""
"A partir daqui você pode buscar pelo documento. Digite os termos de pesquisa abaixo."

#: mkdocs/themes/mkdocs/search-modal.html:12
msgid "Search..."
msgstr "Buscando..."
#: mkdocs/themes/readthedocs/search.html:9
msgid "Search the Docs"
msgstr ""

#: mkdocs/themes/mkdocs/search-modal.html:12
#: mkdocs/themes/readthedocs/search.html:9
#: mkdocs/themes/readthedocs/searchbox.html:3
msgid "Type search term here"
msgstr "Digite o termo a ser buscado aqui"

#: mkdocs/themes/mkdocs/search-modal.html:15
#: mkdocs/themes/readthedocs/search.html:12
msgid "No results found"
msgstr "Não foram encontrados resultados"

#: mkdocs/themes/mkdocs/toc.html:3
msgid "Table of Contents"
msgstr "Tabela de Conteúdos"
#: mkdocs/themes/readthedocs/search.html:13
#, fuzzy
msgid "Searching..."
msgstr "Buscando..."

#: mkdocs/themes/readthedocs/searchbox.html:3
msgid "Search docs"
msgstr ""

11 changes: 5 additions & 6 deletions mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs\n"
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-04-08 22:46+0200\n"
"PO-Revision-Date: 2021-07-14 06:01+0800\n"
"Last-Translator: xingkong0113 <[email protected]>\n"
"Language: zh_CN\n"
"Language-Team: zh_Hans_CN <[email protected]>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Plural-Forms: nplurals=1; plural=0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0\n"

#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
Expand Down Expand Up @@ -48,8 +47,7 @@ msgstr "上一张"
msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr ""
"用%(mkdocs_link)s构建,使用%(rtd_link)s提供的%(sphinx_link)s。"
msgstr "用%(mkdocs_link)s构建,使用%(rtd_link)s提供的%(sphinx_link)s。"

#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"
Expand All @@ -75,3 +73,4 @@ msgstr "搜索中..."
#: mkdocs/themes/readthedocs/searchbox.html:3
msgid "Search docs"
msgstr "搜索文档"

0 comments on commit 5629b09

Please sign in to comment.