Skip to content

Commit 2aca5a2

Browse files
committed
Fix #9198: i18n: Babel emits errors when running compile_catalog
1 parent 5956dc4 commit 2aca5a2

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Bugs fixed
2020
from a property of the class
2121
* #9188: autosummary: warning is emitted if list value is set to
2222
autosummary_generate
23+
* #9198: i18n: Babel emits errors when running compile_catalog
2324

2425
Testing
2526
--------

sphinx/locale/ar/LC_MESSAGES/sphinx.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ msgstr ""
641641
#: sphinx/builders/latex/__init__.py:429 sphinx/builders/texinfo.py:186
642642
#, python-format
643643
msgid "cannot copy image file %r: %s"
644-
msgstr "لا تستطيع نسخة ملف صورة %s:"
644+
msgstr ""
645645

646646
#: sphinx/builders/_epub_base.py:435
647647
#, python-format
@@ -909,7 +909,7 @@ msgstr "صفحة الHTML موجودة في %(outdir)s"
909909
#: sphinx/builders/html/__init__.py:372
910910
#, python-format
911911
msgid "Failed to read build info file: %r"
912-
msgstr "فشل في قراءة معلومات ملف البناء"
912+
msgstr ""
913913

914914
#: sphinx/builders/html/__init__.py:466 sphinx/builders/latex/__init__.py:187
915915
#: sphinx/transforms/__init__.py:116 sphinx/writers/manpage.py:99

sphinx/locale/fa/LC_MESSAGES/sphinx.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ msgstr "شاخص %r قبلاً برای دامنه %s ثبت شده"
385385
#: sphinx/registry.py:232
386386
#, python-format
387387
msgid "The %r object_type is already registered"
388-
msgstr "نوع شیئ(object_type) ٪r قبلاً برای دامنه %s ثبت شده"
388+
msgstr ""
389389

390390
#: sphinx/registry.py:252
391391
#, python-format
@@ -1587,7 +1587,7 @@ msgstr "ایجاد پرونده‌ی %s."
15871587
#: sphinx/cmd/quickstart.py:367 sphinx/ext/apidoc.py:87
15881588
#, python-format
15891589
msgid "File %s already exists, skipping."
1590-
msgstr "پرونده‌ی %r در حال حاضر وجود دارد، رد شدن."
1590+
msgstr "پرونده‌ی %s در حال حاضر وجود دارد، رد شدن."
15911591

15921592
#: sphinx/cmd/quickstart.py:409
15931593
msgid "Finished: An initial directory structure has been created."
@@ -2321,7 +2321,7 @@ msgstr "پویش اسناد %s: %r شکست خورد"
23212321
#: sphinx/environment/__init__.py:504
23222322
#, python-format
23232323
msgid "Domain %r is not registered"
2324-
msgstr "دامنه ی %s ثبت نشده"
2324+
msgstr "دامنه ی %r ثبت نشده"
23252325

23262326
#: sphinx/environment/__init__.py:585
23272327
msgid "self referenced toctree found. Ignored."
@@ -2859,12 +2859,12 @@ msgstr "ویژگی نایاب در گزینه‌ی :members: قید شده: پی
28592859
#: sphinx/ext/autodoc/__init__.py:2570
28602860
#, python-format
28612861
msgid "Failed to get a function signature for %s: %s"
2862-
msgstr "شکست در دریافت امضای تابع برای %r: مؤلّفه پیدا نشد: %s"
2862+
msgstr "شکست در دریافت امضای تابع برای %s: مؤلّفه پیدا نشد: %s"
28632863

28642864
#: sphinx/ext/autodoc/__init__.py:1531
28652865
#, python-format
28662866
msgid "Failed to get a constructor signature for %s: %s"
2867-
msgstr "شکست در دریافت امضای سازنده‌ی شیئ برای %r: مؤلّفه پیدا نشد: %s"
2867+
msgstr "شکست در دریافت امضای سازنده‌ی شیئ برای %s: مؤلّفه پیدا نشد: %s"
28682868

28692869
#: sphinx/ext/autodoc/__init__.py:1620 sphinx/ext/autodoc/__init__.py:1624
28702870
#, python-format
@@ -2885,7 +2885,7 @@ msgstr "نام جانشین نوع متغیر(%s)"
28852885
#: sphinx/ext/autodoc/__init__.py:2064 sphinx/ext/autodoc/__init__.py:2158
28862886
#, python-format
28872887
msgid "Failed to get a method signature for %s: %s"
2888-
msgstr "شکست در دریافت امضای شگرد برای %r: مؤلّفه پیدا نشد: %s"
2888+
msgstr "شکست در دریافت امضای شگرد برای %s: مؤلّفه پیدا نشد: %s"
28892889

28902890
#: sphinx/ext/autodoc/__init__.py:2247
28912891
#, python-format

sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2922,7 +2922,7 @@ msgstr ""
29222922
#: sphinx/ext/autodoc/type_comment.py:133
29232923
#, python-format
29242924
msgid "Failed to parse type_comment for %r: %s"
2925-
msgstr "无法解析 type_comment %s"
2925+
msgstr ""
29262926

29272927
#: sphinx/ext/autosummary/__init__.py:259
29282928
#, python-format

0 commit comments

Comments
 (0)