1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-25 23:52:20 +01:00

49 Commits

Author SHA1 Message Date
Louis-Arnaud
b044c3b492 Corrections de traduction reference d-f (#2554) 2026-02-28 22:54:29 +01:00
Louis-Arnaud
2d314f78aa CI: check-style + nettoyage TRADUCTIONS.txt (#2545)
* CI: add French style checker based on TRADUCTIONS.txt

Checks changed XML files in PRs for:
- Direct address forms (vous/votre/vos) → warnings
- French grammar errors (etc..., comme par exemple, si il) → errors
- Incorrect terminology (librairie, chiffrage, encryption) → warnings

Inspired by doc-ja's textlint+prh approach but simpler:
runs directly on XML sources, no PhD render needed.

Only errors (grammar/spelling) fail the CI.
Style warnings appear as PR annotations without blocking.

* test: introduce style errors to validate CI check

* Revert "test: introduce style errors to validate CI check"

This reverts commit 7c1d523c6bbef116f54fc6dad7b61a45ee4f7ddd.

* Corriger toutes les violations de style TRADUCTIONS.txt

- 174x "Notez que" → "Il est à noter que"
- 50x "depuis PHP X" → "à partir de PHP X"
- 50x "votre" → le/la/du
- 15x "si il" → "s'il"
- 14x "Vous pouvez" → "Il est possible de"
- 14x "encryption" (faux positifs entity refs exclus)
- 12x "assurez-vous" → "il faut s'assurer"
- 12x "Vous devez" → "Il faut"
- 11x "vos" → les/des
- 9x "comme par exemple" → "par exemple"
- 6x "Vous devriez" → "Il est recommandé de"
- 2x "optionel" → "optionnel"
- 2x "reportez-vous" → "se reporter"

Toutes les règles passent désormais en erreur dans la CI.

* Harmoniser les noms de workflows GitHub Actions

- integrate.yaml → build.yml (extension + nom cohérent)
- check-style-fr.yml → check-style.yml ("-fr" redondant)
- Aligner les noms de workflow et job

* Lire les règles dynamiquement depuis TRADUCTIONS.txt

Le script parse TRADUCTIONS.txt au démarrage et génère les règles
de vérification automatiquement. Plus aucune règle en dur.

* Règles dynamiques depuis TRADUCTIONS.txt

Le script CI lit les lignes INTERDIT de TRADUCTIONS.txt pour générer
les règles de vérification. Plus aucune règle en dur dans le script.
Corrige les 27 violations restantes (Depuis PHP → À partir de PHP).

* Corriger les trailing whitespace
2026-02-25 13:13:51 +01:00
Louis-Arnaud
e1239c021b Global translation review 2026-02-20 09:45:20 +01:00
Sergey Panteleev
75275938e0 More stub sync with English (#144)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-12-25 17:31:27 +00:00
orklah
53d89cb184 fix spelling 2021-07-08 20:10:05 +02:00
George Peter Banyard
39c01c1817 Sync section order with EN (third pass) 2021-06-12 05:58:25 +01:00
George Peter Banyard
7cdca666c2 Apply commit 471f9f42cd9206eff6326b2cc6e159f8a0e096e2
error_log(, 0) always returns true
2021-02-24 17:45:11 +00:00
George Peter Banyard
2d492101ab First batch of syncing French translation with English revision after removal of PHP 5 docs.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350665 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 00:07:21 +00:00
Jean-Baptiste Nahan
154fcb0e81 Correction de fautes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@344856 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-27 11:55:43 +00:00
Yannick Torres
6be93d428d sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@332370 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-15 21:15:39 +00:00
Yannick Torres
731a8c9ecc sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@332067 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-05 10:46:21 +00:00
Yannick Torres
f2cf9e7552 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@329690 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-07 12:38:08 +00:00
Yannick Torres
60ead87157 Fix some literal tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@328071 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-18 07:04:06 +00:00
Yannick Torres
01a59c941d Fix bug #55607
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@316882 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-16 22:38:28 +00:00
Yannick Torres
5f9efe69b7 Fix bug #54464
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@309997 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-06 21:00:54 +00:00
Yannick Torres
f710476bba sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@307524 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-16 22:24:51 +00:00
Yannick Torres
f6013a4484 Convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297196 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 19:01:25 +00:00
Daniel Egeberg
11891a1649 Updating EN-Revision on up-to-date files after phpdoc/en UTF-8 conversion.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 00:47:47 +00:00
Torben Wilson
db63e0b065 Resynched with en (bumped EN-Revision and updated sgml-default-dtd-file).
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@288878 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-28 04:50:00 +00:00
Nilgün Belma Bugüner
c7fd5852dd changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283968 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 19:19:39 +00:00
Damien Seguy
45a0669aff synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@274285 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-22 19:57:29 +00:00
Yannick Torres
404455225a sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@270268 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-01 22:09:21 +00:00
Yannick Torres
3d20fe648b &php; => PHP
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@261459 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-21 20:51:48 +00:00
Damien Seguy
59a8bbca10 minor spelling mistakes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@258640 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-28 13:23:10 +00:00
Guillaume Plessis
065b030ee1 some build fixes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@256308 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-29 08:24:53 +00:00
Yannick Torres
2d148a62bb sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@253833 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-26 18:37:16 +00:00
Damien Seguy
955a2e9e54 various spelling mistakes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@242878 c90b9560-bf6c-de11-be94-00142212c4b1
2007-09-24 10:42:55 +00:00
Yannick Torres
99ca5507ce sync with EN (docBook update)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@240100 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-21 18:18:01 +00:00
Hannes Magnusson
069f6629d8 - Bunch of build fixes
- Upgrade to DocBook5:
  - All id attributes are now xml:id
  - Add docbook namespace to all root elements
  - Replace <ulink /> with <link xlink:href />
  - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@238217 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-21 17:05:05 +00:00
Yannick Torres
f85ce29fb5 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@229314 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-07 22:17:15 +00:00
Yannick Torres
c3036ae982 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@227723 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-21 10:29:50 +00:00
Yannick Torres
2b9a30bb50 add reviewed tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@218969 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-28 12:10:35 +00:00
Jean-Sébastien Goupil
d5ac41b135 Envoi -> pas de E pour un nom
Envoie -> prend un E pour un verbe


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@204660 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-06 04:30:31 +00:00
Yannick Torres
a452730134 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@201635 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-29 21:36:31 +00:00
Yannick Torres
7d83cb31c5 More &one;
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@190283 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-08 17:47:44 +00:00
Yannick Torres
ce7b284e62 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@189193 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-25 08:53:17 +00:00
Yannick Torres
1df1560364 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@186434 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-15 18:26:56 +00:00
Yannick Torres
bdff1f0af4 use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@171895 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 21:32:27 +00:00
Yannick Torres
e53177cbf6 déboguage => débogage
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@167785 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-01 14:28:07 +00:00
Yannick Torres
958bf4776a "comme par exemple" => "comme"
bug => bogue
tout ce qu'il y avait dans TRADUCTION.TXT a été revu (ou une bonne partie)


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@161636 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-17 21:37:06 +00:00
Vincent Briet
603ca23822 déboguage :)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@160327 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-01 22:40:16 +00:00
Yannick Torres
f40dcfaaa3 synch with EN Revision && typos
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@160326 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-01 21:23:03 +00:00
Yannick Torres
fccbeb3505 synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@157503 c90b9560-bf6c-de11-be94-00142212c4b1
2004-04-29 13:51:11 +00:00
Mehdi Achour
1ac31c7411 Adding the EN-Revision comment
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152276 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-24 18:15:13 +00:00
Mehdi Achour
c1a709fa5c Missing revision tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152273 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-24 17:42:21 +00:00
Mehdi Achour
7257058db0 Happy new iso-8859-1 year
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@147508 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-30 18:58:39 +00:00
Mehdi Achour
0d30de75d5 Fix mismatched parantheses in example
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@143075 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-25 19:54:09 +00:00
Damien Seguy
c943cad628 easy commit
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@124905 c90b9560-bf6c-de11-be94-00142212c4b1
2003-04-28 15:47:59 +00:00
Hartmut Holzgraefe
b8daeaab85 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@78204 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:40:38 +00:00