@@ -7,19 +7,19 @@ We are currently in branch 3.7, and we want to update the strings from 3.8.
7
7
8
8
#. Fetch the `lastet commit of 3.8 branch <https://github.com/python/cpython/commit/70fe95cdc9ac1b00d4f86b7525dca80caf7003e1 >`_::
9
9
10
- git fetch --depth 1 origin 70fe95cdc9ac1b00d4f86b7525dca80caf7003e1
10
+ git fetch --depth 1 origin 70fe95cdc9ac1b00d4f86b7525dca80caf7003e1
11
11
12
12
#. Checkout that commit locally::
13
13
14
- git checkout 70fe95cdc9ac1b00d4f86b7525dca80caf7003e1
14
+ git checkout 70fe95cdc9ac1b00d4f86b7525dca80caf7003e1
15
15
16
16
#. Clean possible garbage (form previous builds)::
17
17
18
18
rm -rf ../python-docs-es-pot cpython/Doc/CONTRIBUTING.rst cpython/Doc/upgrade-python-version.rst
19
19
20
20
#. Create the .po files from the new source code. This will generate all the .po files for version 3.8::
21
21
22
- SPHINX_GETTEXT=True sphinx-build -j auto -b gettext -d _build/doctrees . ../python-docs-es-pot
22
+ SPHINX_GETTEXT=True sphinx-build -j auto -b gettext -d _build/doctrees . ../python-docs-es-pot
23
23
24
24
.. note::
25
25
@@ -28,12 +28,12 @@ We are currently in branch 3.7, and we want to update the strings from 3.8.
28
28
29
29
#. Now, we update our translated files form the source language (English) with new strings::
30
30
31
- sphinx-intl update --language es --pot-dir ../python-docs-es-pot --locale-dir cpython/locales/
31
+ sphinx-intl update --language es --pot-dir ../python-docs-es-pot --locale-dir cpython/locales/
32
32
33
33
#. Remove `python-docs-cpython/ ` prefix added by `sphinx-build ` to avoid clazy diffs::
34
34
35
- sed -i **/*.po -e "s|python-docs-es/cpython/||g"
35
+ sed -i **/*.po -e "s|python-docs-es/cpython/||g"
36
36
37
37
#. Pass `powrap ` to make the column with consistent::
38
38
39
- powrap --modified
39
+ powrap --modified
0 commit comments