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 80
80
- run : python babel_runner.py compile -l pt_BR
81
81
- name : Print .pot file
82
82
shell : bash
83
- run : cat python_docs_theme/locale/messages .pot
83
+ run : cat python_docs_theme/locale/python-docs-theme .pot
84
84
- name : Print .po file
85
85
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 6
6
7
7
TYPE_CHECKING = False
8
8
if 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
11
11
12
12
__version__ = "2025.5"
13
13
16
16
MESSAGE_CATALOG_NAME = "python-docs-theme"
17
17
18
18
19
- def setup (app ) :
19
+ def setup (app : Sphinx ) -> ExtensionMetadata :
20
20
app .require_sphinx ("7.3" )
21
+
21
22
app .add_html_theme ("python_docs_theme" , str (THEME_PATH ))
22
23
app .add_message_catalog (MESSAGE_CATALOG_NAME , LOCALE_DIR )
23
24
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ msgstr ""
11
11
"POT-Creation-Date : 2025-08-07 19:09+0200\n "
12
12
"PO-Revision-Date : 2025-08-07 15:11+0200\n "
13
13
"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"
16
16
"Plural-Forms : nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && "
17
17
"(n%100<10 || n%100>=20) ? 1 : 2);\n "
18
18
"MIME-Version : 1.0\n "
You can’t perform that action at this time.
0 commit comments