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

384 Commits

Author SHA1 Message Date
Louis-Arnaud
00c819b87b Fix grammar and spelling in info/ and intl/ documentation (#2663) 2026-03-12 11:46:59 +01:00
Louis-Arnaud
8f447589ac Fix grammar and spelling errors across doc-fr (#2636) 2026-03-10 19:04:42 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud
6e5b4bf8c5 Corrections de traduction reference g-i (#2555) 2026-03-01 00:02:02 +01:00
Louis-Arnaud
3823a2f469 Review some translation
i.e. → c.-à-d., e.g. → p. ex., accents sur majuscules (À, É, Ç),
ligatures (cœur, sœur, nœud, œuvre, manœuvres), accords genre/nombre,
conjugaisons, typos (verrouillage, milliseconde, aléatoire), etc.
2026-02-25 21:01:23 +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
2b6f75adaa Fix typos, grammar errors, and wrong content across entire documentation (#2490) 2026-02-24 16:01:36 +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
e0759083e3 Translation review 2026-02-19 20:01:29 +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
4330fb0bdd Fix/reference sync en full (#2467)
- Traduction des entrées de changelog non traduites (is now nullable, is no longer supported, etc.)
- Suppression des lignes anglaises dupliquées (français + anglais sur des lignes consécutives)
- Traduction des descriptions de retour et paramètres non traduits
- Suppression des avertissements &warn.undocumented.func; pour les fonctions documentées
- Correction de fautes de frappe (is→si, c'est→ces)
- Traduction de "and" → "et" dans le texte français (8 fichiers)
- Traduction des entrées de changelog restées en anglais (nullable, etc.) (9 fichiers)
- Suppression du texte anglais non traduit (cubrid constants, yaconf, datetimeimmutable)
- Correction d'une faute de frappe "an" → "en" (bcmath/divmod)
- Traduction d'une description restée en anglais (intl/compose-locale)
2026-02-12 15:44:55 +01:00
Louis-Arnaud
f77cf90e78 fix: correction de ~157 fautes de français dans 123 fichiers (#2460)
Orthographe :
- défault -> défaut (16), controlleur -> contrôleur (10)
- gestionaire -> gestionnaire (8), éxécuter -> exécuter (3)
- appellé -> appelé (11), addresse -> adresse, nécéssaire, suffisament
- Verifie -> Vérifie, parametre -> paramètre, probleme -> problème

Grammaire :
- tout les -> tous les (13), si ils -> s'ils (11)
- quelque soit -> quel que soit / quelle que soit (9)
- Accords de genre : un/le + nom féminin (valeur, chaîne, instance,
  liste, fonction, erreur, exception) (17)
- Accords participe passé : supprimé/intégré -> supprimée/intégrée (3)
- Nouvelle fonctions -> Nouvelles, Cette options -> Cette option (4)

Typographie :
- c'est a dire -> c'est-à-dire (22), au dessus -> au-dessus (4)
- Mots doublés supprimés : de de, un un, une une, etc. (11)
- du au -> dû au (4)
2026-02-08 09:01:49 +01:00
David CARLIER
b140551d7c various sync with EN (#2286) 2025-11-17 09:22:08 +01:00
Pierre Ambroise
f09cf97a52 Sync with EN 2025-06-05 19:14:10 +02:00
Pierre Ambroise
b3e66906ab Various sync with EN (#2205) 2025-05-21 14:17:34 +02:00
Benjamin Morel
9eff6e0810 Fix typos (#2184) 2025-05-01 22:08:13 +01:00
Pierre Ambroise
15f18519f6 Sync assert with EN (#2116) 2025-03-23 19:56:56 +01:00
David CARLIER
2616b06c48 various changelogs sync with EN (#2086) 2025-03-07 05:53:48 +00:00
Pierre Ambroise
c7829be222 Various sync with EN (06313c3bb195d974aeba8f4364a6739833b18768) (#2078) 2025-02-28 22:01:36 +01:00
David CARLIER
51bd048dfc Info sync with EN (#2011) 2025-01-27 18:32:07 +00:00
David CARLIER
564a19d8eb info sync with EN (#1995) 2025-01-15 07:21:28 +00:00
David CARLIER
2ef0521476 info sync with EN (#1801) 2024-11-23 05:58:22 +00:00
David CARLIER
fb19e74a7e info sync with EN (#1711) 2024-11-10 11:11:47 +00:00
David CARLIER
d55486308d info sync with EN (#1416) 2024-09-02 20:49:44 +01:00
David CARLIER
695a94bd7a fix rev id info constants (#1354) 2024-08-26 18:51:33 +01:00
Pierre Ambroise
f180c4d486 Translate missing Info functions (#1166) 2024-08-10 15:35:55 +01:00
David CARLIER
b234362e89 various setups sync with EN (#1069) 2024-07-27 21:14:52 +01:00
David CARLIER
619ff94127 ini-get sync with EN (#1067) 2024-07-27 19:25:05 +01:00
David CARLIER
0173217287 remove constants/configurations/requirements sections (#1042) 2024-07-12 12:44:01 +01:00
David CARLIER
2906b79425 general sync (#1013) 2024-06-22 13:33:48 +01:00
jakk64
776f88e8a1 fix(assert): assert table configuration (#1011) 2024-06-21 13:34:27 +01:00
Gina Peter Banyard
e1290277e3 Run script from doc-en PR 3342 2024-05-10 14:39:56 +01:00
Gina Peter Banyard
6c6a21509f Sync minor markup fixes 2024-04-25 16:37:07 +01:00
David CARLIER
257b0752e2 info section sync with EN (#784) 2024-02-02 13:36:54 +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
David CARLIER
f8a5346490 info section sync with EN (#768) 2024-01-25 19:47:16 +00:00
David CARLIER
41d18f2c03 Apply commit 29e86aa417117567242b25bf3af5c876f61c05b6 (#744)
Sync gc_status() docs with EN
2024-01-11 19:54:38 +00:00
David CARLIER
816662b4f8 Sync info section docs with EN (#653) 2023-11-04 14:52:02 +00:00
David CARLIER
2ceb4410f5 Sync info section with EN (#646) 2023-10-29 14:46:27 +00:00
David CARLIER
475d1d59cd Sync info section with EN (#563) 2023-07-31 14:52:30 +01:00
David CARLIER
2360b2e440 Sync getrusage() docs with EN (#557) 2023-07-28 02:30:23 +01:00
David CARLIER
3efa6f5e54 Sync INI info section + magic quote fixes (#521)
Co-authored-by: George Peter Banyard <girgias@php.net>
2023-06-29 13:09:28 +01:00
David CARLIER
59ef789cc5 info section sync (#511)
* info section sync
2023-06-24 16:22:36 +01:00
George Peter Banyard
35d317bc48 Minor fixes to assert() page 2023-06-13 13:27:30 +01:00
David CARLIER
ef576ce2c2 Sync info section (#481)
Co-authored-by: George Peter Banyard <girgias@php.net>
2023-06-13 13:21:08 +01:00