Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ jobs:
echo "inspecting changed file: ${changed_file}";
if [[ "${changed_file}" == "mkdocs/__init__.py" ]]; then
echo "mkdocs version changed!";
git diff -G "msgid" --exit-code && git diff -G "msgstr" --exit-code;
git diff -G "msgid" --exit-code || exit 1
git diff -G "msgstr" --exit-code || exit 2
fi
done
shell: bash
2 changes: 1 addition & 1 deletion mkdocs/themes/mkdocs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row-fluid">
<div id="main-content" class="span12">
<h1 id="404-page-not-found" style="text-align: center">404</h1>
<p style="text-align: center"><strong>{% trans %}Page not found{% endtrans %}</strong></p>
<p style="text-align: center"><strong>{% trans %}Page not found at all{% endtrans %}</strong></p>
</div>
</div>

Expand Down
10 changes: 6 additions & 4 deletions mkdocs/themes/mkdocs/messages.pot
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# Translations template for MkDocs.
# Copyright (C) 2021 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\n"
"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n"
"POT-Creation-Date: 2021-04-08 22:44+0200\n"
"PO-Revision-Date: YYYY-MM-DD HH:MM:SS+0000\n"
"Last-Translator: YOUR NAME <@nickname or @email>\n"
"POT-Creation-Date: 2021-04-26 21:56+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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"

#: mkdocs/themes/mkdocs/404.html:8
msgid "Page not found"
msgid "Page not found at all"
msgstr ""

#: mkdocs/themes/mkdocs/base.html:107
Expand Down