1
0
mirror of https://github.com/php/doc-fr.git synced 2026-04-29 17:53:17 +02:00

57 Commits

Author SHA1 Message Date
Louis-Arnaud 58794e4116 [Sync EN] Update EN-Revision hashes for spelling & typo fixes (#2717)
Fixes #2715
2026-04-07 00:19:20 +02:00
Louis-Arnaud a8d06759b4 Sync enums with EN stubs (packagesynopsis, enumvalue, reorder) (#2699) 2026-04-03 09:03:30 +02:00
Louis-Arnaud 0a48764865 Add warning about Mt19937 global state in legacy random functions (#2689) 2026-03-24 10:18:15 +01:00
Louis-Arnaud 4612252f56 Fix grammar and spelling in seaslog/, rnp/, random/, snmp/, oauth/, solr/, sockets/, sodium/, soap/ and rpminfo/ documentation (#2654) 2026-03-11 21:06:44 +01:00
Louis-Arnaud 6562c56572 Sync misc outdated files with doc-en (#2634) 2026-03-10 13:32:02 +01:00
Louis-Arnaud 2c40c11d17 [Sync EN] Add caution about underflow in Randomizer::getFloat() (#2606)
Fixes #2598
2026-03-06 10:04:46 +01:00
Louis-Arnaud 1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud 23a2835e62 Declare namespace of ext/random classes using packagesynopsis (#2565) 2026-03-02 09:14:17 +01:00
Louis-Arnaud afd4302b76 Corrections de traduction reference n-s (#2557) 2026-02-28 23:16:05 +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 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 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 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
Gina Peter Banyard a5a032efc4 random: sync docs with EN 2026-01-16 07:52:41 +00:00
Pierre Ambroise 1646d22d97 Various sync with EN (#2255) 2025-09-11 10:08:41 +02:00
David CARLIER f6ba1c0bdf random update forgotten translations (#2236) 2025-08-04 23:06:42 +01:00
David CARLIER 057af03acf random sync with EN (#2235) 2025-08-04 23:01:03 +01:00
David CARLIER 7855566b06 random sync with EN (#2193) 2025-05-09 00:42:40 +01:00
David CARLIER 8e6337f708 random sync with EN (#2190) 2025-05-07 22:54:30 +01:00
Pierre Ambroise 1b58b4a752 Various sync with EN (#2137) 2025-04-17 13:25:38 +02:00
Pierre Ambroise 60be179cb5 Sync intervalboundary with EN (#2057) 2025-02-20 19:26:34 +00:00
Pierre Ambroise 8fe5dcaca5 Uppercase missing lowercase php 2025-02-03 15:28:37 +01:00
David CARLIER a788da7bb1 random sync with EN (#1928) 2024-12-09 14:49:03 +00:00
Pierre Ambroise 00d0b130f1 Translate intervalboundary enum (#1890) 2024-12-04 20:23:12 +00:00
David CARLIER 697fda8c32 random sync with EN (#1806) 2024-11-23 12:43:26 +00:00
David CARLIER adb9bb90c1 fix random bad copy/paste (#1690) 2024-11-06 06:18:15 +00:00
David CARLIER 1aeda36016 random sync with EN (#1689) 2024-11-06 05:43:35 +00:00
Pierre Ambroise 2ccc36ecba Translate Missing random files (#1399) 2024-08-29 13:47:09 +01:00
David CARLIER c57ac9d066 random rev id update (#1395) 2024-08-29 05:44:13 +01:00
Pierre Ambroise b2af739bfc Translate Random\Randomizer (#1391) 2024-08-28 21:02:05 +01:00
Pierre Ambroise d09d9951fb Translate Random\Engine\PcgOneseq128XslRr64 (#1384) 2024-08-28 21:00:30 +01:00
Pierre Ambroise 2883cf6f23 Translate Random\Engine\Mt19937 (#1383) 2024-08-28 21:00:09 +01:00
Pierre Ambroise 6d8cfa8da0 SYNC remove files with EN (#1083) 2024-07-30 22:05:53 +01:00
David CARLIER 0c47324f20 books/setups sync with EN (#1071) 2024-07-28 09:58:43 +01:00
David CARLIER f20178bbf1 remove constants/configurations/requirements sections (#1043) 2024-07-13 02:15:23 +01:00
David CARLIER 2906b79425 general sync (#1013) 2024-06-22 13:33:48 +01:00
Gina Peter Banyard 24f1f05b10 Apply commit from doc-en PR 3422 2024-06-14 17:01:42 +01:00
David CARLIER 286094797c Apply commit 9eb92e5c1851d7838ba02e88e7a0e5bb5c86880a (#743)
Sync Random extension with EN
2024-01-12 00:30:38 +00:00
David CARLIER ce7d3d59ef Sync Random section docs with EN (#652) 2023-11-04 14:48:13 +00:00
Pierrick Charron 7b619a2469 Sync few constants.xml 2023-09-08 18:00:43 -04:00
Pierrick Charron e39dacc6c6 Sync commit 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 (#605) 2023-08-31 18:11:48 +01:00
Sergey Panteleev f5bbb6f76a Apply php/doc-en@9eb4a46 (#561) 2023-07-29 11:04:22 +01:00
Sergey Panteleev b6694bbf84 Apply php/doc-en@96a8379 (#540)
And sync Reflector page changes which predate that commit 

Co-authored-by: George Peter Banyard <girgias@php.net>
2023-07-05 17:37:22 +01:00