Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

French project #1

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1116d17
Fixed punctuation
krizalys Nov 12, 2016
6aa6e79
Init a new french traduction, work in progress
Feb 17, 2017
e7b86f0
Commit work in progress
Feb 17, 2017
242dc79
WIP Translation test-doubles, last line:146
Feb 21, 2017
502b621
WIP Translation codecoverage-analysis:40,test-doubles.xml:149
Feb 24, 2017
d63609f
WIP Translation test-doubles.xml:165
Feb 27, 2017
fce25eb
annotations.xml:30 plus refactoring writing-tests-for-phpunit.xml
Mar 3, 2017
1182767
writing-tests-for-phpunit translation
gbprod Mar 3, 2017
27700ab
Merge branch 'french-project' of github.com:brice/phpunit-documentati…
gbprod Mar 3, 2017
1614fb4
Minor translation on test-doubles.xml
Mar 3, 2017
6a757be
writing-tests-for-phpunit.xml translation
gbprod Mar 3, 2017
0e33242
organizing-tests translation
gbprod Mar 3, 2017
1e322ac
Merge pull request #3 from gbprod/organizing-tests
brice Mar 6, 2017
6e90310
Translate and reread test-doubles.xml
Mar 6, 2017
1896fb6
Minor translation fixes in organizing-tests.xml
gbprod Mar 7, 2017
352b5f7
risky-tests.xml fr translation
gbprod Mar 9, 2017
9d6fb13
other-uses-for-tests.xml french translation
gbprod Mar 12, 2017
fe6f556
logging.xml french translation
gbprod Mar 12, 2017
c80d674
incomplete-and-skipped-tests.xml french translation
gbprod Mar 13, 2017
41d54eb
extending-phpunit.xml fr translation
gbprod Mar 27, 2017
a568af7
Merge pull request #7 from gbprod/writing-tests-for-phpunit.xml
brice Mar 28, 2017
ef62e75
Still translating test-doubles
Mar 28, 2017
effbbf1
Minor modification stuck in my computer
Mar 30, 2017
d2c8dc1
Adding few translations
brice Apr 18, 2017
1cf4db8
Merge branch 'french-project' of https://github.com/brice/phpunit-doc…
brice Apr 18, 2017
a1b61d8
Merge pull request #13 from gbprod/docs/extending-phpunit.xml
gbprod Sep 20, 2017
da7cc72
Merge pull request #12 from gbprod/incomplete-and-skipped-tests.xml
gbprod Sep 20, 2017
c30f8e3
Merge pull request #11 from gbprod/logging.xml
gbprod Sep 20, 2017
fd4b74a
Merge pull request #10 from gbprod/other-uses-for-tests.xml
gbprod Sep 20, 2017
1bdc74e
Merge pull request #9 from gbprod/risky-tests.xml
gbprod Sep 20, 2017
f4748a3
Merge pull request #6 from gbprod/organizing-tests.xml
gbprod Sep 20, 2017
eb9d966
testing-practices.xml french translation (#5)
gbprod Sep 20, 2017
37e4232
textui.xml french translation (#4)
gbprod Sep 20, 2017
daa1924
Update README.md
gbprod Sep 20, 2017
64137a3
Update README.md
gbprod Sep 20, 2017
8b6a7d0
Update README.md
gbprod Sep 21, 2017
d906a18
Update README.md
gbprod Sep 21, 2017
c1971d0
Update README.md
gbprod Sep 22, 2017
dd80b51
Translate test-doubles in french (#14)
gbprod Sep 30, 2017
4243671
assertions in fr (#15)
gbprod Sep 30, 2017
9f74d1f
Update README.md
gbprod Sep 30, 2017
a8b1f70
Add fixtures french translation (#16)
gbprod Nov 2, 2017
465206c
Add french translation for annotation.xml (#18)
gbprod Nov 2, 2017
3bd7c0d
copyright.xml french translation (#19)
gbprod Nov 2, 2017
59b5324
Configuration.xml french translation (#20)
gbprod Nov 2, 2017
10097cc
translate code-coverage-analysis.xml in french (#21)
gbprod Nov 16, 2017
5ffe190
translate database.xml (#22)
gbprod Nov 17, 2017
e4c4bc5
Translate intallation.xml (#23)
gbprod Nov 17, 2017
6aae229
compilation fixes (#24)
gbprod Nov 23, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,13 @@
</antcall>
</target>

<target name="build-fr-6.1" depends="check-fr-6.1">
<antcall target="build">
<param name="language" value="fr"/>
<param name="version" value="6.1"/>
</antcall>
</target>

<target name="build-pt_br-3.7" depends="check-pt_br-3.7">
<antcall target="build">
<param name="language" value="pt_br"/>
Expand Down Expand Up @@ -1208,6 +1215,13 @@
</antcall>
</target>

<target name="check-fr-6.1">
<antcall target="check">
<param name="language" value="fr"/>
<param name="version" value="6.1"/>
</antcall>
</target>

<target name="check-pt_br-3.7">
<antcall target="check">
<param name="language" value="pt_br"/>
Expand Down
2 changes: 1 addition & 1 deletion src/5.4/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
2 changes: 1 addition & 1 deletion src/5.5/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
2 changes: 1 addition & 1 deletion src/5.6/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
2 changes: 1 addition & 1 deletion src/5.7/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
2 changes: 1 addition & 1 deletion src/6.0/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
2 changes: 1 addition & 1 deletion src/6.1/en/test-doubles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
double object for the specified type (interface or class). The creation of
this test double is performed using best practice defaults (the
<literal>__construct()</literal> and <literal>__clone()</literal> methods of
the original class are not executed and the arguments passed to a method of
the original class are not executed) and the arguments passed to a method of
the test double will not be cloned. If these defaults are not what you need
then you can use the <literal>getMockBuilder($type)</literal> method to
customize the test double generation using a fluent interface.
Expand Down
17 changes: 0 additions & 17 deletions src/6.1/fr/README

This file was deleted.

80 changes: 80 additions & 0 deletions src/6.1/fr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
## Comment construire la documentation

Pour compiler la documentation en français, les pré-requis sont les suivants :

- Apache Ant
- PHP 5 (avec les extensions DOM, PRCE, SPL et Tokenizer)
- Ruby
- xsltproc

Pour compiler la documentation en français :

cd build
ant build-fr-6.1

Attention, la documentation est en cours de traduction (cf. tableau ci dessous)


## Contributions attendues

* Traduire les fichiers encore en anglais
* Mettre à jour les fichiers existants
* Partir à la chasse aux typos et aux fautes d'orthographes, de grammaire et de syntaxes
* Détecter le franglais et les anglicismes
* Revue de pair sur les PR


## Plan

| Fichier | Etat | Contributeurs | Nb ligne revues/Total |
| --------------------------------- | :-------: | :---------------: | :----------------------: |
| annotations.xml | OK | @brice @gbprod | done |
| assertions.xml | OK | @gbprod | done |
| bibliography.xml | OK | @gbprod | done |
| book.xml | OK | @gbprod | done |
| code-coverage-analysis.xml | OK | @brice @gbprod | done |
| configuration.xml | OK | @gbprod | done |
| copyright.xml | OK | @gbprod | done |
| database.xml | OK | @gbprod | done |
| extending-phpunit.xml | OK | @gbprod | done |
| fixtures.xml | OK | @gbprod | done |
| incomplete-and-skipped-tests.xml | OK | @gbprod | done |
| index.xml | OK | @gbprod | done |
| installation.xml | OK | @brice @methylbro @gbprod | done |
| logging.xml | OK | @gbprod | done |
| organizing-tests.xml | OK | @gbprod | done |
| other-uses-for-tests.xml | OK | @gbprod | done |
| risky-tests.xml | OK | @gbprod | done |
| test-doubles.xml                 | OK       | @brice @gbprod | done               |
| testing-practices.xml | OK | @gbprod | done |
| textui.xml | OK | @gbprod | done |
| writing-tests-for-phpunit.xml | OK | @gbprod | done |

## Guide de traduction

Dans ce fichier sont recensées les règles de traductions utilisées de manière à garantir la cohérence d'ensemble.
Sont notamment visés les termes techniques.

actual: constatée (valeur)
array: traduit par tableau sauf quand on fait explicitement référence à PHP
assertion: traduit par asssertion, plus parlant que affirmation
composable: composable (rien trouvé de mieux)
expected: attendue (valeur)
framework: framework
isolated: indépendant (isolé est ambigu, étanche un peu moins...)
notice: remarque
return: retourne plutôt que renvoie
requirements: pré-requis
extension: extensions
code coverage: couverture de code
appendix: annexe
fixture: fixture (pas trouvé mieux en français)
stub: bouchon

verbe ing: traduits par l'infinitif dans les titres: testing => tester

## Historique du projet de traduction

14/02/2017 : Je relance le projet de traduction de la doc de PHPUnit afin de permettre à des francophones de mieux appréhender ce produit. La dernière version française complète est lié à la version 4.3 de phpunit. C'est cette version qui est dupliquée dans les répertoires 4.4 à 6.0. La traduction commence à la version 6.1 avec un travail en cours de récupération des fichiers manquants et mise à jour des fichiers existant.

03/03/2017 : J'ai ajouté un tableau d'avancement ppur mesurer le travail à fournir pour arriver au bout des traductions.
Loading