1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 07:02:06 +01:00

302 Commits

Author SHA1 Message Date
Louis-Arnaud
12bf01ba44 Fix grammar and spelling in various extension documentation (#2655) 2026-03-11 21:02:42 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud
b044c3b492 Corrections de traduction reference d-f (#2554) 2026-02-28 22:54:29 +01:00
Louis-Arnaud
a0a454bcb4 Correction de ~150 fautes d'orthographe et de grammaire (#2546)
Élisions manquantes (de/le/que + voyelle), accords genre/nombre, conjugaisons incorrectes (on + 2e personne), typos, accents manquants, contractions (à le → au, de les → des), c.-à-d., etc.
2026-02-25 15:37:03 +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
4e7f92c6bc Style impersonnel dans reference/ (e-i) (#2541) 2026-02-25 11:55:04 +01:00
Louis-Arnaud
637e6683ad Fix errorfunc: translate error type labels, fix screen output (#2526)
- examples.xml: translate remaining English error type labels (Core Error,
  Compile Error, etc.) and add missing test comment
- set-error-handler.xml: translate trigger_error string, fix screen output
  to match code (Arrêt instead of Abandon, correct trigger_error text)
2026-02-25 08:29:39 +01:00
Louis-Arnaud
1c620df447 Sync doc-fr with doc-en: full quality review (#2478)
Comprehensive review of all doc-fr XML files against doc-en covering:
- Translation quality (orthography, gender agreement, conjugation)
- TRADUCTIONS.txt compliance (etc., chiffrement, bibliothèque, à partir de)
- XML structure sync (tags, sections, constants, examples, changelog)
- Missing content (constants, examples, seealso members, sections)

Files modified across: security/, faq/, install/, language/, appendices/,
and reference/ (intl, funchand, tidy, mhash, mongodb, mysqli, fileinfo,
fpm, mail, xlswriter, strings, spl, stream, uodbc, var, openssl, mcrypt,
password, pdo_cubrid, phar, session, mbstring, errorfunc, snmp, solr,
cubrid, dba, eio, curl, ds, simplexml, sockets, random, info, math, yaf,
zip, mysqlnd)
2026-02-20 13:51:27 +01:00
Louis-Arnaud
e1239c021b Global translation review 2026-02-20 09:45:20 +01:00
Louis-Arnaud
02e6c05eea Fix doc fr review 2026-02-19 16:08:49 +01:00
Louis-Arnaud
33a1cfa96d Doc review 4 (#2473) 2026-02-17 17:26:20 +01:00
Louis-Arnaud
d43a340994 Fr translation error (#2470) 2026-02-15 21:44:26 +01:00
Louis-Arnaud
8d56433810 Corrections dans reference (#2469) 2026-02-13 22:44:03 +01:00
Louis-Arnaud
8da8c3fe7a sync EN-Revision hashes and apply pending EN changes (#2465)
* sync EN-Revision hashes and apply pending EN changes
2026-02-12 11:04:51 +01:00
Pierre Ambroise
cb55048a8a Sync constants with EN 2025-06-11 08:15:53 +02:00
Pierre Ambroise
b3e66906ab Various sync with EN (#2205) 2025-05-21 14:17:34 +02:00
David CARLIER
3c6fe8b4bb errorfunc sync with EN (#2202) 2025-05-19 06:41:55 +01:00
Pierre Ambroise
3f684938f5 Translate get_*_handler (#2175) 2025-04-30 09:34:06 +02:00
David CARLIER
74829d5886 errorfunc sync with EN (#2166) 2025-04-24 22:57:45 +01:00
David CARLIER
bf508ffa7a errorfunc sync with EN (#2155) 2025-04-21 22:27:51 +01:00
David CARLIER
c95519af0f errorfunc sync with EN (#1777) 2024-11-21 04:26:59 +00:00
David CARLIER
0290bb229e errorfunc sync with EN (#1746)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-11-19 23:12:15 +00:00
David CARLIER
fc8a28b743 minor sync with EN (#1082) 2024-07-30 06:28:12 +01:00
David CARLIER
b234362e89 various setups sync with EN (#1069) 2024-07-27 21:14:52 +01:00
David CARLIER
3ee8f2171d configuration sections removals (#1038) 2024-07-10 21:57:10 +01:00
David CARLIER
2906b79425 general sync (#1013) 2024-06-22 13:33:48 +01:00
David CARLIER
8c248412d7 errorfunc sync with EN (#990) 2024-06-15 21:12:47 +01:00
David CARLIER
593028c059 errorfunc section sync with EN (#880) 2024-04-17 12:38:56 +01:00
Gina Peter Banyard
eae12cb56b Run script from doc-en PR 3206 2024-02-28 19:36:08 +00:00
Gina Peter Banyard
d26f887799 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 13:54:28 +00:00
Gina Peter Banyard
4191ef7ba4 Fix various issues founds via the translator QA tools 2023-12-15 03:24:47 +00:00
David CARLIER
df9869f433 Sync debug_backtrace() docs with EN (#675) 2023-11-27 02:32:32 +00:00
David CARLIER
9c12b51484 Sync error_reporting() docs with EN (#640) 2023-10-27 03:48:31 +01:00
Samuel NELA
ab29eee1aa Fix typos in magic methods documentation and change translation of serialization (#611)
Stop using "linéarisation" and instead use "sérialisation"
2023-09-20 22:11:41 +01:00
David CARLIER
37ad78b894 errorfunc section sync (#573) 2023-08-10 13:19:23 +01:00
Pierrick Charron
cd8da43d8b Sync reference/errorfunc/ini.xml 2023-06-12 22:46:13 -04:00
David CARLIER
6c84aca433 errorfunc section sync (#460) 2023-05-09 12:15:37 +01:00
Pierrick Charron
efc3b27c5a Sync reference/errorfunc/functions 2023-03-16 01:37:35 -04:00
David CARLIER
3688fc33d3 set_error_handler() docs sync (#386) 2023-03-11 11:11:45 +00:00
George Peter Banyard
b770c72aee Add error_log_mode INI setting docs 2022-09-27 00:35:27 +01:00
Sergey Panteleev
3ba009e4d3 Apply php/doc-en@b5525a1 2022-09-07 09:30:15 +03:00
Sergey Panteleev
1f958fb59b Sync various sections, ex #244 (#245)
Co-authored-by: Pierrick Charron <pierrick@php.net>
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-06-15 12:41:33 +01:00
Sergey Panteleev
16272040f1 Revert "Sync various sections (#244)"
This reverts commit b06748947e.
2022-06-15 09:03:10 +03:00
Sergey Panteleev
b06748947e Sync various sections (#244)
Co-authored-by: Pierrick Charron <pierrick@php.net>
2022-06-14 20:57:33 -04:00
Sergey Panteleev
35e1281ea4 Sync with English (#192)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-04-05 11:15:15 +01:00
George Peter Banyard
d8951960c0 Sync errorfun INI page with EN
Some drive-by typo fixes
2022-01-09 22:15:55 +00:00
George Peter Banyard
02277e3ccc Sync errorfunc folder with EN 2022-01-06 23:56:33 +00: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
George Peter Banyard
079d6eb423 Apply commit b95e76e41de2ffe5c75e04be1b187d80ca745359
Types are not hints in PHP.
2021-10-10 23:00:50 +01:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00