Skip to content

Commit 49f99d8

Browse files
Apply suggestions from Maciek
Co-authored-by: Maciej Olko <maciej.olko@gmail.com>
1 parent 9dede66 commit 49f99d8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

python_docs_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def setup_translations(app):
1717
translation = gettext.translation(
1818
domain="messages",
19-
localedir=str(THEME_PATH / "locales"),
19+
localedir=os.fspath(THEME_PATH / "locales"),
2020
languages=[app.config.language],
2121
fallback=True,
2222
)

python_docs_theme/locales/pl_PL/LC_MESSAGES/messages.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ msgstr "Motyw"
4646

4747
#: python_docs_theme/layout.html:62
4848
msgid "Auto"
49-
msgstr "Auto"
49+
msgstr "auto"
5050

5151
#: python_docs_theme/layout.html:63
5252
msgid "Light"
53-
msgstr "Jasny"
53+
msgstr "jasny"
5454

5555
#: python_docs_theme/layout.html:64
5656
msgid "Dark"
57-
msgstr "Ciemny"
57+
msgstr "ciemny"
5858

5959
#: python_docs_theme/layout.html:96
6060
msgid "Menu"
@@ -69,16 +69,16 @@ msgid ""
6969
"This page is licensed under the Python Software Foundation License "
7070
"Version 2."
7171
msgstr ""
72-
"Ta strona jest licencjonowana na podstawie licencji Python Software "
73-
"Foundation License Version 2."
72+
"Ta strona jest objęta licencją Python Software "
73+
"Foundation w wersji 2."
7474

7575
#: python_docs_theme/layout.html:149
7676
msgid ""
7777
"Examples, recipes, and other code in the documentation are additionally "
7878
"licensed under the Zero Clause BSD License."
7979
msgstr ""
80-
"Przykłady, przepisy i inny kod w dokumentacji są dodatkowo udostępnione "
81-
"na podstawie licencji Zero Clause BSD."
80+
"Przykłady, przepisy i inny kod w dokumentacji są dodatkowo objęte "
81+
"licencją Zero Clause BSD."
8282

8383
#: python_docs_theme/layout.html:152
8484
#, python-format

0 commit comments

Comments
 (0)