1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-25 15:42:16 +01:00

42 Commits

Author SHA1 Message Date
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
d43a340994 Fr translation error (#2470) 2026-02-15 21:44:26 +01:00
Pierre Ambroise
04f2282b56 Sync array with EN (#2189) 2025-05-07 14:08:05 +02:00
George Peter Banyard
6223e27294 Apply ce882c196dce81bf6bd4d94af4fa4110ddc49ef4 2022-10-01 22:20:06 +01:00
Pierrick Charron
2a25eb9808 Small improvement in array_fill() doc 2022-07-21 12:16:58 -04:00
Sergey Panteleev
63ec97b78f Sync various sections (#260)
Co-authored-by: Pierrick Charron <pierrick@php.net>
2022-07-21 14:17:02 +01:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
576d1b1494 Remove some PHP 5 mentions
To sync with EN
Also normalize some type tags
2021-04-28 14:49:35 +01:00
George Peter Banyard
342815906c Apply SVN revision 351860
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351882 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 19:13:26 +00:00
Jean-Sebastien Hedde
e831144fcd Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@335774 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-19 12:41:30 +00:00
Yannick Torres
e230db656f sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@310683 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-01 08:02:45 +00:00
Yannick Torres
cf8f7d946d Convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297124 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 05:22:20 +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
Yannick Torres
e2608310a8 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@291391 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-28 17:35:40 +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
c1429940da changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283966 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 19:03:26 +00:00
Yannick Torres
eeb29570e5 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@270095 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-29 19:07:29 +00:00
Damien Seguy
eaea1f10bf minor spelling mistakes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@259657 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-12 22:28:02 +00:00
Yannick Torres
63ec5dbe49 syn with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@259570 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-11 22:42:30 +00:00
Yannick Torres
d10fb486a6 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@251017 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-20 22:50:26 +00:00
Yannick Torres
4ebb38c27e sync with EN (docBook update)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@240058 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-21 06:10:22 +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
afceadd07d sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@236393 c90b9560-bf6c-de11-be94-00142212c4b1
2007-05-26 13:26:06 +00:00
David Manusset
23cd840b12 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@223533 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-17 16:06:57 +00:00
Jean-Sébastien Goupil
dcbd76b0cc sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@222717 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-03 12:03:58 +00:00
Yannick Torres
2e83a9ead5 add reviewed tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@218951 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-27 20:25:35 +00:00
Yannick Torres
3c0f5fefbb use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@171861 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 17:48:59 +00:00
Damien Seguy
043f0d692c typos and spelling, extra example, partial->ready
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@164084 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-23 11:38:42 +00:00
Damien Seguy
3173829d50 minors cosmetics
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@157908 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-04 14:08:25 +00:00
Mehdi Achour
605076da3e sync with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152960 c90b9560-bf6c-de11-be94-00142212c4b1
2004-03-05 12:11:15 +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
14e74d6942 1 - on indente correctement
2 - on ne met pas d'accents bizarres
 3 - on respecte les syntaxe pour les exemples, la voici :
<para>
 <example>
  <title />
  <programlisting>

  </programlisting>
  <para>
   Ca va afficher :
  </para>
  <screen>

  </screen>
  <para>
   Et si on veut un petit mot ici
  </para>
 </example>
</para>


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@149404 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-21 13:29:25 +00:00
Damien Seguy
01163fa3db removing tabs, plus a few enhancements
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@149294 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-20 12:08:00 +00:00
Damien Seguy
5157784d1f reverting erasing...
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@148760 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-15 14:29:36 +00:00
Damien Seguy
ea42f58b58 turning entites into chars
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@147452 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-29 17:04:50 +00:00
Damien Seguy
5090d2852c latest typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@138809 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-26 12:56:16 +00:00
Damien Seguy
3619bc0168 typos in batch
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@132278 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-18 02:38:44 +00:00
Damien Seguy
7eb4275089 typo brooming
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@123872 c90b9560-bf6c-de11-be94-00142212c4b1
2003-04-18 14:06:29 +00:00
Damien Seguy
88c52a26f0 early spring cleaning
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@114768 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-04 17:47:00 +00:00
Damien Seguy
17b2a8a92c programlisting => cdata
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@95171 c90b9560-bf6c-de11-be94-00142212c4b1
2002-09-08 21:42:07 +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