Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98af3ef

Browse files
authored
Merge pull request #6 from python/3.7
Merge from upstream
2 parents f4eae34 + 86719c9 commit 98af3ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+5412
-4517
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ before_install:
55
- sudo apt-get update
66
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
77
install:
8-
- pip install pospell
8+
- pip install pospell "powrap>=0.3.0"
99
- pospell --version
10+
- powrap --version
1011
script:
12+
- powrap --check --quiet **/*.po
1113
- pospell -p dict -l fr_FR **/*.po
12-
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=902196d867
14+
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=ef10f886ae

README.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ French Translation of the Python Documentation
44
.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
55
:target: https://travis-ci.org/python/python-docs-fr
66

7-
**Translated: 38%**
7+
**Translated: 39%**
88

99
Documentation Contribution Agreement
1010
------------------------------------
@@ -80,6 +80,15 @@ is python 3.7, we don't want to translate directly on the python 3.5 release.
8080
If needed translations would be backported on the oldest versions by the
8181
`documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team>`.
8282

83+
First, you need to find a file to work on. You can use `potodo <https://github.com/seluj78/potodo>`.
84+
Install it (``pip install potodo`` in a venv) and then run the command
85+
`potodo` in your cloned fork.
86+
From the list it spits out, you can choose any file that is not
87+
reserved. We recommend not starting with a file from ``c-api`` as it is very technical.
88+
89+
Once you've choosen a file, please open an issue telling you're
90+
working on it, to block someone from working on it.
91+
8392
Now you're ready to start a work session, each time you'll start a new task, start here:
8493

8594
.. code-block:: bash
@@ -352,6 +361,17 @@ from Pypi.
352361
353362
You'll need to configure ``tx`` via ``tx init`` if not already done.
354363
364+
First propagate known translations locally:
365+
366+
.. code-block:: bash
367+
368+
pomerge --from-files **/*.po --to-files **/*.po
369+
powrap --modified
370+
git commit -m "Propagating known translations."
371+
372+
373+
Then pull from transifex:
374+
355375
.. code-block:: bash
356376
357377
pomerge --from-files **/*.po

bugs.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
8+
"POT-Creation-Date: 2019-03-11 12:59+0100\n"
99
"PO-Revision-Date: 2018-07-31 19:26+0200\n"
1010
"Last-Translator: \n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -47,7 +47,7 @@ msgstr "Bogues de documentation"
4747
msgid ""
4848
"If you find a bug in this documentation or would like to propose an "
4949
"improvement, please submit a bug report on the :ref:`tracker <using-the-"
50-
"tracker>`. If you have a suggestion how to fix it, include that as well."
50+
"tracker>`. If you have a suggestion on how to fix it, include that as well."
5151
msgstr ""
5252
"Si vous trouvez un bogue dans cette documentation ou si vous désirez "
5353
"proposer une amélioration, si cela concerne aussi la documentation en "

c-api/contextvars.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ msgstr ""
6262

6363
#: ../Doc/c-api/contextvars.rst:58
6464
msgid "Type-check macros:"
65-
msgstr ""
65+
msgstr "Macros pour vérifier les types :"
6666

6767
#: ../Doc/c-api/contextvars.rst:62
6868
msgid ""

c-api/datetime.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
8+
"POT-Creation-Date: 2019-03-11 12:59+0100\n"
99
"PO-Revision-Date: 2019-01-11 20:51+0100\n"
10+
"Last-Translator: Louis Portay <[email protected]>\n"
1011
"Language-Team: FRENCH <[email protected]>\n"
1112
"Language: fr\n"
1213
"MIME-Version: 1.0\n"
1314
"Content-Type: text/plain; charset=UTF-8\n"
1415
"Content-Transfer-Encoding: 8bit\n"
15-
"Last-Translator: Louis Portay <[email protected]>\n"
1616
"X-Generator: Poedit 2.2\n"
1717
"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,3,-1,-1\n"
1818

0 commit comments

Comments
 (0)