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

126 Commits

Author SHA1 Message Date
Louis-Arnaud
d629c9439e [Sync EN] Add packagesynopsis tag for objects recently converted from resource (#2628) 2026-03-09 09:41:09 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +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
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
906e788ad7 Review/ref dba (#2514)
* dba: fix title order, translate comment in dba-handlers.xml
2026-02-25 07:22:23 +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
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
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
Gina Peter Banyard
7b6f740b64 dba : fix XML by converting para to simpara tags via script 2026-01-18 22:40:41 +00:00
Gina Peter Banyard
b49ff63783 dba: Update revcheck as automatic script was provided wrong git hash 2026-01-16 05:29:12 +00:00
Gina Peter Banyard
e31c7629c5 dba: fix XML to get remove of useless wrapping para tags - pass2 2026-01-15 22:11:40 +00:00
Gina Peter Banyard
2232c189e5 dba: fix XML to get remove of useless wrapping para tags 2026-01-15 17:27:36 +00:00
David CARLIER
a038f53bb9 DBA sync with EN (#1691) 2024-11-06 06:25:22 +00:00
David CARLIER
352ecc1bea dba sync with EN (#1628) 2024-10-27 04:53:56 +00:00
David CARLIER
1dac5e34f2 DBA sync with EN (#1626) 2024-10-26 15:05:12 +01:00
Pierre Ambroise
6a72e05f8a Translate Dba\Connection class (#1623) 2024-10-26 07:53:23 +01: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
c30e1b7b98 General sync with EN 2023-12-21 21:08:51 +00:00
David CARLIER
dec8dc7690 Sync dba_fetch() documentation with EN (#660) 2023-11-06 22:10:33 +00:00
David CARLIER
944a289c2d DBA sync fixes (#442) 2023-04-10 15:04:38 +01:00
David CARLIER
a60c81d630 DBA section sync (#437)
* DBA section sync
2023-04-08 18:24:28 +01:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
Sergey Panteleev
f3ae2c2b0a Updated to en-revision (#58) 2021-07-27 19:08:22 +03:00
George Peter Banyard
cd35f9d6ad Sync section order with EN (first pass) 2021-06-07 16:27:05 +01:00
George Peter Banyard
09685304ef Sync EN revision tags
These were skipped on my personal revcheck as I hadn't made a tool to generate a batch diff for files with no changes
2021-05-19 19:16:05 +01:00
George Peter Banyard
576d1b1494 Remove some PHP 5 mentions
To sync with EN
Also normalize some type tags
2021-04-28 14:49:35 +01:00
George Peter Banyard
325229c95b Apply commit 6dfe0767250cdbdf509223f6bc266557b0a3fec9
xi:include INI settings documented elsewhere in ini.list
2021-02-24 17:45:14 +00:00
George Peter Banyard
ed0ca6b39e Apply SVN revision 352209
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352233 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 01:03:18 +00:00
George Peter Banyard
61b9bbf4bd Apply SVN revision 351135 onto French docs using diff generated from this command:
git diff --no-prefix b95d28e6ec86e4a71e012737d36ebdc1cf009180^ b95d28e6ec86e4a71e012737d36ebdc1cf009180 > somefile.diff
and applying it using
patch -p0 < somefile.diff

Updated EN Revision numbers manually

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351201 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 22:11:37 +00:00
George Peter Banyard
201ab2125e Apply SVN revision 351129 onto French docs using diff generated from this command:
git diff --no-prefix 9e0f03ac354d797d1d16c0fcc1663e5e170f2727^ 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 > somefile.diff
and applying it using
patch -p0 < somefile.diff

Did another passes when applying it failed and updated EN Revision numbers manually

Drive by fix for the previous application for int|float union in pow() function

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351166 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 05:31:18 +00:00
George Peter Banyard
1800864e17 Sync with latest EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@349022 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-26 10:55:17 +00:00
George Peter Banyard
81168918a7 French typos
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@348892 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 22:06:40 +00:00
George Peter Banyard
ad785fefb0 Sync with latest EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@348382 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-01 12:51:27 +00:00
George Peter Banyard
b17d4aba70 Adding review tags
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@347785 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-22 01:21:44 +00:00
George Peter Banyard
96d990a650 Sync with latest EN revision (Remove PHP 4 and 5.0.0 mentions)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@347556 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 18:15:46 +00:00
George Peter Banyard
9091886925 Updated French doc for DBA configuration
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-11 03:23:51 +00:00
George Peter Banyard
e8562d5bd7 Updated French doc
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346586 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-09 21:55:05 +00:00
Jean-Baptiste Nahan
f7c08b2160 Sync with EN by David A.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@344390 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-27 20:11:50 +00:00
Jean-Baptiste Nahan
0bb65b50df Sync with EN by David A.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@344389 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-27 20:05:56 +00:00
Jean-Baptiste Nahan
fa43e5e9a1 Multiples petites mises à jour.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@343448 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-22 21:32:33 +00:00
Yannick Torres
eef7153fe3 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@334659 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-29 06:34:48 +00:00
Yannick Torres
55a762c3ac sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@331828 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-14 19:20:19 +00:00
Yannick Torres
71fed2bc0d sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@330344 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-24 11:44:50 +00:00
Yannick Torres
29c22015ad sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@329177 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-17 12:33:36 +00:00