1
0
mirror of https://github.com/php/doc-fr.git synced 2026-04-26 16:28:08 +02:00

260 Commits

Author SHA1 Message Date
Louis-Arnaud a8d06759b4 Sync enums with EN stubs (packagesynopsis, enumvalue, reorder) (#2699) 2026-04-03 09:03:30 +02:00
Louis-Arnaud da73181029 Full review 2026-03-26 10:58:39 +01:00
Louis-Arnaud 153dc91bb8 Fix grammar and spelling in reflection/ documentation (#2641) 2026-03-11 21:07:54 +01:00
Louis-Arnaud 1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud afd4302b76 Corrections de traduction reference n-s (#2557) 2026-02-28 23:16:05 +01:00
Louis-Arnaud f8a5028e1a Review on french speaking
* Corrections orthographiques et grammaticales (passe 2)

Accents sur majuscules (À, É, Ç), accords genre/nombre, conjugaisons
(on + 3e personne), élisions, contractions, typos, i.e. → c.-à-d.,
doublons de mots, etc.

* Corrections supplémentaires reference/ n-s

Article manquant, adverbe tronqué, accords féminins, subjonctif.
2026-02-25 17:14:05 +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 5755a1bd8c Style impersonnel dans reference/ (a-d) (#2539)
* style: remplacer vous/votre/vos par style impersonnel dans reference/[a-d]*
2026-02-25 11:54:29 +01:00
Louis-Arnaud 46852a7a00 Style impersonnel dans reference/ (p-s) (#2538) 2026-02-25 09:49:42 +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 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 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 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
Louis-Arnaud 36ab8eaf07 fix: correction de ~196 fautes de français dans 119 fichiers (#2462)
Accents manquants/erronés : éxécut→exécut (14), Echec→Échec (47),
Établit (5), entrainant→entraînant (7), complétement→complètement (2),
intéractif→interactif (4).

Orthographe : charactère, controlleur, occurence, arguement, parmètre,
Contructeur, certerficat, stoquer, chadellier, idenfiants, changlog,
prennant, ammener, alouer, etc.

Grammaire : en terme de→en termes de (16), au delà→au-delà (5),
en deça→en deçà (2), inclue→inclut/incluse (14), fait parti→fait
partie (5), accords divers.

Anglicismes : digital→numérique (8), versatile→polyvalent (1).

Divers : celà→cela (7), Ca→Ça, peux→peut, Créée→Crée, etc.
2026-02-09 13:24:04 +01:00
Louis-Arnaud b0b629b939 fix: correction de ~85 fautes de français dans 68 fichiers (#2461)
Corrections orthographiques et grammaticales :
- charactère -> caractère (5)
- occurence -> occurrence (2)
- élement/élements -> élément/éléments (5)
- complétement -> complètement (2)
- éxécution/éxécuté -> exécution/exécuté (11)
- controlleur -> contrôleur (4)
- celà -> cela (7)
- en terme de -> en termes de (16)
- par conséquence -> par conséquent (3)
- au delà -> au-delà (5)
- inclut (participe passé) -> inclus/incluse (6)
- arguement -> argument (3)
- érreur/main -> erreur/mais (2)
- alouer -> allouer (2)
- empaqueter -> empaquetée (1)
- fonctionalité -> fonctionnalité (1)
- ammener -> amener (1)
- idenfiants -> identifiants (1)
- peux -> peut (2)
- Error -> Erreur (1)
- en deça -> en deçà (1)
- peut être -> peut-être (1)
- la l'heure -> l'heure (1)
- n'existant pas (négation manquante) (1)
2026-02-09 12:27:13 +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 ab202531c5 reflection sync with EN (#2296) 2026-01-03 15:51:32 +00:00
Pierre Ambroise 1f1387caca Various sync with EN 2025-10-13 14:10:39 +02:00
Pierre Ambroise 35b30075c3 Sync reflection with EN 2025-10-13 11:37:44 +02:00
Pierre Ambroise be89421a04 Sync reflectionclass with EN 2025-10-03 17:26:02 +02:00
David CARLIER 057af03acf random sync with EN (#2235) 2025-08-04 23:01:03 +01:00
David CARLIER 58fedbc0d1 reflection sync with EN (#2161) 2025-04-23 07:20:49 +01:00
Pierre Ambroise 1b58b4a752 Various sync with EN (#2137) 2025-04-17 13:25:38 +02:00
Pierre Ambroise 52ca7cda48 Sync reflection parameter with EN (#2122) 2025-04-03 10:34:00 +02:00
David CARLIER 7173308520 Various sync with EN (#2120) 2025-03-31 06:58:06 +01:00
David CARLIER 0c8b477217 reflection sync with EN (#2085) 2025-03-07 05:46:03 +00:00
Pierre Ambroise e16acc0542 Translate hooks reflection (#2063)
* Translate hooks reflection

* Sync reflectionproperty hooks with EN

* Sync propertyhooktype

* Sync php example in reflectionproperty
2025-03-04 18:05:04 +01:00
Pierre Ambroise 1a744ecc3e Various sync with EN (#2083) 2025-03-04 12:59:34 +01:00
Pierre Ambroise c7829be222 Various sync with EN (06313c3bb195d974aeba8f4364a6739833b18768) (#2078) 2025-02-28 22:01:36 +01:00
Philippe DELENTE f0be924b08 appendices/language/reflection sync with EN (#2065) 2025-02-22 16:10:51 +00:00
Pierre Ambroise efa5a091be Replace wrong commit revision in ReflectionClassConstant::getType 2025-02-21 08:12:56 +01:00
Pierre Ambroise bb57dcfc69 Sync ReflectionClassConstant::getType with EN (#2056) 2025-02-20 19:21:56 +00:00
Pierre Ambroise de08898a67 Translate ReflectionProperty::isDynamic (#1969) 2024-12-21 23:34:51 +00:00
David CARLIER 9c408aae1c misc syncs with EN (#1963) 2024-12-21 08:44:22 +00:00
David CARLIER f1a2eb753d reflection fix (#1907) 2024-12-07 15:48:05 +00:00
David CARLIER 00e85b3309 reflection sync with EN (#1905) 2024-12-07 10:12:15 +00:00
Pierre Ambroise 48eaba69c6 Translate ReflectionConstant (#1886) 2024-12-04 18:56:29 +00:00
David CARLIER 48123ac4fb reflection sync with EN (#1850) 2024-11-30 08:43:09 +00:00
David CARLIER 6f9adb72d7 reflection sync with EN (#1814) 2024-11-24 06:43:16 +00:00
David CARLIER 979e209a74 reflection sync with EN (#1751)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-11-19 23:05:34 +00:00
Pierre Ambroise 775ef76b53 Translate getClosureCalledClass (#1749) 2024-11-14 18:32:26 +00:00
Pierre Ambroise 164a5dcac2 Translate missing ReflectionClassConstant methods (#1736) 2024-11-12 19:25:28 +00:00
Pierre Ambroise c947632eee Translate ReflectionParameter::isPromoted (#1735) 2024-11-12 19:25:19 +00:00
David CARLIER 59a26dc4a6 reflection rev id sync with EN (#1720) 2024-11-11 06:30:49 +00:00
Pierre Ambroise 545182bef1 Change usine to fabrique (#1696) 2024-11-06 20:22:48 +00:00
Pierre Ambroise 6371fe1047 Translate missing ReflectionClass methods (#1694) 2024-11-06 20:10:07 +00:00