FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge remote-tracking branch 'upstream/main' · python/python-docs-theme@bad0eae · GitHub

Repository navigation

Commit bad0eae

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 8c8d3a7 + f08df42 commit bad0eae

6 files changed

Lines changed: 141 additions & 10 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717
with:
1818
persist-credentials: false
19-
- uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
19+
- uses: j178/prek-action@5337cb91e0fa35a7ff31b9ca345126d8bbbcdf16 # v2.0.6

‎.github/workflows/pypi-package.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
23+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2424
with:
2525
persist-credentials: false
26-
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
26+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2727

2828
- uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2.18.0
2929

@@ -49,4 +49,4 @@ jobs:
4949
path: dist
5050

5151
- name: Upload package to PyPI
52-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
52+
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- python-version: "3.15"
2020
branch: "main"
2121
steps:
22-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
22+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2323
with:
2424
persist-credentials: false
25-
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
25+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
allow-prereleases: true
@@ -66,10 +66,10 @@ jobs:
6666
# Test minimum supported and latest stable from 3.x series
6767
python-version: ["3.12", "3"]
6868
steps:
69-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
69+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7070
with:
7171
persist-credentials: false
72-
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
72+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
7373
with:
7474
python-version: ${{ matrix.python-version }}
7575
allow-prereleases: true

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [2026.7](https://github.com/python/python-docs-theme/releases/tag/2026.7)
4+
5+
* Add Vietnamese translation by @StanFromIreland in https://github.com/python/python-docs-theme/pull/309
6+
* Switch to Hatchling build hooks for i18n packaging and exclude .po from wheels by @StanFromIreland in https://github.com/python/python-docs-theme/pull/312
7+
38
## [2026.4](https://github.com/python/python-docs-theme/releases/tag/2026.4)
49

510
* Add styling for the `soft-deprecated` class by @StanFromIreland

‎python_docs_theme/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from sphinx.application import Sphinx
1212
from sphinx.util.typing import ExtensionMetadata
1313

14-
__version__ = "2026.4"
14+
__version__ = "2026.7"
1515

1616
THEME_PATH = Path(__file__).resolve().parent
1717
LOCALE_DIR = THEME_PATH / "locale"
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Persian translations for python-docs-theme.
2+
# Copyright (C) 2026 Python Software Foundation
3+
# This file is distributed under the same license as the python-docs-theme
4+
# project.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2026.
6+
#
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: python-docs-theme 2026.7\n"
10+
"Report-Msgid-Bugs-To: https://github.com/python/python-docs-theme/"
11+
"issues\n"
12+
"POT-Creation-Date: 2026-08-16 15:22+0330\n"
13+
"PO-Revision-Date: 2026-08-16 15:54+0330\n"
14+
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
15+
"Language-Team: Persian (https://github.com/revisto/python-docs-fa/)\n"
16+
"Language: fa\n"
17+
"MIME-Version: 1.0\n"
18+
"Content-Type: text/plain; charset=utf-8\n"
19+
"Content-Transfer-Encoding: 8bit\n"
20+
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"Generated-By: Babel 2.18.0\n"
22+
"X-Generator: Poedit 3.6\n"
23+
24+
#: python_docs_theme/footerdonate.html:1
25+
msgid "The Python Software Foundation is a non-profit corporation."
26+
msgstr "بنیاد نرم‌افزار پایتون یک شرکت غیرانتفاعی است."
27+
28+
#: python_docs_theme/footerdonate.html:2
29+
msgid "Please donate."
30+
msgstr "لطفاً کمک مالی کنید."
31+
32+
#: python_docs_theme/layout.html:6
33+
msgid "Navigation"
34+
msgstr "ناوبری"
35+
36+
#: python_docs_theme/layout.html:51 python_docs_theme/layout.html:111
37+
msgid "Quick search"
38+
msgstr "جست‌و‌جوی سریع"
39+
40+
#: python_docs_theme/layout.html:52 python_docs_theme/layout.html:112
41+
msgid "Go"
42+
msgstr "برو"
43+
44+
#: python_docs_theme/layout.html:60
45+
msgid "Theme"
46+
msgstr "پوسته"
47+
48+
#: python_docs_theme/layout.html:62
49+
msgid "Auto"
50+
msgstr "خودکار"
51+
52+
#: python_docs_theme/layout.html:63
53+
msgid "Light"
54+
msgstr "روشن"
55+
56+
#: python_docs_theme/layout.html:64
57+
msgid "Dark"
58+
msgstr "تاریک"
59+
60+
#: python_docs_theme/layout.html:96
61+
msgid "Menu"
62+
msgstr "منو"
63+
64+
#: python_docs_theme/layout.html:142
65+
msgid "Copyright"
66+
msgstr "حق نشر"
67+
68+
#: python_docs_theme/layout.html:147
69+
msgid ""
70+
"This page is licensed under the Python Software Foundation License "
71+
"Version 2."
72+
msgstr "این صفحه تحت مجوز بنیاد نرم‌افزار پایتون نسخه ۲ منتشر شده است."
73+
74+
#: python_docs_theme/layout.html:149
75+
msgid ""
76+
"Examples, recipes, and other code in the documentation are additionally "
77+
"licensed under the Zero Clause BSD License."
78+
msgstr ""
79+
"مثال‌ها، دستورالعمل‌ها، و سایر کدهای موجود در مستندات همچنین تحت مجوز "
80+
"بدون بند BSD منتشر شده‌اند."
81+
82+
#: python_docs_theme/layout.html:152
83+
#, python-format
84+
msgid ""
85+
"See <a href=\"%(license_file)s\">History and License</a> for more "
86+
"information."
87+
msgstr ""
88+
"برای اطلاعات بیشتر به <a href=\"%(license_file)s\">تاریخچه و مجوز</a> "
89+
"مراجعه کنید."
90+
91+
#: python_docs_theme/layout.html:155
92+
#, python-format
93+
msgid "Hosted on %(hosted_on)s."
94+
msgstr "میزبانی شده روی %(hosted_on)s."
95+
96+
#: python_docs_theme/layout.html:163
97+
#, python-format
98+
msgid "Last updated on %(last_updated)s."
99+
msgstr "آخرین به‌روزرسانی در %(last_updated)s."
100+
101+
#: python_docs_theme/layout.html:166
102+
#, python-format
103+
msgid "<a href=\"%(theme_issues_url)s\">Found a bug</a>?"
104+
msgstr "آیا <a href=\"%(theme_issues_url)s\">اشکالی یافتید</a>؟"
105+
106+
#: python_docs_theme/layout.html:170
107+
#, python-format
108+
msgid ""
109+
"Created using <a href=\"https://www.sphinx-doc.org/\">Sphinx</a> "
110+
"%(sphinx_version)s."
111+
msgstr ""
112+
"ساخته شده با <a href=\"https://www.sphinx-doc.org/\">Sphinx</a> "
113+
"%(sphinx_version)s."
114+
115+
#: python_docs_theme/static/copybutton.js:30
116+
#: python_docs_theme/static/copybutton.js:55
117+
msgid "Copy"
118+
msgstr "کپی"
119+
120+
#: python_docs_theme/static/copybutton.js:31
121+
msgid "Copy to clipboard"
122+
msgstr "کپی به تخته‌گیره"
123+
124+
#: python_docs_theme/static/copybutton.js:53
125+
msgid "Copied!"
126+
msgstr "کپی شد!"

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL