summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-03-04 22:08:41 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-03-04 22:11:28 +0900
commitbae8fb6909b6ae3b283fd48510b3aa7b3a9726ca (patch)
treeb50ef8b02f4cb9952d6f56e571b725e919669ed1
parent99d97c65d50e34f67a090c9e9ed9df8f9d9941a7 (diff)
downloadsphinx-git-bae8fb6909b6ae3b283fd48510b3aa7b3a9726ca.tar.gz
i18n: Fix wrong substitution message catalog for el and hr (refs: #8943)
-rw-r--r--CHANGES2
-rw-r--r--sphinx/locale/el/LC_MESSAGES/sphinx.po4
-rw-r--r--sphinx/locale/hr/LC_MESSAGES/sphinx.po2
3 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 1542e8834..fbe134bf5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,8 @@ Features added
Bugs fixed
----------
+* #8943: i18n: Crashed by broken translation messages in ES, EL and HR
+
Testing
--------
diff --git a/sphinx/locale/el/LC_MESSAGES/sphinx.po b/sphinx/locale/el/LC_MESSAGES/sphinx.po
index 03f5d01fe..6c0fc667b 100644
--- a/sphinx/locale/el/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/el/LC_MESSAGES/sphinx.po
@@ -3301,12 +3301,12 @@ msgstr "περισσότεροι από ένας στόχοι βρέθηκαν
#: sphinx/transforms/post_transforms/__init__.py:171
#, python-format
msgid "%s:%s reference target not found: %%(target)s"
-msgstr "Ο %s:%s στόχος αναφοράς δεν βρέθηκε: %% (στόχος)"
+msgstr "Ο %s:%s στόχος αναφοράς δεν βρέθηκε: %%(target)s"
#: sphinx/transforms/post_transforms/__init__.py:174
#, python-format
msgid "%r reference target not found: %%(target)s"
-msgstr "ο στόχος αναφοράς %r δεν βρέθηκε: %%(στόχος)"
+msgstr "ο στόχος αναφοράς %r δεν βρέθηκε: %%(target)s"
#: sphinx/transforms/post_transforms/images.py:86
#, python-format
diff --git a/sphinx/locale/hr/LC_MESSAGES/sphinx.po b/sphinx/locale/hr/LC_MESSAGES/sphinx.po
index 20e336487..bd809f381 100644
--- a/sphinx/locale/hr/LC_MESSAGES/sphinx.po
+++ b/sphinx/locale/hr/LC_MESSAGES/sphinx.po
@@ -3305,7 +3305,7 @@ msgstr "%s:%s reference target nije pronađen: %%(target)s"
#: sphinx/transforms/post_transforms/__init__.py:174
#, python-format
msgid "%r reference target not found: %%(target)s"
-msgstr "%r referenca target nije pronađena: %% (target)"
+msgstr "%r referenca target nije pronađena: %%(target)s"
#: sphinx/transforms/post_transforms/images.py:86
#, python-format