Skip to content

Commit df80e2e

Browse files
committed
Merge branch 'howto_regex' of github.com:christopheNan/python-docs-fr into howto_regex
2 parents d28b65c + f7c9ba7 commit df80e2e

Some content is hidden

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

121 files changed

+5676
-4818
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
language: python
22
python: 3.6
3-
install: true
3+
before_install:
4+
- sudo apt-get update
5+
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
6+
install:
7+
- pip install pospell
8+
- pospell --version
49
script:
10+
- pospell -p dict -l fr *.po library/[a-b]*.po library/functions.po distributing/*.po installing/*.po install/*.po howto/*.po tutorial/*.po using/*.po whatsnew/*.po
511
- make CPYTHON_CLONE=/tmp/cpython/ BRANCH=3.7

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ upgrade_venv: $(VENV)/bin/activate
4242
. $(VENV)/bin/activate; python3 -m pip install --upgrade sphinx blurb
4343

4444

45+
$(VENV)/bin/activate:
46+
python3 -m venv $(VENV)
47+
48+
4549
.PHONY: progress
4650
progress:
4751
@python3 -c 'import sys; print("{:.1%}".format(int(sys.argv[1]) / int(sys.argv[2])))' \

README.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
French Translation of the Python Documentation
22
==============================================
33

4+
.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
5+
:target: https://travis-ci.org/python/python-docs-fr
6+
47
**Translated: 29%**
58

69
Documentation Contribution Agreement
@@ -326,13 +329,14 @@ from Pypi.
326329
327330
You'll need to configure ``tx`` via ``tx init`` if not already done.
328331
329-
You should work on a separate ``transifex`` branch.
330-
331332
.. code-block:: bash
332333
333-
tx pull
334+
pomerge --from-files **/*.po
335+
tx pull -f
336+
pomerge --to-files **/*.po
337+
pomerge --from-files **/*.po
338+
git checkout -- .
339+
pomerge --to-files **/*.po
334340
poindent --modified
335341
git commit -m "tx pull"
336-
git checkout 3.6
337-
git merge transifex -Xours
338-
tx push -t
342+
tx push -t -f

TRANSLATORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Antoine Rozo
66
Mohamed Kiouaz
77
Hervé Sousset
88
Mickaël Bergem
9+
Vincent Poulailleau

about.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
9-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9+
"PO-Revision-Date: 2018-07-23 17:55+0200\n"
10+
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
@@ -57,7 +57,7 @@ msgid ""
5757
"reStructuredText and the Docutils suite;"
5858
msgstr ""
5959
"le projet `Docutils <http://docutils.sourceforge.net/>`_ pour avoir créé "
60-
"reStructuredText et la suite d'outils Docutils ;"
60+
"*reStructuredText* et la suite d'outils *Docutils* ;"
6161

6262
#: ../Doc/about.rst:26
6363
msgid ""
@@ -77,7 +77,7 @@ msgid ""
7777
"library, and the Python documentation. See :source:`Misc/ACKS` in the "
7878
"Python source distribution for a partial list of contributors."
7979
msgstr ""
80-
"De nombreuses personnes ont contribué au language Python, à sa librarie "
80+
"De nombreuses personnes ont contribué au langage Python, à sa bibliothèque "
8181
"standard et à sa documentation. Consultez :source:`Misc/ACKS` dans les "
8282
"sources de la distribution Python pour avoir une liste partielle des "
8383
"contributeurs."

bugs.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
9-
"PO-Revision-Date: 2018-06-28 15:37+0200\n"
9+
"PO-Revision-Date: 2018-07-31 19:26+0200\n"
1010
"Last-Translator: \n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
@@ -36,7 +36,7 @@ msgid ""
3636
"ref:`contribute <contributing-to-python>`."
3737
msgstr ""
3838
"Il est parfois plus rapide de réparer les bugs soi-même et d'en proposer les "
39-
"*patch*, ca simplifie le processus et implique moins de monde. Apprenez à :"
39+
"*patch*, ça simplifie le processus et implique moins de monde. Apprenez à :"
4040
"ref:`contribuer <contributing-to-python>`."
4141

4242
#: ../Doc/bugs.rst:16
@@ -55,8 +55,8 @@ msgstr ""
5555
"décrivant en anglais le bogue et où vous l'avez trouvé. Si le problème ne "
5656
"touche que la traduction en français, ouvrez un ticket sur https://github."
5757
"com/python/python-docs-fr/issues, ou venez nous en toucher un mot sur le "
58-
"canal #python-fr sur freenode (https://webchat.freenode.net/). Si vous avez "
59-
"une suggestion de correction, merci de l'inclure également."
58+
"canal #python-fr sur *freenode* (https://webchat.freenode.net/). Si vous "
59+
"avez une suggestion de correction, merci de l'inclure également."
6060

6161
#: ../Doc/bugs.rst:22
6262
msgid ""
@@ -85,8 +85,8 @@ msgid ""
8585
"(https://bugs.python.org/). The bug tracker offers a Web form which allows "
8686
"pertinent information to be entered and submitted to the developers."
8787
msgstr ""
88-
"Les rapports de bugs pour Python lui-même devraient être soumis via le Bug "
89-
"Tracker Python (http://bugs.python.org/). Le gestionnaire de ticket propose "
88+
"Les rapports de bugs pour Python lui-même devraient être soumis via le *Bug "
89+
"Tracker Python* (http://bugs.python.org/). Le gestionnaire de ticket propose "
9090
"un formulaire Web permettant de saisir des informations pertinentes à "
9191
"soumettre aux développeurs."
9292

@@ -116,20 +116,20 @@ msgid ""
116116
"OpenID provider logos in the sidebar. It is not possible to submit a bug "
117117
"report anonymously."
118118
msgstr ""
119-
"Si le problème que vous soumettez n'est pas déjà dans le bug tracker, "
120-
"revenez au Python Bug Tracker et connectez-vous. Si vous n'avez pas déjà un "
121-
"compte pour le tracker, cliquez sur le lien \"S'enregistrer\", ou, si vous "
122-
"utilisez OpenID, sur l'un des logos des fournisseurs OpenID dans la barre "
123-
"latérale. Il n'est pas possible de soumettre un rapport de bug de manière "
124-
"anonyme."
119+
"Si le problème que vous soumettez n'est pas déjà dans le *bug tracker*, "
120+
"revenez au *Python Bug Tracker* et connectez-vous. Si vous n'avez pas déjà "
121+
"un compte pour le *tracker*, cliquez sur le lien \"S'enregistrer\", ou, si "
122+
"vous utilisez *OpenID*, sur l'un des logos des fournisseurs *OpenID* dans la "
123+
"barre latérale. Il n'est pas possible de soumettre un rapport de bug de "
124+
"manière anonyme."
125125

126126
#: ../Doc/bugs.rst:51
127127
msgid ""
128128
"Being now logged in, you can submit a bug. Select the \"Create New\" link "
129129
"in the sidebar to open the bug reporting form."
130130
msgstr ""
131131
"Une fois identifié, pour pouvez rapporter un bogue. Sélectionnez le lien "
132-
"\"Create New\" dans la barre latérale pour ouvrir un nouveau formulaire de "
132+
"*Create New* dans la barre latérale pour ouvrir un nouveau formulaire de "
133133
"rapport de bogue."
134134

135135
#: ../Doc/bugs.rst:54

c-api/arg.po

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
9-
"PO-Revision-Date: 2018-05-08 17:57+0200\n"
9+
"PO-Revision-Date: 2018-08-03 18:36+0200\n"
1010
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
@@ -294,9 +294,8 @@ msgid ""
294294
msgstr ""
295295

296296
#: ../Doc/c-api/arg.rst:156
297-
#, fuzzy
298297
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
299-
msgstr "``u`` (:class:`str`) [Py_UNICODE \\*]"
298+
msgstr "``u`` (:class:`str`) [const Py_UNICODE \\*]"
300299

301300
#: ../Doc/c-api/arg.rst:142
302301
msgid ""
@@ -317,9 +316,8 @@ msgid ""
317316
msgstr ""
318317

319318
#: ../Doc/c-api/arg.rst:165
320-
#, fuzzy
321319
msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
322-
msgstr "``u#`` (:class:`str`) [Py_UNICODE \\*, int]"
320+
msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
323321

324322
#: ../Doc/c-api/arg.rst:159
325323
msgid ""
@@ -329,9 +327,8 @@ msgid ""
329327
msgstr ""
330328

331329
#: ../Doc/c-api/arg.rst:173
332-
#, fuzzy
333330
msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
334-
msgstr "``Z`` (:class:`str` ou ``None``) [Py_UNICODE \\*]"
331+
msgstr "``Z`` (:class:`str` ou ``None``) [const Py_UNICODE \\*]"
335332

336333
#: ../Doc/c-api/arg.rst:168
337334
msgid ""
@@ -342,9 +339,8 @@ msgstr ""
342339
"pointeur :c:type:`Py_UNICODE` vaut *NULL*."
343340

344341
#: ../Doc/c-api/arg.rst:181
345-
#, fuzzy
346342
msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
347-
msgstr "``Z#`` (:class:`str` ou ``None``) [Py_UNICODE \\*, int]"
343+
msgstr "``Z#`` (:class:`str` ou ``None``) [const Py_UNICODE \\*, int]"
348344

349345
#: ../Doc/c-api/arg.rst:176
350346
msgid ""
@@ -990,9 +986,8 @@ msgid ""
990986
msgstr ""
991987

992988
#: ../Doc/c-api/arg.rst:550
993-
#, fuzzy
994989
msgid "``s`` (:class:`str` or ``None``) [const char \\*]"
995-
msgstr "``z`` (:class:`str` ou ``None``) [const char \\*]"
990+
msgstr "``s`` (:class:`str` ou ``None``) [const char \\*]"
996991

997992
#: ../Doc/c-api/arg.rst:549
998993
msgid ""
@@ -1001,9 +996,8 @@ msgid ""
1001996
msgstr ""
1002997

1003998
#: ../Doc/c-api/arg.rst:555
1004-
#, fuzzy
1005999
msgid "``s#`` (:class:`str` or ``None``) [const char \\*, int]"
1006-
msgstr "``s#`` (:class:`str` ou ``None``) [char \\*, int]"
1000+
msgstr "``s#`` (:class:`str` ou ``None``) [const char \\*, int]"
10071001

10081002
#: ../Doc/c-api/arg.rst:553
10091003
msgid ""
@@ -1013,9 +1007,8 @@ msgid ""
10131007
msgstr ""
10141008

10151009
#: ../Doc/c-api/arg.rst:559
1016-
#, fuzzy
10171010
msgid "``y`` (:class:`bytes`) [const char \\*]"
1018-
msgstr "``y`` (:class:`bytes`) [char \\*]"
1011+
msgstr "``y`` (:class:`bytes`) [const char \\*]"
10191012

10201013
#: ../Doc/c-api/arg.rst:558
10211014
msgid ""
@@ -1024,9 +1017,8 @@ msgid ""
10241017
msgstr ""
10251018

10261019
#: ../Doc/c-api/arg.rst:563
1027-
#, fuzzy
10281020
msgid "``y#`` (:class:`bytes`) [const char \\*, int]"
1029-
msgstr "``y#`` (:class:`bytes`) [char \\*, int]"
1021+
msgstr "``y#`` (:class:`bytes`) [const char \\*, int]"
10301022

10311023
#: ../Doc/c-api/arg.rst:562
10321024
msgid ""
@@ -1039,18 +1031,16 @@ msgid "Same as ``s``."
10391031
msgstr ""
10401032

10411033
#: ../Doc/c-api/arg.rst:569
1042-
#, fuzzy
10431034
msgid "``z#`` (:class:`str` or ``None``) [const char \\*, int]"
1044-
msgstr "``z#`` (:class:`str` ou ``None``) [char \\*, int]"
1035+
msgstr "``z#`` (:class:`str` ou ``None``) [const char \\*, int]"
10451036

10461037
#: ../Doc/c-api/arg.rst:569 ../Doc/c-api/arg.rst:585
10471038
msgid "Same as ``s#``."
10481039
msgstr ""
10491040

10501041
#: ../Doc/c-api/arg.rst:574
1051-
#, fuzzy
10521042
msgid "``u`` (:class:`str`) [const wchar_t \\*]"
1053-
msgstr "``s`` (:class:`str`) [const char \\*]"
1043+
msgstr "``u`` (:class:`str`) [const wchar_t \\*]"
10541044

10551045
#: ../Doc/c-api/arg.rst:572
10561046
msgid ""
@@ -1060,9 +1050,8 @@ msgid ""
10601050
msgstr ""
10611051

10621052
#: ../Doc/c-api/arg.rst:579
1063-
#, fuzzy
10641053
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int]"
1065-
msgstr "``u#`` (:class:`str`) [wchar_t \\*, int]"
1054+
msgstr "``u#`` (:class:`str`) [const wchar_t \\*, int]"
10661055

10671056
#: ../Doc/c-api/arg.rst:577
10681057
msgid ""
@@ -1072,14 +1061,12 @@ msgid ""
10721061
msgstr ""
10731062

10741063
#: ../Doc/c-api/arg.rst:582
1075-
#, fuzzy
10761064
msgid "``U`` (:class:`str` or ``None``) [const char \\*]"
1077-
msgstr "``z`` (:class:`str` ou ``None``) [const char \\*]"
1065+
msgstr "``U`` (:class:`str` ou ``None``) [const char \\*]"
10781066

10791067
#: ../Doc/c-api/arg.rst:585
1080-
#, fuzzy
10811068
msgid "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
1082-
msgstr "``U#`` (:class:`str` ou ``None``) [char \\*, int]"
1069+
msgstr "``U#`` (:class:`str` ou ``None``) [const char \\*, int]"
10831070

10841071
#: ../Doc/c-api/arg.rst:588
10851072
msgid "Convert a plain C :c:type:`int` to a Python integer object."

c-api/buffer.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-04-29 00:24+0200\n"
8+
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
99
"PO-Revision-Date: 2018-07-16 23:59+0200\n"
10+
"Last-Translator: \n"
1011
"Language-Team: FRENCH <traductions@lists.afpy.org>\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: \n"
1616
"X-Generator: Poedit 2.0.2\n"
1717

1818
#: ../Doc/c-api/buffer.rst:11

c-api/contextvars.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ msgstr ""
66
"Project-Id-Version: Python 3.7\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
9-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9+
"PO-Revision-Date: 2018-08-03 23:47+0200\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
12+
"Language: fr\n"
1213
"MIME-Version: 1.0\n"
1314
"Content-Type: text/plain; charset=UTF-8\n"
1415
"Content-Transfer-Encoding: 8bit\n"

0 commit comments

Comments
 (0)