File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 8080 - run : python babel_runner.py compile -l pt_BR
8181 - name : Print .pot file
8282 shell : bash
83- run : cat python_docs_theme/locale/messages .pot
83+ run : cat python_docs_theme/locale/python-docs-theme .pot
8484 - name : Print .po file
8585 shell : bash
86- run : cat python_docs_theme/locale/pt_BR/LC_MESSAGES/messages .po
86+ run : cat python_docs_theme/locale/pt_BR/LC_MESSAGES/python-docs-theme .po
Original file line number Diff line number Diff line change 66
77TYPE_CHECKING = False
88if TYPE_CHECKING :
9- from sphinx .application import Sphinx # noqa: F401
10- from sphinx .util .typing import ExtensionMetadata # noqa: F401
9+ from sphinx .application import Sphinx
10+ from sphinx .util .typing import ExtensionMetadata
1111
1212__version__ = "2025.5"
1313
1616MESSAGE_CATALOG_NAME = "python-docs-theme"
1717
1818
19- def setup (app ) :
19+ def setup (app : Sphinx ) -> ExtensionMetadata :
2020 app .require_sphinx ("7.3" )
21+
2122 app .add_html_theme ("python_docs_theme" , str (THEME_PATH ))
2223 app .add_message_catalog (MESSAGE_CATALOG_NAME , LOCALE_DIR )
2324
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ msgstr ""
1111"POT-Creation-Date : 2025-08-07 19:09+0200\n "
1212"PO-Revision-Date : 2025-08-07 15:11+0200\n "
1313"Last-Translator : Stan Ulbrych \n "
14- "Language : pl_PL \n "
15- "
Language-Team :
pl_PL <[email protected] >\n"
14+ "Language : pl \n "
15+ "
Language-Team :
pl <[email protected] >\n"
1616"Plural-Forms : nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && "
1717"(n%100<10 || n%100>=20) ? 1 : 2);\n "
1818"MIME-Version : 1.0\n "
You can’t perform that action at this time.
0 commit comments