1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 15:12:13 +01:00

194 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
44c622710b [Sync EN] Document special handling for "&" in SimpleXml::addChild() (#2595)
Fixes https://github.com/php/doc-fr/issues/2592
2026-03-05 15:39:18 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +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
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
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
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
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
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
Louis-Arnaud
68c8f8a30e Fix markup sync issues in simplexml extension (#2409)
- simplexml-import-dom.xml: wrong function name simplexml_load_string → simplexml_import_dom
- asXML.xml: <function> → <methodname> for SimpleXMLElement::xpath in title
2026-02-05 22:37:15 +01:00
David CARLIER
6266705d0b Sync simplexml with EN. (#2335) 2026-01-27 06:40:37 +00:00
Pierre Ambroise
2873f455b7 Various sync with EN (#2268) 2025-10-17 09:58:49 +02:00
David CARLIER
8c19ee3008 simplexml sync with EN (#2150) 2025-04-20 20:06:36 +01:00
David CARLIER
c441eb37b1 SimpleXML sync with EN (#2096) 2025-03-09 08:27:27 +00:00
Pierre Ambroise
ebff2b6085 Various sync with EN (c1f37a6c270aadbbb3da56a3973ffd62197adf2b) (#2091) 2025-03-07 18:38:02 +01:00
David CARLIER
585dd5465b SimpleXML sync with EN (#1919) 2024-12-08 21:33:18 +00:00
David CARLIER
925502bc1e SimpleXML sync with EN (#1604) 2024-10-24 05:04:20 +01:00
Martin Samesch
cd371220ca Fix typo in simplexml/simplexmlelement/getchildren.xml (#1446) 2024-09-13 21:28:10 +01:00
Pierre Ambroise
5ba4c57e45 Fix chaîne de caractères typos (#1293) 2024-08-22 18:49:28 +01:00
David CARLIER
b234362e89 various setups sync with EN (#1069) 2024-07-27 21:14:52 +01:00
Pierre Ambroise
a43088f672 Sync remove files (#1050) 2024-07-20 06:02:32 +01:00
David CARLIER
df1ae53fc5 remove constants/configurations/requirements sections (#1039) 2024-07-11 13:09:32 +01:00
Gina Peter Banyard
24f1f05b10 Apply commit from doc-en PR 3422 2024-06-14 17:01:42 +01:00
Gina Peter Banyard
59cea426b3 Sync SimpleXML docs with EN 2024-04-20 16:00:03 +01:00
David CARLIER
cb8a2c651d SimpleXML section sync with EN (#863) 2024-03-20 19:53:51 +00:00
David CARLIER
6d99a931dd SimpleXML section sync with EN (#798) 2024-02-11 12:03:14 +00:00
Gina Peter Banyard
91e6dc9bab Sync SimpleXMLElement::current() docs with EN 2023-11-14 02:16:06 +00:00
Victor
3a7faf426c Use dom.parameter.options entity (#618) 2023-10-03 18:54:08 +01:00
Pierrick Charron
e39dacc6c6 Sync commit 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 (#605) 2023-08-31 18:11:48 +01:00
Pierrick Charron
1ef36056d0 Sync reference/simplexml/simplexmliterator (#488) 2023-06-24 09:21:36 -04:00
Sergey Panteleev
d6daff40ff Sync SimpleXMLIterator (#461) 2023-05-15 12:02:40 +03:00
Victor
7745d66550 Sync/various section (#343)
* sync reference/zip

* sync reference/xsl/xsltprocessor

* sync reference/xsl

* sync reference/xmlwriter

* sync reference/xmlreader

* sync reference/stream

* sync reference/sodium

* sync reference/sockets

* sync reference/simplexml

* sync reference/session

* Update reference/sockets/functions/socket-get-option.xml

Co-authored-by: Pierrick Charron <pierrick@php.net>

Co-authored-by: Pierrick Charron <pierrick@php.net>
2023-01-09 19:15:45 -05:00
George Peter Banyard
601101f5fa Apply commit 770c6facae667218f69c8ea2715ea20f6fab32f3 2022-12-24 14:00:33 +00:00
Pierrick Charron
47063ee2fd Apply php/doc-en@08e0e7dd68 (#86) 2022-05-26 13:29:32 -04:00
Sergey Panteleev
cc5c4441ed Apply php/doc-en@c44e9cb (#195) 2022-04-07 12:41:13 +01:00
Sergey Panteleev
14d787fa53 Sync with English various sections (#156)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-01-25 11:52:05 +00:00
Sergey Panteleev
2aed1f4f51 Sync PDO/Reflection and other class stub docs with English (#143)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-12-24 14:24:08 +00:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
cbe3f567a2 Update SimpleXML docs 2021-09-10 15:45:35 +01:00
George Peter Banyard
8daa4fd322 Fix type 'noeud' into 'nœud' 2021-06-08 16:49:14 +01:00
George Peter Banyard
cd35f9d6ad Sync section order with EN (first pass) 2021-06-07 16:27:05 +01:00
George Peter Banyard
506695425a Minor sync in reference/ with EN 2021-05-25 18:58:36 +01:00
George Peter Banyard
d4bc5aac20 Apply commit 5916fd8f742127259912e6510904451849928020
Update ext/simplexml methodsynopses based on stubs
2021-05-24 02:23:12 +01:00