Fix #9198: i18n: Babel emits errors when running compile_catalog

This commit is contained in:
Takeshi KOMIYA 2021-05-11 00:17:50 +09:00
parent 5956dc4a65
commit 2aca5a27af
4 changed files with 10 additions and 9 deletions

View File

@ -20,6 +20,7 @@ Bugs fixed
from a property of the class from a property of the class
* #9188: autosummary: warning is emitted if list value is set to * #9188: autosummary: warning is emitted if list value is set to
autosummary_generate autosummary_generate
* #9198: i18n: Babel emits errors when running compile_catalog
Testing Testing
-------- --------

View File

@ -641,7 +641,7 @@ msgstr ""
#: sphinx/builders/latex/__init__.py:429 sphinx/builders/texinfo.py:186 #: sphinx/builders/latex/__init__.py:429 sphinx/builders/texinfo.py:186
#, python-format #, python-format
msgid "cannot copy image file %r: %s" msgid "cannot copy image file %r: %s"
msgstr "لا تستطيع نسخة ملف صورة %s:" msgstr ""
#: sphinx/builders/_epub_base.py:435 #: sphinx/builders/_epub_base.py:435
#, python-format #, python-format
@ -909,7 +909,7 @@ msgstr "صفحة الHTML موجودة في %(outdir)s"
#: sphinx/builders/html/__init__.py:372 #: sphinx/builders/html/__init__.py:372
#, python-format #, python-format
msgid "Failed to read build info file: %r" msgid "Failed to read build info file: %r"
msgstr "فشل في قراءة معلومات ملف البناء" msgstr ""
#: sphinx/builders/html/__init__.py:466 sphinx/builders/latex/__init__.py:187 #: sphinx/builders/html/__init__.py:466 sphinx/builders/latex/__init__.py:187
#: sphinx/transforms/__init__.py:116 sphinx/writers/manpage.py:99 #: sphinx/transforms/__init__.py:116 sphinx/writers/manpage.py:99

View File

@ -385,7 +385,7 @@ msgstr "شاخص %r قبلاً برای دامنه %s ثبت شده"
#: sphinx/registry.py:232 #: sphinx/registry.py:232
#, python-format #, python-format
msgid "The %r object_type is already registered" msgid "The %r object_type is already registered"
msgstr "نوع شیئ(object_type) ٪r قبلاً برای دامنه %s ثبت شده" msgstr ""
#: sphinx/registry.py:252 #: sphinx/registry.py:252
#, python-format #, python-format
@ -1587,7 +1587,7 @@ msgstr "ایجاد پرونده‌ی %s."
#: sphinx/cmd/quickstart.py:367 sphinx/ext/apidoc.py:87 #: sphinx/cmd/quickstart.py:367 sphinx/ext/apidoc.py:87
#, python-format #, python-format
msgid "File %s already exists, skipping." msgid "File %s already exists, skipping."
msgstr "پرونده‌ی %r در حال حاضر وجود دارد، رد شدن." msgstr "پرونده‌ی %s در حال حاضر وجود دارد، رد شدن."
#: sphinx/cmd/quickstart.py:409 #: sphinx/cmd/quickstart.py:409
msgid "Finished: An initial directory structure has been created." msgid "Finished: An initial directory structure has been created."
@ -2321,7 +2321,7 @@ msgstr "پویش اسناد %s: %r شکست خورد"
#: sphinx/environment/__init__.py:504 #: sphinx/environment/__init__.py:504
#, python-format #, python-format
msgid "Domain %r is not registered" msgid "Domain %r is not registered"
msgstr "دامنه ی %s ثبت نشده" msgstr "دامنه ی %r ثبت نشده"
#: sphinx/environment/__init__.py:585 #: sphinx/environment/__init__.py:585
msgid "self referenced toctree found. Ignored." msgid "self referenced toctree found. Ignored."
@ -2859,12 +2859,12 @@ msgstr "ویژگی نایاب در گزینه‌ی :members: قید شده: پی
#: sphinx/ext/autodoc/__init__.py:2570 #: sphinx/ext/autodoc/__init__.py:2570
#, python-format #, python-format
msgid "Failed to get a function signature for %s: %s" msgid "Failed to get a function signature for %s: %s"
msgstr "شکست در دریافت امضای تابع برای %r: مؤلّفه پیدا نشد: %s" msgstr "شکست در دریافت امضای تابع برای %s: مؤلّفه پیدا نشد: %s"
#: sphinx/ext/autodoc/__init__.py:1531 #: sphinx/ext/autodoc/__init__.py:1531
#, python-format #, python-format
msgid "Failed to get a constructor signature for %s: %s" msgid "Failed to get a constructor signature for %s: %s"
msgstr "شکست در دریافت امضای سازنده‌ی شیئ برای %r: مؤلّفه پیدا نشد: %s" msgstr "شکست در دریافت امضای سازنده‌ی شیئ برای %s: مؤلّفه پیدا نشد: %s"
#: sphinx/ext/autodoc/__init__.py:1620 sphinx/ext/autodoc/__init__.py:1624 #: sphinx/ext/autodoc/__init__.py:1620 sphinx/ext/autodoc/__init__.py:1624
#, python-format #, python-format
@ -2885,7 +2885,7 @@ msgstr "نام جانشین نوع متغیر(%s)"
#: sphinx/ext/autodoc/__init__.py:2064 sphinx/ext/autodoc/__init__.py:2158 #: sphinx/ext/autodoc/__init__.py:2064 sphinx/ext/autodoc/__init__.py:2158
#, python-format #, python-format
msgid "Failed to get a method signature for %s: %s" msgid "Failed to get a method signature for %s: %s"
msgstr "شکست در دریافت امضای شگرد برای %r: مؤلّفه پیدا نشد: %s" msgstr "شکست در دریافت امضای شگرد برای %s: مؤلّفه پیدا نشد: %s"
#: sphinx/ext/autodoc/__init__.py:2247 #: sphinx/ext/autodoc/__init__.py:2247
#, python-format #, python-format

View File

@ -2922,7 +2922,7 @@ msgstr ""
#: sphinx/ext/autodoc/type_comment.py:133 #: sphinx/ext/autodoc/type_comment.py:133
#, python-format #, python-format
msgid "Failed to parse type_comment for %r: %s" msgid "Failed to parse type_comment for %r: %s"
msgstr "无法解析 type_comment %s" msgstr ""
#: sphinx/ext/autosummary/__init__.py:259 #: sphinx/ext/autosummary/__init__.py:259
#, python-format #, python-format