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

65 Commits

Author SHA1 Message Date
Louis-Arnaud
26c1ce9f8f En sync#2572 2026-03-02 14:30:00 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +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
49dfad4f3a Style impersonnel dans faq/ (#2531)
Remplacement des formulations directes (vous/votre/vos) par des tournures impersonnelles conformément à TRADUCTIONS.txt.
2026-02-25 09:07:02 +01:00
Louis-Arnaud
79a37cd7e8 faq fix translation errors, grammar, and terminology 2026-02-24 18:18:22 +01:00
Louis-Arnaud
2b6f75adaa Fix typos, grammar errors, and wrong content across entire documentation (#2490) 2026-02-24 16:01:36 +01:00
Pierre Ambroise
d9f52d26bd Various sync with EN (#2480) 2026-02-23 10:30:57 +01:00
Louis-Arnaud
e1239c021b Global translation review 2026-02-20 09:45:20 +01:00
Louis-Arnaud
369056b8b8 Fix/full doc fr review (#2468) 2026-02-13 14:52:33 +01:00
Louis-Arnaud
7bf099c972 faq/using.xml: sync markup and fix code with EN (#2368)
- Update EN-Revision to 0a3a57fae0
- Fix variable name bug: $varvalue -> $valeurvar in code example
- Replace &zero; with <literal>0</literal> to match EN
2026-02-05 21:04:46 +01:00
George Peter Banyard
24f75f70db Removal of PHP 5 mentions in misc files
And update EN revision tag for typo fixes
2021-04-30 01:19:10 +01:00
George Peter Banyard
9f3068467c Some cleanup in FAQ section,
Also sync language-snippets
2021-04-15 22:36:21 +01:00
George Peter Banyard
df7a8cc548 Apply commit 3e08a8aae657492bdcdc7c550099ddf072042fa9
Remove obsolete PHP 5 related info from ini.core and related pages
2021-02-24 17:45:13 +00:00
George Peter Banyard
5031789d6d Apply commit f029b664b8728bd5cbb697cb9a4409aea07cb36c
Remove magic quote mentions
2021-01-16 12:06:24 +00:00
George Peter Banyard
230026e81b Update French translations to use entity for canonical types instead of weird translation
Note: the entities currently are in French but redirect to the corresponding type pages.

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351200 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 20:45:51 +00:00
George Peter Banyard
2103163077 Fix FR build after PDF removal
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351049 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 14:29:59 +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
George Peter Banyard
711e219e30 Small updates to the French documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346475 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-29 00:54:00 +00:00
Jean-Baptiste Nahan
b4db37f4ed Sync FAQ from EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@343562 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-01 20:20:19 +00:00
Yannick Torres
3eeef58ff5 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@336417 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-06 22:19:15 +00:00
Yannick Torres
549d4e3f4a sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@332368 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-15 20:35:15 +00:00
Yannick Torres
4f71434b61 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@329287 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-24 13:23:17 +00:00
Yannick Torres
7f1b5f6d04 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@325219 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-16 09:26:51 +00:00
Jakub Vrana
0bb3ee5e09 Use <function> for language constructs (now supported by PhD)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@325214 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-15 21:45:34 +00:00
Yannick Torres
27aa962a8b sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@324572 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-27 09:16:59 +00:00
JulienPauli
cbb9adbf24 Sync doc with En
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@304590 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-21 14:40:42 +00:00
JulienPauli
4a8d9cc725 Sync doc with En
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@303692 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-22 21:22:40 +00:00
Yannick Torres
f560d1b2bd Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297663 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 23:24:03 +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
724d8a492f sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@291817 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-07 12:42:00 +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
b5de52cbf4 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283965 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 18:59:30 +00:00
Damien Seguy
8a7ed36faf fix entities and better synch
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@282160 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-15 13:40:25 +00:00
Damien Seguy
d4f291f499 fix some entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@282149 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-15 12:03:49 +00:00
Yannick Torres
93525fb04f correct error found via the online editor
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@279746 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-02 22:32:27 +00:00
Yannick Torres
21f3b4bee5 correct error
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@278904 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-17 20:42:45 +00:00
Damien Seguy
981c1347cf synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@278890 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-17 10:28:50 +00:00
Yannick Torres
9c1a3cad71 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@276308 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-24 06:15:50 +00:00
Yannick Torres
7667dfdf2e &php; => PHP
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@260926 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-08 15:10:25 +00:00
Yannick Torres
315a1d799d syn with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@257950 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-20 09:03:26 +00:00
Damien Seguy
ed5fa6bbf6 various spelling mistakes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@257400 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-13 23:33:13 +00:00
Damien Seguy
6ee94d9212 antislash et antislash (pas de - ou de e)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@257362 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-13 15:26:04 +00:00
Yannick Torres
c7d5dff5c2 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@255736 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-21 23:05:28 +00:00
Yannick Torres
69be2c2acf sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@240029 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-20 20:54:10 +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
Jean-Sébastien Goupil
4a2deeed14 Typos
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@207110 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-14 04:12:17 +00:00
Yannick Torres
d68b17b177 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@206099 c90b9560-bf6c-de11-be94-00142212c4b1
2006-01-29 17:55:03 +00:00
Jean-Sébastien Goupil
6005d1159a Typo capital letters with accent
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@202670 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-11 20:54:51 +00:00
Damien Seguy
936eb15f7e requière => requiert + misc. typos + long lines
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@194321 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 15:40:16 +00:00
Damien Seguy
484091be3f authentifier => identifier
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@179129 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-07 21:40:13 +00:00