From bae8fb6909b6ae3b283fd48510b3aa7b3a9726ca Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Thu, 4 Mar 2021 22:08:41 +0900 Subject: [PATCH] i18n: Fix wrong substitution message catalog for el and hr (refs: #8943) --- CHANGES | 2 ++ sphinx/locale/el/LC_MESSAGES/sphinx.po | 4 ++-- sphinx/locale/hr/LC_MESSAGES/sphinx.po | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 1542e883490..fbe134bf593 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 03f5d01fecb..6c0fc667bab 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 20e336487b8..bd809f38165 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