1
- Translation of the Python Documentation —bn_in
1
+ Translation of the Python Documentation —bn-in
2
2
===============================================
3
3
4
- ..image ::https://travis-ci.org/python/python-docs-bn_in .svg?branch=3.12
5
- :target: https://travis-ci.org/python/python-docs-bn_in
4
+ ..image ::https://travis-ci.org/python/python-docs-bn-in .svg?branch=3.14
5
+ :target: https://travis-ci.org/python/python-docs-bn-in
6
6
7
7
8
8
Documentation Contribution Agreement
@@ -37,8 +37,9 @@ How to Contribute
37
37
You can contribute using:
38
38
39
39
- Github
40
- - `transifex <https://www.transifex.com/python-doc/public/ >`_
41
- - Or just by opening `an issue on github <https://github.com/python/python-docs-bn_in/issues >`_
40
+ - Or just by opening `an issue on github <https://github.com/python/python-docs-bn-in/issues >`_
41
+
42
+ We will use Weblate in future.
42
43
43
44
44
45
Contributing using Github
@@ -55,8 +56,8 @@ Prerequisites:
55
56
56
57
Let's start:
57
58
58
- You'll need to fork the `python-docs-bn_in
59
- <https://github.com/python/python-docs-bn_in > `_ clicking its ``Fork ``
59
+ You'll need to fork the `python-docs-bn-in
60
+ <https://github.com/python/python-docs-bn-in > `_ clicking its ``Fork ``
60
61
button. This creates a copy of the whole project on your github
61
62
account: a place where you have the rights to do modifications.
62
63
@@ -65,17 +66,17 @@ Step by step:
65
66
..code-block ::bash
66
67
67
68
# Git clone your github fork using ssh (replace JulienPalard):
68
- git clone git@github.com:JulienPalard/python-docs-bn_in .git
69
+ git clone git@github.com:JulienPalard/python-docs-bn-in .git
69
70
70
71
# Go to the cloned directory:
71
- cd python-docs-bn_in /
72
+ cd python-docs-bn-in /
72
73
73
74
# Add the upstream (the public repository) using HTTPS (won't ask for password):
74
- git remote add upstream https://github.com/python/python-docs-bn_in .git
75
+ git remote add upstream https://github.com/python/python-docs-bn-in .git
75
76
76
77
All the translations must be made on the latest release.
77
78
We never translate on an oldest version, by example, the latest Python release
78
- is Python 3.12 , we don't want to translate directly on the Python 3.5 release.
79
+ is Python 3.14 , we don't want to translate directly on the Python 3.5 release.
79
80
If needed translations would be backported on the oldest versions by the
80
81
`documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team >`_.
81
82
@@ -84,10 +85,10 @@ Now you're ready to start a work session, each time you'll start a new task, sta
84
85
..code-block ::bash
85
86
86
87
# To work, we'll need a branch, based on an up-to-date (freshly fetched)
87
- # upstream/3.12 branch, let's say we'll work on glossary so we name
88
+ # upstream/3.14 branch, let's say we'll work on glossary so we name
88
89
# the branch "glossary":
89
90
git fetch upstream
90
- git checkout -b glossary upstream/3.12
91
+ git checkout -b glossary upstream/3.14
91
92
92
93
# You can now work on the file, typically using poedit,
93
94
poedit directory/file.po
@@ -106,7 +107,7 @@ Now you're ready to start a work session, each time you'll start a new task, sta
106
107
107
108
# The previous command will print you a link to open a PR on github.
108
109
# If you missed it, just go to
109
- # https://github.com/python/python-docs-bn_in / and a nice "Compare & pull request"
110
+ # https://github.com/python/python-docs-bn-in / and a nice "Compare & pull request"
110
111
# button should appear after a few seconds telling you can ask for a pull request.
111
112
112
113
# Now someone is reviewing your modifications, and you'll want to fix their
@@ -237,14 +238,14 @@ after ensuring ``~/.local/bin/`` is in your ``PATH``.
237
238
Maintenance
238
239
-----------
239
240
240
- All those snippets are to run from the root of a` ` python-docs-bn_in ` `
241
+ All those snippets are to run from the root of a` ` python-docs-bn-in ` `
241
242
clone, and some expect to find an up-to-date CPython clone near to it,
242
243
like:
243
244
244
245
.. code-block:: bash
245
246
246
247
~/
247
- ├── python-docs-bn_in /
248
+ ├── python-docs-bn-in /
248
249
└── cpython/
249
250
250
251
To clone CPython you may use: