Skip to content

Commit 5629b09

Browse files
authored
Re-format translation files to pass a lint check (#2621)
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.
1 parent 2c4679b commit 5629b09

File tree

5 files changed

+49
-69
lines changed

5 files changed

+49
-69
lines changed

mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ msgstr "Buscando..."
7676
#: mkdocs/themes/readthedocs/searchbox.html:3
7777
msgid "Search docs"
7878
msgstr "Buscar documentos"
79+

mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ msgstr ""
1010
"PO-Revision-Date: 2021-02-23 23:56+0100\n"
1111
"Last-Translator: Alexys Jacob @ultrabug\n"
1212
"Language: fr\n"
13+
"Language-Team: fr <LL@li.org>\n"
1314
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=utf-8\n"
1617
"Content-Transfer-Encoding: 8bit\n"
17-
"Generated-By: Babel 2.9.0\n"
18+
"Generated-By: Babel 2.9.1\n"
1819

1920
#: mkdocs/themes/readthedocs/404.html:7
2021
msgid "Page not found"

mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ msgstr "前へ"
4747
msgid ""
4848
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
4949
"%(rtd_link)s."
50-
msgstr "%(rtd_link)s 提供の %(sphinx_link)s を使って "
51-
"%(mkdocs_link)s でビルドされました。"
50+
msgstr "%(rtd_link)s 提供の %(sphinx_link)s を使って %(mkdocs_link)s でビルドされました。"
5251

5352
#: mkdocs/themes/readthedocs/search.html:5
5453
msgid "Search Results"
Lines changed: 40 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Portuguese translations for MkDocs.
1+
# Portuguese (Brazil) translations for MkDocs.
22
# Copyright (C) 2021 MkDocs
33
# This file is distributed under the same license as the MkDocs project.
44
#
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: MkDocs 1.2\n"
88
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
9-
"POT-Creation-Date: 2021-04-08 22:44+0200\n"
9+
"POT-Creation-Date: 2021-04-08 22:46+0200\n"
1010
"PO-Revision-Date: 2021-09-07 12:06+0200\n"
1111
"Last-Translator: Nicole Buitoni <ni.buitoni@gmail.com>\n"
1212
"Language: pt_BR\n"
@@ -17,81 +17,61 @@ msgstr ""
1717
"Content-Transfer-Encoding: 8bit\n"
1818
"Generated-By: Babel 2.9.1\n"
1919

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

24-
#: mkdocs/themes/mkdocs/base.html:107
25-
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
26-
#: mkdocs/themes/mkdocs/search-modal.html:5
27-
msgid "Search"
28-
msgstr "Buscar"
29-
30-
#: mkdocs/themes/mkdocs/base.html:117
31-
msgid "Previous"
32-
msgstr "Anterior"
33-
34-
#: mkdocs/themes/mkdocs/base.html:122
35-
msgid "Next"
36-
msgstr "Seguinte"
24+
#: mkdocs/themes/readthedocs/breadcrumbs.html:3
25+
msgid "Docs"
26+
msgstr ""
3727

38-
#: mkdocs/themes/mkdocs/base.html:133 mkdocs/themes/mkdocs/base.html:135
39-
#: mkdocs/themes/mkdocs/base.html:137 mkdocs/themes/mkdocs/base.html:139
28+
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
4029
#, python-format
4130
msgid "Edit on %(repo_name)s"
4231
msgstr "Editar em %(repo_name)s"
4332

44-
#: mkdocs/themes/mkdocs/base.html:179
45-
#, python-format
46-
msgid "Documentation built with %(mkdocs_link)s."
47-
msgstr "Documentação construída com %(mkdocs_link)s."
48-
49-
#: mkdocs/themes/mkdocs/keyboard-modal.html:5
50-
msgid "Keyboard Shortcuts"
51-
msgstr "Atalhos de teclado"
52-
53-
#: mkdocs/themes/mkdocs/keyboard-modal.html:6
54-
#: mkdocs/themes/mkdocs/search-modal.html:6
55-
msgid "Close"
56-
msgstr "Fechar"
57-
58-
#: mkdocs/themes/mkdocs/keyboard-modal.html:12
59-
msgid "Keys"
60-
msgstr "Teclas"
61-
62-
#: mkdocs/themes/mkdocs/keyboard-modal.html:13
63-
msgid "Action"
64-
msgstr "Ação"
65-
66-
#: mkdocs/themes/mkdocs/keyboard-modal.html:19
67-
msgid "Open this help"
68-
msgstr "Abrir esta ajuda"
33+
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
34+
#: mkdocs/themes/readthedocs/footer.html:7
35+
#: mkdocs/themes/readthedocs/versions.html:14
36+
msgid "Next"
37+
msgstr "Seguinte"
6938

70-
#: mkdocs/themes/mkdocs/keyboard-modal.html:23
71-
msgid "Next page"
72-
msgstr "Próxima página"
39+
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
40+
#: mkdocs/themes/readthedocs/footer.html:10
41+
#: mkdocs/themes/readthedocs/versions.html:11
42+
msgid "Previous"
43+
msgstr "Anterior"
7344

74-
#: mkdocs/themes/mkdocs/keyboard-modal.html:27
75-
msgid "Previous page"
76-
msgstr "Página anterior"
45+
#: mkdocs/themes/readthedocs/footer.html:25
46+
#, python-format
47+
msgid ""
48+
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
49+
"%(rtd_link)s."
50+
msgstr ""
7751

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

83-
#: mkdocs/themes/mkdocs/search-modal.html:12
84-
msgid "Search..."
85-
msgstr "Buscando..."
56+
#: mkdocs/themes/readthedocs/search.html:9
57+
msgid "Search the Docs"
58+
msgstr ""
8659

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

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

95-
#: mkdocs/themes/mkdocs/toc.html:3
96-
msgid "Table of Contents"
97-
msgstr "Tabela de Conteúdos"
69+
#: mkdocs/themes/readthedocs/search.html:13
70+
#, fuzzy
71+
msgid "Searching..."
72+
msgstr "Buscando..."
73+
74+
#: mkdocs/themes/readthedocs/searchbox.html:3
75+
msgid "Search docs"
76+
msgstr ""
77+

mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: MkDocs\n"
7+
"Project-Id-Version: MkDocs 1.2\n"
88
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
99
"POT-Creation-Date: 2021-04-08 22:46+0200\n"
1010
"PO-Revision-Date: 2021-07-14 06:01+0800\n"
1111
"Last-Translator: xingkong0113 <dingpengyu06@gmail.com>\n"
1212
"Language: zh_CN\n"
1313
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\n"
14-
"Plural-Forms: nplurals=1; plural=0;\n"
14+
"Plural-Forms: nplurals=1; plural=0\n"
1515
"MIME-Version: 1.0\n"
16-
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Type: text/plain; charset=utf-8\n"
1717
"Content-Transfer-Encoding: 8bit\n"
1818
"Generated-By: Babel 2.9.1\n"
19-
"X-Generator: Poedit 3.0\n"
2019

2120
#: mkdocs/themes/readthedocs/404.html:7
2221
msgid "Page not found"
@@ -48,8 +47,7 @@ msgstr "上一张"
4847
msgid ""
4948
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
5049
"%(rtd_link)s."
51-
msgstr ""
52-
"用%(mkdocs_link)s构建,使用%(rtd_link)s提供的%(sphinx_link)s。"
50+
msgstr "用%(mkdocs_link)s构建,使用%(rtd_link)s提供的%(sphinx_link)s。"
5351

5452
#: mkdocs/themes/readthedocs/search.html:5
5553
msgid "Search Results"
@@ -75,3 +73,4 @@ msgstr "搜索中..."
7573
#: mkdocs/themes/readthedocs/searchbox.html:3
7674
msgid "Search docs"
7775
msgstr "搜索文档"
76+

0 commit comments

Comments
 (0)