From ca9c8c1a603283f663044ea7c99fc0d6f6385e73 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Mon, 15 Aug 2022 18:54:26 +0200 Subject: [PATCH] Allow an empty `repo_url` when still specifying a `edit_uri` (#2928) --- mkdocs/structure/pages.py | 22 +++++++++--- mkdocs/tests/structure/page_tests.py | 32 +++++++++++++++++ mkdocs/themes/mkdocs/base.html | 6 ++-- .../mkdocs/locales/de/LC_MESSAGES/messages.po | 29 ++++++++------- .../mkdocs/locales/es/LC_MESSAGES/messages.po | 24 +++++++------ .../mkdocs/locales/fa/LC_MESSAGES/messages.po | 28 +++++++++------ .../mkdocs/locales/fr/LC_MESSAGES/messages.po | 24 +++++++------ .../mkdocs/locales/it/LC_MESSAGES/messages.po | 34 ++++++++++-------- .../mkdocs/locales/ja/LC_MESSAGES/messages.po | 24 +++++++------ .../locales/pt_BR/LC_MESSAGES/messages.po | 24 +++++++------ .../locales/zh_CN/LC_MESSAGES/messages.po | 24 +++++++------ mkdocs/themes/mkdocs/messages.pot | 29 ++++++++------- mkdocs/themes/readthedocs/breadcrumbs.html | 13 ++++--- .../locales/de/LC_MESSAGES/messages.po | 21 +++++++---- .../locales/es/LC_MESSAGES/messages.po | 28 +++++++++------ .../locales/fa/LC_MESSAGES/messages.po | 26 +++++++++----- .../locales/fr/LC_MESSAGES/messages.po | 22 ++++++++---- .../locales/it/LC_MESSAGES/messages.po | 36 ++++++++++++------- .../locales/ja/LC_MESSAGES/messages.po | 23 +++++++----- .../locales/pt_BR/LC_MESSAGES/messages.po | 23 +++++++----- .../locales/zh_CN/LC_MESSAGES/messages.po | 30 ++++++++++------ mkdocs/themes/readthedocs/messages.pot | 22 +++++++----- 22 files changed, 354 insertions(+), 190 deletions(-) diff --git a/mkdocs/structure/pages.py b/mkdocs/structure/pages.py index 6b487c41..1f24423a 100644 --- a/mkdocs/structure/pages.py +++ b/mkdocs/structure/pages.py @@ -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 diff --git a/mkdocs/tests/structure/page_tests.py b/mkdocs/tests/structure/page_tests.py index 093d7867..291330d7 100644 --- a/mkdocs/tests/structure/page_tests.py +++ b/mkdocs/tests/structure/page_tests.py @@ -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') diff --git a/mkdocs/themes/mkdocs/base.html b/mkdocs/themes/mkdocs/base.html index e07ee989..2dbebd72 100644 --- a/mkdocs/themes/mkdocs/base.html +++ b/mkdocs/themes/mkdocs/base.html @@ -144,8 +144,10 @@ {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %} {%- elif config.repo_name == 'GitLab' -%} {% 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 -%} diff --git a/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.po index 74fdda0b..3bff5377 100644 --- a/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.po @@ -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 \n" "Language: de\n" "Language-Team: de \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..." diff --git a/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.po index cdd0beef..5e7900f2 100644 --- a/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.po @@ -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 \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." diff --git a/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.po index 31782326..90c67db8 100644 --- a/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.po @@ -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 \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..." diff --git a/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.po index daebed1b..5d8f8427 100644 --- a/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.po @@ -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 \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." diff --git a/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.po index 454b2582..da75f07e 100644 --- a/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.po @@ -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 \n" -"Language-Team: fr \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 \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" + diff --git a/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.po index 1cce0222..7b3c2268 100644 --- a/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.po @@ -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 \n" "Language: ja\n" "Language-Team: ja \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 でビルドされたドキュメンテーション" diff --git a/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.po index 9034b993..5491968d 100644 --- a/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.po @@ -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 \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." diff --git a/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po index b8cbce85..c673a62a 100644 --- a/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po +++ b/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po @@ -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 \n" "Language: zh_CN\n" "Language-Team: zh_Hans_CN \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建立的文档。" diff --git a/mkdocs/themes/mkdocs/messages.pot b/mkdocs/themes/mkdocs/messages.pot index 7a95ea92..7e05538e 100644 --- a/mkdocs/themes/mkdocs/messages.pot +++ b/mkdocs/themes/mkdocs/messages.pot @@ -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 "" - diff --git a/mkdocs/themes/readthedocs/breadcrumbs.html b/mkdocs/themes/readthedocs/breadcrumbs.html index b4ba49cb..c40968ed 100644 --- a/mkdocs/themes/readthedocs/breadcrumbs.html +++ b/mkdocs/themes/readthedocs/breadcrumbs.html @@ -14,14 +14,17 @@
  • {%- block repo %} {%- if page and page.edit_url %} - {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %} {%- elif config.repo_name|lower == 'bitbucket' %} - class="icon icon-bitbucket" + {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %} {%- elif config.repo_name|lower == 'gitlab' %} - class="icon icon-gitlab" - {%- endif %}> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %} + {% 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 %}Edit{% endtrans %} + {%- endif %} {%- endif %} {%- endblock %}
  • diff --git a/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.po index da5d8242..6feb6ce0 100644 --- a/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.po @@ -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 , 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 \n" "Language: de\n" "Language-Team: de \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" diff --git a/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po index 9bef3db0..52aacfb0 100644 --- a/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po @@ -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 , 2021. +# FIRST AUTHOR , 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 \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" + diff --git a/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.po index 92513103..aa4c7d7a 100644 --- a/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.po @@ -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 , 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 \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" diff --git a/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po index cbeb693b..f109710c 100644 --- a/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po @@ -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 , 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 \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" diff --git a/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.po index 25c3ed0f..f135b1f0 100644 --- a/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.po @@ -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 , 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 \n" -"Language-Team: fr \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 \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" + diff --git a/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po index f9cbc10e..eec89ba8 100644 --- a/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po @@ -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 , 2021. +# FIRST AUTHOR , 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 \n" "Language: ja\n" "Language-Team: ja \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" diff --git a/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po index a1a7c4e5..3daf5120 100644 --- a/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po @@ -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 , 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 \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" diff --git a/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po index e245c3be..cbe6a405 100644 --- a/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po +++ b/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po @@ -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 , 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 \n" -"Language-Team: zh_Hans_CN \n" "Language: zh_CN\n" +"Language-Team: zh_Hans_CN \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 "版本" + diff --git a/mkdocs/themes/readthedocs/messages.pot b/mkdocs/themes/readthedocs/messages.pot index f4f546fc..fe9ec7a8 100644 --- a/mkdocs/themes/readthedocs/messages.pot +++ b/mkdocs/themes/readthedocs/messages.pot @@ -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 , 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 \n" "Language-Team: LANGUAGE \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 "" -