Allow an empty repo_url when still specifying a edit_uri (#2928)

This commit is contained in:
Oleh Prypin
2022-08-15 18:54:26 +02:00
committed by GitHub
parent 54db3df2e7
commit ca9c8c1a60
22 changed files with 354 additions and 190 deletions

View File

@@ -103,12 +103,24 @@ class Page:
self.abs_url = None
def _set_edit_url(self, repo_url, edit_uri):
if repo_url and edit_uri:
if edit_uri:
src_uri = self.file.src_uri
# Ensure urljoin behavior is correct
if not edit_uri.startswith(('?', '#')) and not repo_url.endswith('/'):
repo_url += '/'
self.edit_url = urljoin(repo_url, edit_uri + src_uri)
edit_uri += src_uri
if repo_url:
# Ensure urljoin behavior is correct
if not edit_uri.startswith(('?', '#')) and not repo_url.endswith('/'):
repo_url += '/'
else:
try:
parsed_url = urlsplit(edit_uri)
if not parsed_url.scheme or not parsed_url.netloc:
log.warning(
f"edit_uri: {edit_uri!r} is not a valid URL, it should include the http:// (scheme)"
)
except ValueError as e:
log.warning(f"edit_uri: {edit_uri!r} is not a valid URL: {e}")
self.edit_url = urljoin(repo_url, edit_uri)
else:
self.edit_url = None

View File

@@ -487,6 +487,10 @@ class PageTests(unittest.TestCase):
config={'repo_url': 'http://example.com/', 'edit_uri': '#edit/master/'},
edit_url='http://example.com/#edit/master/testing.md',
),
dict(
config={'edit_uri': 'http://example.com/edit/master'},
edit_url='http://example.com/edit/master/testing.md',
),
dict(
config={'repo_url': 'http://example.com', 'edit_uri': ''}, # Set to blank value
edit_url=None,
@@ -558,6 +562,14 @@ class PageTests(unittest.TestCase):
config={'repo_url': 'http://example.com/', 'edit_uri': '#edit/master/'},
edit_url='http://example.com/#edit/master/sub1/non-index.md',
),
dict(
config={'edit_uri': 'http://example.com/edit/master'},
edit_url='http://example.com/edit/master/sub1/non-index.md',
),
dict(
config={'repo_url': 'http://example.com', 'edit_uri': ''}, # Set to blank value
edit_url=None,
),
]:
with self.subTest(case['config']):
cfg = load_config(**case['config'], docs_dir=self.DOCS_DIR)
@@ -568,6 +580,26 @@ class PageTests(unittest.TestCase):
self.assertEqual(pg.url, 'sub1/non-index/')
self.assertEqual(pg.edit_url, case['edit_url'])
def test_page_edit_url_warning(self):
for case in [
dict(
config={'edit_uri': 'edit/master'},
edit_url='edit/master/testing.md',
warning="WARNING:mkdocs.structure.pages:edit_uri: "
"'edit/master/testing.md' is not a valid URL, it should include the http:// (scheme)",
),
]:
with self.subTest(case['config']):
with self.assertLogs('mkdocs', level='WARN') as cm:
cfg = load_config(**case['config'])
fl = File(
'testing.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']
)
pg = Page('Foo', fl, cfg)
self.assertEqual(pg.url, 'testing/')
self.assertEqual(pg.edit_url, case['edit_url'])
self.assertEqual(cm.output, [case['warning']])
@unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
def test_nested_page_edit_url_windows(self):
self.test_nested_page_edit_url(file_src_path='sub1\\non-index.md')

View File

@@ -144,8 +144,10 @@
<i class="fa fa-bitbucket"></i> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}
{%- elif config.repo_name == 'GitLab' -%}
<i class="fa fa-gitlab"></i> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}
{%- else -%}
{% trans repo_name=config.repo_name%}Edit on {{ repo_name }}{% endtrans %}
{%- elif config.repo_name -%}
{% trans repo_name=config.repo_name%}Edit on {{ repo_name }}{% endtrans %}
{% else %}
{% trans repo_name=config.repo_name%}Edit{% endtrans %}
{%- endif -%}
</a>
</li>

View File

@@ -1,47 +1,51 @@
# German translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-10-24 00:09+0200\n"
"Last-Translator: Marc Dietz <marc@projectleviathan.de>\n"
"Language: de\n"
"Language-Team: de <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "Seite nicht gefunden"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Suche"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "Zurück"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
msgstr "Weiter"
#: 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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Bearbeiten auf %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr "Bearbeiten"
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Diese Dokumentation wurde erstellt mit %(mkdocs_link)s."
@@ -77,8 +81,9 @@ msgstr "Vorherige Seite"
#: mkdocs/themes/mkdocs/search-modal.html:9
msgid "From here you can search these documents. Enter your search terms below."
msgstr "Von hier aus können Sie diese Dokumente durchsuchen. Geben Sie"
" unten Ihre Suchanfrage ein."
msgstr ""
"Von hier aus können Sie diese Dokumente durchsuchen. Geben Sie unten Ihre"
" Suchanfrage ein."
#: mkdocs/themes/mkdocs/search-modal.html:12
msgid "Search..."

View File

@@ -1,47 +1,51 @@
# Spanish translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-05-07 12:06+0200\n"
"Last-Translator: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>\n"
"Language: es\n"
"Language-Team: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "Página no encontrada"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Buscar"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "Anterior"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
msgstr "Siguiente"
#: 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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editar en %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr "Editar"
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Documentación construida con %(mkdocs_link)s."

View File

@@ -1,47 +1,51 @@
# Persian translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2022-03-03 15:49+0330\n"
"Last-Translator: Peyman Mohammadi <@peymanr34>\n"
"Language: fa\n"
"Language-Team: fa <LL@li.org>\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-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "صفحه یافت نشد"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "جستجو"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "قبلی"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "ویرایش در %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "مستندات ساخته شده توسط %(mkdocs_link)s."
@@ -77,7 +81,9 @@ msgstr "صفحه قبلی"
#: mkdocs/themes/mkdocs/search-modal.html:9
msgid "From here you can search these documents. Enter your search terms below."
msgstr "از این بخش می‌توانید اسناد را جستجو کنید. عبارت جستجوی خود را در بخش زیر وارد کنید."
msgstr ""
"از این بخش می‌توانید اسناد را جستجو کنید. عبارت جستجوی خود را در بخش زیر "
"وارد کنید."
#: mkdocs/themes/mkdocs/search-modal.html:12
msgid "Search..."

View File

@@ -1,47 +1,51 @@
# French translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-02-23 23:56+0100\n"
"Last-Translator: Alexys Jacob @ultrabug\n"
"Language: fr\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "Page non trouvée"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Rechercher"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "Précédent"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
msgstr "Suivant"
#: 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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editer dans %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr "Editer"
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Documentation générée avec %(mkdocs_link)s."

View File

@@ -6,43 +6,46 @@ 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2022-06-05 12:23+0200\n"
"Last-Translator: Francesco Maida <francesco.maida@gmail.com>\n"
"Language-Team: fr <LL@li.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0.1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "Pagina non trovata"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Cerca"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "Precedente"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
msgstr "Successivo"
#: 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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Modifica su %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr "Modificare"
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Documentazione creata con %(mkdocs_link)s."
@@ -78,7 +81,9 @@ msgstr "Pagina precedente"
#: mkdocs/themes/mkdocs/search-modal.html:9
msgid "From here you can search these documents. Enter your search terms below."
msgstr "Da qui puoi cercare questi documenti. Inserisci i termini di ricerca qui sotto."
msgstr ""
"Da qui puoi cercare questi documenti. Inserisci i termini di ricerca qui "
"sotto."
#: mkdocs/themes/mkdocs/search-modal.html:12
msgid "Search..."
@@ -95,3 +100,4 @@ msgstr "Nessun risultato trovato"
#: mkdocs/themes/mkdocs/toc.html:3
msgid "Table of Contents"
msgstr "Tabella dei Contenuti"

View File

@@ -1,47 +1,51 @@
# Japanese translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-07-31 12:06+0900\n"
"Last-Translator: Goto Hayato <habita.gh@gmail.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\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-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "ページが見つかりません"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "検索"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "前へ"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "%(repo_name)s で編集"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "%(mkdocs_link)s でビルドされたドキュメンテーション"

View File

@@ -1,47 +1,51 @@
# Portuguese (Brazil) translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-09-07 12:06+0200\n"
"Last-Translator: Nicole Buitoni <ni.buitoni@gmail.com>\n"
"Language: pt_BR\n"
"Language-Team: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "Página não encontrada"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "Buscar"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "Anterior"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
msgstr "Seguinte"
#: 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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editar em %(repo_name)s"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr "Editar"
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "Documentação construída com %(mkdocs_link)s."

View File

@@ -1,47 +1,51 @@
# Chinese (Simplified, China) translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 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: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-07-14 06:00+0800\n"
"Last-Translator: xingkong0113 <dingpengyu06@gmail.com>\n"
"Language: zh_CN\n"
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\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-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr "找不到页面"
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr "搜索"
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr "上一张"
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
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/mkdocs/base.html:142 mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146 mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "在%(repo_name)s上编辑"
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr "用%(mkdocs_link)s建立的文档。"

View File

@@ -1,45 +1,51 @@
# Translations template for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
#
#, fuzzy
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"
"Project-Id-Version: MkDocs 1.3.1\n"
"Report-Msgid-Bugs-To: \"https://github.com/mkdocs/mkdocs/issues\"\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <@nickname or @email>\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.10.3\n"
#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:107
#: mkdocs/themes/mkdocs/base.html:116
#: mkdocs/themes/mkdocs/keyboard-modal.html:31
#: mkdocs/themes/mkdocs/search-modal.html:5
msgid "Search"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:117
#: mkdocs/themes/mkdocs/base.html:126
msgid "Previous"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:122
#: mkdocs/themes/mkdocs/base.html:131
msgid "Next"
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/mkdocs/base.html:142
#: mkdocs/themes/mkdocs/base.html:144
#: mkdocs/themes/mkdocs/base.html:146
#: mkdocs/themes/mkdocs/base.html:148
#, python-format
msgid "Edit on %(repo_name)s"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:179
#: mkdocs/themes/mkdocs/base.html:150
msgid "Edit"
msgstr ""
#: mkdocs/themes/mkdocs/base.html:190
#, python-format
msgid "Documentation built with %(mkdocs_link)s."
msgstr ""
@@ -92,4 +98,3 @@ msgstr ""
#: mkdocs/themes/mkdocs/toc.html:3
msgid "Table of Contents"
msgstr ""

View File

@@ -14,14 +14,17 @@
<li class="wy-breadcrumbs-aside">
{%- block repo %}
{%- if page and page.edit_url %}
<a href="{{ page.edit_url }}"
{%- if config.repo_name|lower == 'github' %}
class="icon icon-github"
<a href="{{ page.edit_url }}" class="icon icon-github"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a>
{%- elif config.repo_name|lower == 'bitbucket' %}
class="icon icon-bitbucket"
<a href="{{ page.edit_url }}" class="icon icon-bitbucket"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a>
{%- elif config.repo_name|lower == 'gitlab' %}
class="icon icon-gitlab"
{%- endif %}> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a>
<a href="{{ page.edit_url }}" class="icon icon-gitlab"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a>
{%- elif config.repo_name %}
<a href="{{ page.edit_url }}">{% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a>
{%- else %}
<a href="{{ page.edit_url }}">{% trans %}Edit{% endtrans %}</a>
{%- endif %}
{%- endif %}
{%- endblock %}
</li>

View File

@@ -1,5 +1,5 @@
# German translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
@@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2.3\n"
"Report-Msgid-Bugs-To: \"https://github.com/mkdocs/mkdocs/issues\"\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-10-23 18:52+0200\n"
"Last-Translator: Marc Dietz <marc@projectleviathan.de>\n"
"Language: de\n"
"Language-Team: de <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "Mobile Navigationsmenü"
msgid "Docs"
msgstr "Dokumentation"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Bearbeiten auf %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr "Bearbeiten"
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "Breadcrumb-Navigation"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "Zurück"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"

View File

@@ -1,22 +1,22 @@
# Spanish translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# Álvaro Mondéjar Rubio <mondejar1994@gmail.com>, 2021.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-12-06 13:33+0100\n"
"Last-Translator: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>\n"
"Language: es\n"
"Language-Team: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\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"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "Menú de navegación en móvil"
msgid "Docs"
msgstr "Documentos"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editar en %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr "Editar"
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "Navegación de rastro"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "Anterior"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"
@@ -69,8 +76,8 @@ msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr ""
"Construído con %(mkdocs_link)s usando %(sphinx_link)s provisto "
"por %(rtd_link)s."
"Construído con %(mkdocs_link)s usando %(sphinx_link)s provisto por "
"%(rtd_link)s."
#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"
@@ -100,3 +107,4 @@ msgstr "Buscar documentos"
#: mkdocs/themes/readthedocs/versions.html:1
msgid "Versions"
msgstr "Versiones"

View File

@@ -1,21 +1,22 @@
# Persian translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2.2\n"
"Report-Msgid-Bugs-To: \"https://github.com/mkdocs/mkdocs/issues\"\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2022-03-03 15:56+0330\n"
"Last-Translator: Peyman Mohammadi <@peymanr34>\n"
"Language: fa\n"
"Language-Team: fa <LL@li.org>\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-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -37,22 +38,29 @@ msgstr "منوی ناوبری موبایل"
msgid "Docs"
msgstr "مستندات"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "ویرایش در %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "فهرست مسیر"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "قبلی"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"
@@ -68,8 +76,8 @@ msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr ""
"ساخته شده توسط %(mkdocs_link)s با استفاده از %(sphinx_link)s "
"ارائه شده توسط %(rtd_link)s."
"ساخته شده توسط %(mkdocs_link)s با استفاده از %(sphinx_link)s ارائه شده "
"توسط %(rtd_link)s."
#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"

View File

@@ -1,21 +1,22 @@
# French translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-02-23 23:56+0100\n"
"Last-Translator: Alexys Jacob @ultrabug\n"
"Language: fr\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -37,22 +38,29 @@ msgstr "Menu de navigation sur mobile"
msgid "Docs"
msgstr "Documents"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editer dans %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr "Editer"
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "Fil d'Ariane"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "Précédent"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"

View File

@@ -1,22 +1,22 @@
# Italian translations for MkDocs.
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2022-06-05 13:13+0200\n"
"Last-Translator: Francesco Maida <francesco.maida@gmail.com>\n"
"Language-Team: fr <LL@li.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0.1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "Menu di navigazione mobile"
msgid "Docs"
msgstr "Documenti"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Modifica su %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr "Modificare"
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "Navigazione breadcrumb"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "Precedente"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"
@@ -65,8 +72,12 @@ msgstr "Navigazione a pié di pagina"
#: 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 "Creato con %(mkdocs_link)s utilizzando un %(sphinx_link)s fornito da %(rtd_link)s."
msgid ""
"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by "
"%(rtd_link)s."
msgstr ""
"Creato con %(mkdocs_link)s utilizzando un %(sphinx_link)s fornito da "
"%(rtd_link)s."
#: mkdocs/themes/readthedocs/search.html:5
msgid "Search Results"
@@ -96,3 +107,4 @@ msgstr "Cerca documenti"
#: mkdocs/themes/readthedocs/versions.html:1
msgid "Versions"
msgstr "Versioni"

View File

@@ -1,22 +1,22 @@
# Japanese translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# Goto Hayato <habita.gh@gmail.com>, 2021.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-07-31 12:07+0900\n"
"Last-Translator: Goto Hayato <habita.gh@gmail.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\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-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "モバイルナビゲーションメニュー"
msgid "Docs"
msgstr "ドキュメント"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "%(repo_name)s で編集"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "パンくずリストナビゲーション"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "前へ"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"

View File

@@ -1,22 +1,22 @@
# Portuguese (Brazil) translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR ni.buitoni@gmail.com, 2021.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-09-07 12:06+0200\n"
"Last-Translator: Gustavo Lucas Valente <gutivalente@gmail.com>\n"
"Language: pt_BR\n"
"Language-Team: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\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.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "Menu de navegação em dispositivo móvel"
msgid "Docs"
msgstr "Documentos"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "Editar em %(repo_name)s"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr "Editar"
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "Caminho de migalhas"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "Anterior"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"

View File

@@ -1,22 +1,22 @@
# Chinese (Simplified, China) translations for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2\n"
"Report-Msgid-Bugs-To: \"https://github.com/mkdocs/mkdocs/issues\"\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\n"
"PO-Revision-Date: 2021-11-13 10:14+0800\n"
"Last-Translator: xingkong0113 <dingpengyu06@gmail.com>\n"
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\n"
"Language: zh_CN\n"
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 2.4.3\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -38,22 +38,29 @@ msgstr "移动导航栏"
msgid "Docs"
msgstr "文档"
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr "在%(repo_name)s上编辑"
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr "面包屑导航"
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr "上一张"
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"
@@ -65,7 +72,9 @@ msgstr "页脚导航"
#: mkdocs/themes/readthedocs/footer.html:25
#, python-format
msgid "Built with %(mkdocs_link)s using a %(sphinx_link)s provided by %(rtd_link)s."
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。"
#: mkdocs/themes/readthedocs/search.html:5
@@ -96,3 +105,4 @@ msgstr "搜索文档"
#: mkdocs/themes/readthedocs/versions.html:1
msgid "Versions"
msgstr "版本"

View File

@@ -1,21 +1,21 @@
# Translations template for MkDocs.
# Copyright (C) 2021 MkDocs
# Copyright (C) 2022 MkDocs
# This file is distributed under the same license as the MkDocs project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: MkDocs 1.2.2\n"
"Project-Id-Version: MkDocs 1.3.1\n"
"Report-Msgid-Bugs-To: \"https://github.com/mkdocs/mkdocs/issues\"\n"
"POT-Creation-Date: 2021-09-27 10:43-0400\n"
"POT-Creation-Date: 2022-08-15 17:05+0200\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"Generated-By: Babel 2.10.3\n"
#: mkdocs/themes/readthedocs/404.html:7
msgid "Page not found"
@@ -37,22 +37,29 @@ msgstr ""
msgid "Docs"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:18
#: mkdocs/themes/readthedocs/breadcrumbs.html:20
#: mkdocs/themes/readthedocs/breadcrumbs.html:22
#: mkdocs/themes/readthedocs/breadcrumbs.html:24
#, python-format
msgid "Edit on %(repo_name)s"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:31
#: mkdocs/themes/readthedocs/breadcrumbs.html:26
msgid "Edit"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:34
msgid "Breadcrumb Navigation"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:33
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/footer.html:7
#: mkdocs/themes/readthedocs/versions.html:17
msgid "Previous"
msgstr ""
#: mkdocs/themes/readthedocs/breadcrumbs.html:36
#: mkdocs/themes/readthedocs/breadcrumbs.html:39
#: mkdocs/themes/readthedocs/footer.html:10
#: mkdocs/themes/readthedocs/versions.html:20
msgid "Next"
@@ -95,4 +102,3 @@ msgstr ""
#: mkdocs/themes/readthedocs/versions.html:1
msgid "Versions"
msgstr ""