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

31 Commits

Author SHA1 Message Date
Louis-Arnaud
85c08658ec Fix grammar and spelling in ds/, radius/, rar/ and quickhash/ documentation (#2652)
* Fix grammar and spelling in ds/, radius/, rar/ and quickhash/ documentation

* Apply suggestion from @lacatoire
2026-03-11 21:24:13 +01:00
Louis-Arnaud
8f447589ac Fix grammar and spelling errors across doc-fr (#2636) 2026-03-10 19:04:42 +01:00
Louis-Arnaud
808d95741f fix(reference/ds): corrections de traduction (#2576) 2026-03-02 14:44:26 +01:00
Louis-Arnaud
b044c3b492 Corrections de traduction reference d-f (#2554) 2026-02-28 22:54:29 +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
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
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
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
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
7502bf6bc9 Fix/reference apache ini sync en (#2411)
* Fix French type name: ressource -> resource
* Fix tag: interfacename -> classname for ArrayAccess
* Sync markup with EN: fix inline tag type
* Sync structure with EN
* Fix tag: interfacename -> classname for ArrayAccess
* Sync markup with EN: fix tag types
* fix(apache/ini): sync markup with EN - remove extra literal tag, update revision
2026-02-06 14:10:41 +01:00
David CARLIER
c5586a843d Sync various sections with EN. (#2338) 2026-01-27 20:57:01 +00:00
Pierre Ambroise
d2515f8343 Sync links with EN (e8ac70bf549a723cb36465667a6109d9933b8619) (#2069) 2025-02-23 01:04:47 +01:00
David CARLIER
03b4522963 ds sync with EN (#1413) 2024-09-01 09:09:00 +01:00
Pierre Ambroise
46c52c4c37 Add Ds\Set::map() (#1351) 2024-08-26 18:55:24 +01:00
Pierre Ambroise
5b1094c0a1 Translate Ds\Vector (#1181) 2024-08-13 07:56:55 +01:00
Pierre Ambroise
0d10e0411c Translate Ds\Stack (#1178) 2024-08-12 18:34:36 +01:00
Pierre Ambroise
366ebc16c9 Translate Ds\Set (#1177) 2024-08-12 18:34:26 +01:00
Pierre Ambroise
386f102034 Translate Ds\Sequence (#1174) 2024-08-11 19:54:17 +01:00
Pierre Ambroise
e79ae16c22 Translate Ds\PriorityQueue && Ds\Queue (#1173) 2024-08-11 09:40:05 +01:00
Pierre Ambroise
c25de57231 Translate Ds\Pair methods (#1172) 2024-08-11 09:39:56 +01:00
Pierre Ambroise
89f80b4edd Translate Ds\Hashable (#1160) 2024-08-10 20:36:35 +01:00
Pierre Ambroise
b2482cefa8 Translate Ds\Deque (#1159) 2024-08-10 20:36:25 +01:00
Pierre Ambroise
9913714a6a Translate Ds\Map methods (#1163) 2024-08-10 20:36:14 +01:00
Pierre Ambroise
2172e1207f Translate dom extension (#1152) 2024-08-10 05:50:12 +01:00
Sergey Panteleev
6536d7d853 Apply php/doc-en@6bd5455 (#535)
This improves DS extension markup
2023-07-04 20:55:02 +01:00
George Peter Banyard
a324fed998 Update EN-Revision tag for new rev-check 2021-02-02 01:17:51 +00:00
Fred Blanc
c8ad8bbd73 Traduction EN -> FR
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350632 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-25 06:49:58 +00:00