Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
531 commits
Select commit Hold shift + click to select a range
9f53d07
Proofreading
JulienPalard Oct 11, 2018
4e4cf15
Nice spot travis.
JulienPalard Oct 11, 2018
abf6155
library pprint
pshop Oct 12, 2018
bb90135
library pprint
pshop Oct 12, 2018
0cb2424
library pprint
pshop Oct 12, 2018
1f8659e
library pprint
pshop Oct 12, 2018
411cb34
library pprint
pshop Oct 12, 2018
cc35c27
merge pot files.
JulienPalard Oct 13, 2018
5837c7b
Orthographe
JulienPalard Oct 13, 2018
7ee3e99
Merge known translation from before merge.
JulienPalard Oct 13, 2018
ac45975
Utilisation de Python - ligne de commande.
christopheNan Oct 14, 2018
7a54755
Traduction de timestamp par horodatage. (#384)
christopheNan Oct 14, 2018
95f3c1c
Feedback by ybon.
JulienPalard Oct 14, 2018
fdf27d8
translated most of c-api/file.po
laenNoCode Oct 15, 2018
5d9a82b
a few typing error fixed
laenNoCode Oct 15, 2018
9354e9d
pospell compliance.
christopheNan Oct 16, 2018
42fdcd6
last changes
pshop Oct 17, 2018
a0fe8de
fix number one of remarks on the traduction
laenNoCode Oct 17, 2018
a64afae
Merge pull request #380 from pshop/pprint
christopheNan Oct 17, 2018
f6878fe
Merge pull request #322 from hartym/3.7_library_dataclasses
christopheNan Oct 17, 2018
6c34c02
Merge remote-tracking branch 'laenNoCode/3.7' into 3.7
JulienPalard Oct 18, 2018
7f06f17
Proofread c-api/file
JulienPalard Oct 18, 2018
a3ff2cb
Feedback from ChrisNan
JulienPalard Oct 18, 2018
0da9766
Merge branch 'merge-pot' into 3.7
JulienPalard Oct 18, 2018
5b108f4
Trying to fix CI.
JulienPalard Oct 20, 2018
a0e86da
Trying to fix CI.
JulienPalard Oct 20, 2018
9f6e5b6
Translate ipaddress module
Oct 22, 2018
b257e33
Complete library/multiprocessing (#348)
entwanne Oct 23, 2018
003a910
FIX: Missing space.
JulienPalard Oct 23, 2018
9a37075
No-break space in README
JulienPalard Oct 23, 2018
b649553
Update with the right url for Grammalecte (#390)
matrixise Oct 23, 2018
932e604
Prise en compte des autres remarques.
christopheNan Oct 26, 2018
26cd503
Completed distutils/apiref : Go ? (#378)
Krilivye Nov 1, 2018
8c0ac08
Boom 33%.
JulienPalard Nov 1, 2018
cf6e01e
Give more info about release life cycle and translations (#392)
4383 Nov 1, 2018
bb803dc
Finalisation de traduction de fichiers de la Référence. (#388)
christopheNan Nov 1, 2018
7f66065
FIX: Missing backslash.
JulienPalard Nov 1, 2018
c6d8362
Merge remote-tracking branch 'chrisNan/gdh' into 3.7
JulienPalard Nov 1, 2018
28d08a3
Enhance Makefile and .travis.yml from various feedbacks. (#393)
JulienPalard Nov 4, 2018
f80c289
Fix of some sentences - add non-breakable spaces
Nov 8, 2018
0c639d5
Simplify, people have hard time setting up everything on windows and …
JulienPalard Nov 9, 2018
34d769a
FIX: Block.
JulienPalard Nov 9, 2018
a4fac6d
Fix Makefile
Nov 9, 2018
957020f
Merge pull request #400 from kw-andy/fix-makefile
christopheNan Nov 9, 2018
d71a2f4
Fix invalid words
Nov 9, 2018
d90a706
Finish pathlib.po (#399)
Nov 9, 2018
0e902b8
Finished translation of objbuffer
Seluj78 Nov 10, 2018
66b7f6d
s/poindent/powrap/
JulienPalard Nov 11, 2018
0ec3dc1
Fixed typos
Seluj78 Nov 11, 2018
1dafe17
stdtypes.po : fin de traduction (#402)
kw-andy Nov 12, 2018
2c5d7df
Merge pull request #1 from python/3.7
awecx Nov 12, 2018
464086a
howto/logging (#379)
glyg Nov 13, 2018
34a7bcb
Bump: 34%
JulienPalard Nov 13, 2018
2813588
Update c-api/objbuffer.po
JulienPalard Nov 13, 2018
e8db814
Update c-api/objbuffer.po
JulienPalard Nov 13, 2018
27473a3
Update c-api/objbuffer.po
JulienPalard Nov 13, 2018
a2d55ce
Update c-api/objbuffer.po
JulienPalard Nov 13, 2018
9082c21
Update c-api/objbuffer.po
JulienPalard Nov 13, 2018
7d36848
codeop
Nov 13, 2018
ca6d9b9
FIX: Inclue (#419)
JulienPalard Nov 13, 2018
7d2cec9
typo
Nov 13, 2018
bfca5ed
Faster builds maybe (#426)
JulienPalard Nov 14, 2018
a7823c0
Update library/codeop.po
JulienPalard Nov 14, 2018
e741c8a
Update library/codeop.po
JulienPalard Nov 14, 2018
8527a4f
Corrections mineures
Nov 14, 2018
d64a114
Suppression tags
Nov 14, 2018
1f9798e
Correction avertissement sur le build
Nov 14, 2018
84417c6
Correction avertissement sur le build (2e essai) + 'expression' => 'i…
Nov 14, 2018
3cb3ca3
Sorted the todo entries (#423)
Seluj78 Nov 15, 2018
2f1f402
Enhance todo list display.
JulienPalard Nov 15, 2018
7f1e93e
Corrections mineures
Nov 15, 2018
13d6f3c
Correction
Nov 15, 2018
a39cf6b
s/installeur/installateur/
JulienPalard Nov 16, 2018
e96f91d
Merge remote-tracking branch 'jeffd-dev/3.7' into 3.7
JulienPalard Nov 18, 2018
abb20b8
rewrapping
JulienPalard Nov 18, 2018
b6300a0
Translate library/zipfile.po (#396)
Lomanic Nov 18, 2018
d4757ec
translate http.cookies (#398)
ztenma Nov 18, 2018
8e3221c
Translation of venv.po (#407)
Seluj78 Nov 18, 2018
175c215
Working on design.po
deronnax Nov 21, 2018
57e975f
Added myself to the TRANSLATORS file (#438)
Seluj78 Nov 23, 2018
12012db
Translated using/mac.po (#425)
Seluj78 Nov 23, 2018
9f70c6b
faq - design, partie 2 (#437)
deronnax Nov 23, 2018
38b749c
Proofreading.
JulienPalard Nov 23, 2018
24821c6
Bump: 35%
JulienPalard Nov 23, 2018
75a826f
Translated copyreg.po (#409)
Seluj78 Nov 23, 2018
25ae289
Merge commit '13d6f3c38e6200f2188fee7542dfc2e4ecaee041' into 3.7
JulienPalard Nov 29, 2018
03ab206
merge pot files.
JulienPalard Nov 29, 2018
473b2bd
Moved email.util to email.utils
JulienPalard Nov 29, 2018
820266a
Proofreading :ref:`Availability` tags (mostly using a small script).
JulienPalard Nov 29, 2018
56f46d2
Bump commit we're based on.
JulienPalard Nov 29, 2018
d75caf3
FIX: Spellings.
JulienPalard Nov 29, 2018
0f76fa3
FIX: Headers of new files.
JulienPalard Nov 29, 2018
8a8e2f2
Those file do no longer exist upstream.
JulienPalard Nov 29, 2018
c6668da
Added lower() to issue names - todo.py (#440)
Seluj78 Nov 29, 2018
3733065
Merge pull request #441 from JulienPalard/merge-pot
JulienPalard Nov 30, 2018
a9c0d93
Update c-api/objbuffer.po
Seluj78 Nov 30, 2018
10259eb
Fixed fuzzy translations
Seluj78 Nov 30, 2018
fada4ef
Propagating known translations.
JulienPalard Nov 30, 2018
c1f7789
update hashlib module translation (#435)
julienvitard Nov 30, 2018
3208d50
traduit la dernière section de la FAQ Windows
deronnax Dec 2, 2018
ed12f86
traduction du début du module random
ibrahimaroussi Dec 6, 2018
ada6fe5
je corrige les erreurs de mon dernier commit
ibrahimaroussi Dec 6, 2018
bbb8f8c
V.2 commit
ibrahimaroussi Dec 6, 2018
1b4e8eb
Working on re.po
JulienPalard Dec 7, 2018
d77e791
proofreading re.po
JulienPalard Dec 7, 2018
cf8110c
more proofreading of re.po
JulienPalard Dec 7, 2018
39ddad0
more proofreading of re.po
JulienPalard Dec 7, 2018
a2b08a8
more proofreading of re.po
JulienPalard Dec 7, 2018
210a5ab
Merge pull request #458 from JulienPalard/re.po
JulienPalard Dec 7, 2018
6fa583c
Merge pull request #413 from Seluj78/objbuffer
JulienPalard Dec 10, 2018
d676bcd
Merge pull request #442 from JulienPalard/propagating
JulienPalard Dec 10, 2018
ca1229c
"Comment puis-je vérifier de manière non bloquante qu'une touche [...]"
deronnax Dec 10, 2018
c9d2d3c
Merge pull request #446 from deronnax/faq_windows_3
JulienPalard Dec 10, 2018
753ce0f
traduit la première section de la FAQ Windows (#444)
deronnax Dec 10, 2018
8707d42
Finished the translation of builtdist.po (#411)
Seluj78 Dec 13, 2018
d687030
Translated xml.sax.utils.po (#417)
Seluj78 Dec 13, 2018
f79fbfa
Translated using/unix.po (#429)
Seluj78 Dec 13, 2018
ca2e05b
Translated library/operator.po (v.2) (#451)
awecx Dec 13, 2018
9211eab
Finished translating extending.po (#415)
Seluj78 Dec 13, 2018
4bb38a0
corrige une typo rst (espace en trop) (#461)
deronnax Dec 13, 2018
93b03fd
Removed fuzzy that was left by mistake. (#462)
Seluj78 Dec 13, 2018
0f23d89
Removed fuzzy entry in translation of tutorial/datastructures.po (#467)
Seluj78 Dec 14, 2018
ff291f9
Removed fuzzy entry in translation (#468)
Seluj78 Dec 14, 2018
26d074f
Fixed fuzzy for library/venv.po (#489)
Seluj78 Dec 14, 2018
91e26c8
Merged upstream 3.7.2rc1 release (#481)
Seluj78 Dec 14, 2018
1bf8818
Added last missing translation to tutorial/classes.po (#464)
Seluj78 Dec 14, 2018
9527a8d
Removed fuzzy entry in translation and finished last translations in …
Seluj78 Dec 14, 2018
06e9c33
Removed fuzzy entry in translation and finished last translations in …
Seluj78 Dec 14, 2018
75b1a91
Removed fuzzy entry in translation and finished last translations (#477)
Seluj78 Dec 14, 2018
9bf6a0d
Removed fuzzy entry in translation and finished last translations in …
Seluj78 Dec 14, 2018
0279739
Translated library/asyncio.po (#453)
awecx Dec 17, 2018
1615e14
Removed fuzzy entry in translation and finished last translations in …
Seluj78 Dec 17, 2018
3faff7c
Fixed fuzzys in library/zipfile.po (#483)
Seluj78 Dec 17, 2018
0bac0e3
Finished translation for xml.po (#488)
Seluj78 Dec 17, 2018
734da7e
"regarde devant avant de tomber": change "tomber" pour "sauter" (#492)
deronnax Dec 17, 2018
0942e82
adding myself to translators (#495)
mdupuy-octo Dec 17, 2018
a99ae47
Translated library/spwd.po
Seluj78 Dec 17, 2018
bafd93e
Fixed pospell errors
Seluj78 Dec 17, 2018
262f0a7
Removed fuzzy in using/unix.po (#486)
Seluj78 Dec 17, 2018
caf6043
Apply suggestions from code review
Seluj78 Dec 17, 2018
1c1893b
Apply suggestions from code review
deronnax Dec 18, 2018
c6d6fbf
Removed fuzzy in library/xml.sax.po (#487)
Seluj78 Dec 21, 2018
906bc21
Implementing potodo command as a replacement for make todo (#500)
Seluj78 Dec 21, 2018
3e76cbe
petite reformulation dans using/unix.po (#501)
deronnax Dec 21, 2018
5b0ef74
Update library/spwd.po
Seluj78 Dec 21, 2018
b785ba5
Removed fuzzys in faq, installing and . (#491)
Seluj78 Dec 23, 2018
527c124
Pomerge (#499)
JulienPalard Dec 24, 2018
2f853d8
Pomerge 3.7.2 (#504)
JulienPalard Jan 2, 2019
60173c7
Removed fuzzy entry in translation and finished last translations in …
JulienPalard Jan 3, 2019
d1f85ca
Update c-api/object.po
JulienPalard Jan 3, 2019
0a38822
make merge
JulienPalard Jan 3, 2019
d3b1ef8
Review some fuzzy translations. (#505)
JulienPalard Jan 3, 2019
f2ab89f
make merge
JulienPalard Jan 4, 2019
cdee249
Apply suggestions from code review
JulienPalard Jan 11, 2019
7106631
Work on library/tempfile.po
JulienPalard Jan 11, 2019
99e96c3
FIX: Missing bang.
JulienPalard Jan 11, 2019
5ca8582
Bump 36%
JulienPalard Jan 11, 2019
80b0217
Translated errno
Dygouin Jan 11, 2019
941a911
translated email. Needs powrap
VivienLambert Jan 11, 2019
1f28a68
Update library/errno.po
christopheNan Jan 11, 2019
3fe5c8d
Update library/errno.po
christopheNan Jan 11, 2019
d33833d
Update library/errno.po
christopheNan Jan 11, 2019
42627bf
Update library/errno.po
christopheNan Jan 11, 2019
f0f4c6c
Update library/errno.po
christopheNan Jan 11, 2019
16c236e
Update library/errno.po
christopheNan Jan 11, 2019
4a067c8
Update library/errno.po
christopheNan Jan 11, 2019
04886b8
Update library/errno.po
christopheNan Jan 11, 2019
8f3ef05
Update library/errno.po
christopheNan Jan 11, 2019
6244587
Update library/errno.po
christopheNan Jan 11, 2019
3c8e031
Update library/errno.po
christopheNan Jan 11, 2019
2e22bac
Update library/errno.po
christopheNan Jan 11, 2019
400e20a
Update library/errno.po
christopheNan Jan 11, 2019
480a7cb
Apply suggestions from code review
christopheNan Jan 11, 2019
9ffbd7f
corrections du log
Dygouin Jan 11, 2019
d6c1b19
corrections du log v2
Dygouin Jan 11, 2019
ba9c787
Modifications en collab avec jlasne
Dygouin Jan 12, 2019
e200296
changement de "périphérique" et réecriture des lignes disparues
Dygouin Jan 12, 2019
e40ad88
dernier changement pour dispositif
Dygouin Jan 14, 2019
cfd0bee
modif traducteur et Slot vers slot
Dygouin Jan 14, 2019
84f5c40
re changement de slot vers Slot
Dygouin Jan 14, 2019
dfff534
Merge pull request #537 from DeltaAlphaIotaLamdaAlphaNu/errno
christopheNan Jan 15, 2019
0e4f754
Finished c-api/datetime (#526)
louisportay Jan 16, 2019
e7c4170
Turtle introduction traduction #507 (#521)
pablo-a Jan 16, 2019
9c52dd9
Add potodo in venv (#543)
christopheNan Jan 16, 2019
95fc9b7
translation of c-api/complex.po (#542)
afoures Jan 16, 2019
7a0b338
Translation of c-api/float.po is done ! (#529)
afoures Jan 16, 2019
53b49b7
powrap
JulienPalard Jan 16, 2019
c16828d
howto/ipadress - relecture (#536)
christopheNan Jan 16, 2019
1da8e80
reprise de la PR d'@ibrahimaroussi en intégrant les remarques d'@awecx
deronnax Jan 18, 2019
8ef8d87
Update library/email.po
deronnax Jan 19, 2019
0f0cc57
Update library/email.po
Seluj78 Jan 19, 2019
c311131
Update library/email.po
Seluj78 Jan 19, 2019
3989ac5
Update library/email.po
Seluj78 Jan 19, 2019
f39ed4a
Update library/email.po
Seluj78 Jan 19, 2019
4c9a31e
Update library/email.po
Seluj78 Jan 19, 2019
6986595
Update library/email.po
Seluj78 Jan 19, 2019
58a6dcb
Update library/email.po
deronnax Jan 19, 2019
24e797d
Update library/email.po
Seluj78 Jan 19, 2019
d10a04d
Update library/email.po
VivienLambert Jan 19, 2019
04d6a4f
Update library/email.po
VivienLambert Jan 19, 2019
df294fe
Update library/email.po
VivienLambert Jan 19, 2019
5b46e62
Update library/email.po
VivienLambert Jan 19, 2019
66aa105
Update library/email.po
VivienLambert Jan 19, 2019
7bd7131
Update library/email.po
VivienLambert Jan 19, 2019
0aa1d8f
Update library/email.po
VivienLambert Jan 19, 2019
c495228
Update library/email.po
VivienLambert Jan 19, 2019
6113074
Update library/email.po
VivienLambert Jan 19, 2019
9f5e068
Update library/email.po
VivienLambert Jan 19, 2019
ae2237d
Update library/email.po
VivienLambert Jan 19, 2019
d15d87e
Update library/email.po
VivienLambert Jan 19, 2019
562f00b
Update library/email.po
VivienLambert Jan 19, 2019
2c7e025
Update library/email.po
VivienLambert Jan 19, 2019
955255e
Update library/email.po
VivienLambert Jan 19, 2019
6cc5655
Update library/email.po
VivienLambert Jan 19, 2019
3e8b676
Update library/email.po
VivienLambert Jan 19, 2019
a17d1d1
Update library/random.po
Seluj78 Jan 19, 2019
875aa42
Update library/random.po
Seluj78 Jan 19, 2019
525a8ba
Update library/random.po
Seluj78 Jan 19, 2019
f274cc0
Update library/random.po
Seluj78 Jan 19, 2019
ae4eff9
Update library/random.po
Seluj78 Jan 19, 2019
78aad52
Update library/random.po
Seluj78 Jan 19, 2019
93c1bff
Update library/random.po
christopheNan Jan 19, 2019
5e92c30
Update library/random.po
christopheNan Jan 19, 2019
8da3830
Update library/random.po
christopheNan Jan 19, 2019
97e82f7
remplace 'threadsafe' par 'programmes ayant de multiples fils d'éxecu…
deronnax Jan 19, 2019
8be433f
corringe une typo ('gettate')
deronnax Jan 19, 2019
0f2303b
Update library/email.po
Seluj78 Jan 22, 2019
689989e
Apply suggestions from code review
VivienLambert Jan 22, 2019
f7857a1
Apply suggestions from code review
VivienLambert Jan 22, 2019
23b784e
Update dict
VivienLambert Jan 22, 2019
a1cfff9
Update library/email.po
VivienLambert Jan 22, 2019
7625427
Update library/email.po
VivienLambert Jan 22, 2019
c29c5c4
Updated spwd from code review
Seluj78 Jan 22, 2019
1a24d6d
Relecture
Seluj78 Jan 22, 2019
970b361
Apply suggestions from code review
VivienLambert Jan 22, 2019
53eba29
library/errno.po - quelques corrections oubliées avant le précédent c…
christopheNan Jan 22, 2019
4d6b4f7
FIX: deduplication.
JulienPalard Jan 24, 2019
fa08996
Merge pull request #546 from christopheNan/oublis_errno
christopheNan Jan 24, 2019
b674598
Apply suggestions from code review
christopheNan Jan 25, 2019
73fce8c
Apply suggestions from code review
VivienLambert Jan 26, 2019
9e2fcd4
Apply suggestions from code review
VivienLambert Jan 26, 2019
93e865d
Merge pull request #539 from VivienLambert/email
christopheNan Jan 30, 2019
10bdb9a
Merge pull request #496 from Seluj78/library-spwd
christopheNan Jan 30, 2019
b61235f
Due to deactivation of smartquotes, --- are no loger automatically co…
JulienPalard Feb 3, 2019
19db2b6
Remove untranslated sentence in msgid.
JulienPalard Feb 3, 2019
b9b7c15
Merge pull request #544 from deronnax/ibrahimaroussi_module_random
christopheNan Feb 5, 2019
7c435f7
Various minor changes (#550)
Feb 18, 2019
baad78e
Started translating library/shutil.po (#553)
Seluj78 Feb 19, 2019
ee516bb
Suivi de la version originale - traitement des "fuzzy" (#554)
christopheNan Feb 21, 2019
995ebf6
Makefile: Creating the venv needs the sphinx conf for dependencies.
JulienPalard Feb 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.mo
.tx/**/*.po
venv/
.idea/
.DS_Store
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: python
python: 3.6
before_install:
- sudo apt-get update
- sudo apt-get install -y hunspell hunspell-fr-comprehensive
install:
- pip install pospell
- pospell --version
script:
- pospell -p dict -l fr_FR **/*.po
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=902196d867
52 changes: 25 additions & 27 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,34 @@ SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
LANGUAGE := fr
VENV := ~/.venvs/python-docs-i18n/
PYTHON := $(shell which python3)
MODE := autobuild-dev-html
BRANCH = $(shell git rev-parse --abbrev-ref HEAD)
JOBS = 4
MODE := html
BRANCH = 3.7
COMMIT =
JOBS = auto


.PHONY: all
all: $(VENV)/bin/sphinx-build $(VENV)/bin/blurb $(SPHINX_CONF)
mkdir -p $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/
ln -nfs $(shell readlink -f .) $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/LC_MESSAGES
. $(VENV)/bin/activate; $(MAKE) -C $(CPYTHON_CLONE)/Doc/ SPHINXOPTS='-j$(JOBS) -D locale_dirs=locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE)
all: $(SPHINX_CONF) $(VENV)/bin/activate
ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD)" "$(BRANCH)"
$(warning "Your ../cpython checkout may be on the wrong branch, got $(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all HEAD) expected $(BRANCH)")
endif
mkdir -p $(CPYTHON_CLONE)/locales/$(LANGUAGE)/
ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) SPHINXOPTS='-qW -j$(JOBS) -D locale_dirs=../locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE)


$(SPHINX_CONF):
git clone --depth 1 --no-single-branch https://github.com/python/cpython.git $(CPYTHON_CLONE)


$(VENV)/bin/activate:
mkdir -p $(VENV)
$(PYTHON) -m venv $(VENV)

git clone --depth 1 --branch $(BRANCH) https://github.com/python/cpython.git $(CPYTHON_CLONE)
[ -n "$(COMMIT)" ] && (i=1; while ! $$(git -C $(CPYTHON_CLONE) checkout $(COMMIT)); do i=$$((i * 2)); git -C $(CPYTHON_CLONE) fetch --depth $$i; done) || true

$(VENV)/bin/sphinx-build: $(VENV)/bin/activate
. $(VENV)/bin/activate; python3 -m pip install sphinx


$(VENV)/bin/blurb: $(VENV)/bin/activate
. $(VENV)/bin/activate; python3 -m pip install blurb
.PHONY: upgrade_venv
upgrade_venv:
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv


.PHONY: upgrade_venv
upgrade_venv: $(VENV)/bin/activate
. $(VENV)/bin/activate; python3 -m pip install --upgrade sphinx blurb
$(VENV)/bin/activate: $(SPHINX_CONF)
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv


.PHONY: progress
Expand All @@ -59,10 +55,12 @@ progress:
$(shell msgcat *.po */*.po | grep -c '^msgid')


.PHONY: todo
todo:
for file in *.po */*.po; do echo $$(msgattrib --untranslated $$file | grep ^msgid | sed 1d | wc -l ) $$file; done | grep -v ^0 | sort -gr
$(VENV)/bin/potodo: $(VENV)/bin/activate
$(VENV)/bin/pip install potodo

.PHONY: todo
todo: $(VENV)/bin/potodo
$(VENV)/bin/potodo --github python/python-docs-fr

.PHONY: merge
merge: upgrade_venv
Expand All @@ -89,5 +87,5 @@ endif


.PHONY: fuzzy
fuzzy:
for file in *.po */*.po; do echo $$(msgattrib --only-fuzzy --no-obsolete "$$file" | grep -c '#, fuzzy') $$file; done | grep -v ^0 | sort -gr
fuzzy: $(VENV)/bin/potodo
$(VENV)/bin/potodo --github python/python-docs-fr -f
79 changes: 64 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
French Translation of the Python Documentation
==============================================

**Translated: 28%**
.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
:target: https://travis-ci.org/python/python-docs-fr

**Translated: 36%**

Documentation Contribution Agreement
------------------------------------
Expand Down Expand Up @@ -71,6 +74,11 @@ Step by step:
# Add the upstream (the public repository) using HTTPS (won't ask for password):
git remote add upstream https://github.com/python/python-docs-fr.git

All the translations must be made on the latest release.
We never translate on an oldest version, by example, the latest python release
is python 3.7, we don't want to translate directly on the python 3.5 release.
If needed translations would be backported on the oldest versions by the
`documentation team <https://www.python.org/dev/peps/pep-8015/#documentation-team>`.

Now you're ready to start a work session, each time you'll start a new task, start here:

Expand All @@ -83,7 +91,11 @@ Now you're ready to start a work session, each time you'll start a new task, sta
git checkout -b glossary upstream/3.7

# You can now work on the file, typically using poedit,
# then commit your work with a nice explicit message:
poedit directory/file.po

# When everything is clear (syntax errors from Sphinx, html rendering,
# semantics, typography),
# you can commit your work with a nice explicit message:
git commit -a -m "Working on glossary."

# Then push your modifications to your github clone,
Expand All @@ -93,7 +105,8 @@ Now you're ready to start a work session, each time you'll start a new task, sta
# it's nice as it's exactly what we want:
git push origin HEAD

# Now you can open the pull request on github, just go to
# The previous command will print you a link to open a PR on github.
# If you missed it, just go to
# https://github.com/python/python-docs-fr/ and a nice "Compare & pull request"
# button should appear after a few seconds telling you can ask for a pull request.

Expand All @@ -120,7 +133,7 @@ You may also have noted you never ever commit on a version branch
you'll avoid problems.

Before commiting, you should use `grammalecte
<https://www.dicollecte.org/>`_ to check for your translations.
<https://grammalecte.net/>`_ to check for your translations.


What to translate
Expand All @@ -143,6 +156,31 @@ translate untranslated ones (find them using ``make todo``)..
title.


The case of "::"
~~~~~~~~~~~~~~~~

From the reStructuredText point of view, ``::`` glued at the end of a
word means "output ``:`` and introduce a code block", but a ``::``
after a space means "Just introduce a code block".

So in english rst, we see either ``blah blah::`` or ``blah blah. ::``.

In french, we're putting a no-break space before our columns, like:
``Et voilà :``.

Using no-break space in rst is natural, you'll simply write ``Et
voilà ::``, as the ``::`` is not precedded by a normal space it
will output the column and introduce the code block, you're done.

If you don't know how to type a no-break space there's a trick,
translate column column by space, column, space, column column. the
"space column" will render your space and your column as french needs,
and the trailing "space column column" will output nothing and
introduce the code block. No it does not magically inserts a no-break
space, so it's still not really valid french. Yes, better learn how to
type no-break space.


Where to get help
~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -176,6 +214,10 @@ For consistency in our translations, here are some propositions and
reminders for frequent terms you'll have to translate, don't hesitate
to open an issue if you disagree.

To easily find how a term is already translated in our documentation,
you may use
`find_in_po.py <https://gist.github.com/JulienPalard/c430ac23446da2081060ab17bf006ac1>`_.

========================== ===========================================
Term Proposed Translation
========================== ===========================================
Expand All @@ -188,11 +230,13 @@ bug bogue, *bug*
built-in native
call stack pile d'appels
debugging débogage
deep copy copie récursive (préféré), ou copie profonde.
double quote guillemet
e.g. e.g. (pour *exempli gratia*)
garbage collector ramasse-miettes
identifier identifiant
immutable immuable
installer installateur
interpreter interpréteur
library bibliothèque
list comprehension liste en compréhension (liste en intension est
Expand All @@ -205,14 +249,16 @@ parameter paramètre
prompt invite
raise lever
regular expression expression rationnelle, expression régulière
return renvoie, donne (On évite
"retourne" qui pourrait porter à confusion.
return renvoie, donne (on évite
"retourne" qui pourrait porter à confusion).
simple quote guillemet simple, apostrophe (apostrophe
is to glue, guillemet is to surround)
socket *socket*
statement instruction
subprocess sous-processus
thread fil d'exécution
underscore tiret bas, *underscore*
expression expression
========================== ===========================================


Expand Down Expand Up @@ -256,7 +302,9 @@ Maintenance

All those snippets are to run from the root of a ``python-docs-fr``
clone, and some expect to find an up-to-date CPython clone near to it,
like::
like:

.. code-block:: bash

~/
├── python-docs-fr/
Expand Down Expand Up @@ -299,18 +347,19 @@ Run a test build locally
Synchronize translation with Transifex
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You'll need the ``transifex-client`` and ``poindent``
You'll need the ``transifex-client`` and ``powrap``
from Pypi.

You'll need to configure ``tx`` via ``tx init`` if not already done.

You should work on a separate ``transifex`` branch.

.. code-block:: bash

tx pull
poindent --modified
pomerge --from-files **/*.po
tx pull -f
pomerge --to-files **/*.po
pomerge --from-files **/*.po
git checkout -- .
pomerge --to-files **/*.po
powrap --modified
git commit -m "tx pull"
git checkout 3.6
git merge transifex -Xours
tx push -t
tx push -t -f
4 changes: 4 additions & 0 deletions TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ Valentin Lorentz
Antoine Rozo
Mohamed Kiouaz
Hervé Sousset
Mickaël Bergem
Vincent Poulailleau
Jules Lasne
Mathieu Dupuy
8 changes: 4 additions & 4 deletions about.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2018-07-23 17:55+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -57,7 +57,7 @@ msgid ""
"reStructuredText and the Docutils suite;"
msgstr ""
"le projet `Docutils <http://docutils.sourceforge.net/>`_ pour avoir créé "
"reStructuredText et la suite d'outils Docutils ;"
"*reStructuredText* et la suite d'outils *Docutils* ;"

#: ../Doc/about.rst:26
msgid ""
Expand All @@ -77,7 +77,7 @@ msgid ""
"library, and the Python documentation. See :source:`Misc/ACKS` in the "
"Python source distribution for a partial list of contributors."
msgstr ""
"De nombreuses personnes ont contribué au language Python, à sa librarie "
"De nombreuses personnes ont contribué au langage Python, à sa bibliothèque "
"standard et à sa documentation. Consultez :source:`Misc/ACKS` dans les "
"sources de la distribution Python pour avoir une liste partielle des "
"contributeurs."
Expand Down
26 changes: 13 additions & 13 deletions bugs.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"PO-Revision-Date: 2018-06-28 15:37+0200\n"
"PO-Revision-Date: 2018-07-31 19:26+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
Expand Down Expand Up @@ -36,7 +36,7 @@ msgid ""
"ref:`contribute <contributing-to-python>`."
msgstr ""
"Il est parfois plus rapide de réparer les bugs soi-même et d'en proposer les "
"*patch*, ca simplifie le processus et implique moins de monde. Apprenez à :"
"*patch*, ça simplifie le processus et implique moins de monde. Apprenez à :"
"ref:`contribuer <contributing-to-python>`."

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

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

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

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

#: ../Doc/bugs.rst:54
Expand Down
7 changes: 4 additions & 3 deletions c-api/abstract.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: 2018-02-15 00:28+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2019-01-03 16:57+0100\n"
"PO-Revision-Date: 2018-10-17 19:31+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2\n"

#: ../Doc/c-api/abstract.rst:7
msgid "Abstract Objects Layer"
Expand Down
Loading