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

211 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
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
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
4e7f92c6bc Style impersonnel dans reference/ (e-i) (#2541) 2026-02-25 11:55:04 +01:00
Louis-Arnaud
637e6683ad Fix errorfunc: translate error type labels, fix screen output (#2526)
- examples.xml: translate remaining English error type labels (Core Error,
  Compile Error, etc.) and add missing test comment
- set-error-handler.xml: translate trigger_error string, fix screen output
  to match code (Arrêt instead of Abandon, correct trigger_error text)
2026-02-25 08:29:39 +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
Pierre Ambroise
b3e66906ab Various sync with EN (#2205) 2025-05-21 14:17:34 +02:00
David CARLIER
3c6fe8b4bb errorfunc sync with EN (#2202) 2025-05-19 06:41:55 +01:00
Pierre Ambroise
3f684938f5 Translate get_*_handler (#2175) 2025-04-30 09:34:06 +02:00
David CARLIER
74829d5886 errorfunc sync with EN (#2166) 2025-04-24 22:57:45 +01:00
David CARLIER
bf508ffa7a errorfunc sync with EN (#2155) 2025-04-21 22:27:51 +01:00
David CARLIER
c95519af0f errorfunc sync with EN (#1777) 2024-11-21 04:26:59 +00:00
David CARLIER
fc8a28b743 minor sync with EN (#1082) 2024-07-30 06:28:12 +01:00
David CARLIER
8c248412d7 errorfunc sync with EN (#990) 2024-06-15 21:12:47 +01:00
David CARLIER
593028c059 errorfunc section sync with EN (#880) 2024-04-17 12:38:56 +01:00
David CARLIER
df9869f433 Sync debug_backtrace() docs with EN (#675) 2023-11-27 02:32:32 +00:00
David CARLIER
9c12b51484 Sync error_reporting() docs with EN (#640) 2023-10-27 03:48:31 +01:00
Samuel NELA
ab29eee1aa Fix typos in magic methods documentation and change translation of serialization (#611)
Stop using "linéarisation" and instead use "sérialisation"
2023-09-20 22:11:41 +01:00
David CARLIER
37ad78b894 errorfunc section sync (#573) 2023-08-10 13:19:23 +01:00
David CARLIER
6c84aca433 errorfunc section sync (#460) 2023-05-09 12:15:37 +01:00
Pierrick Charron
efc3b27c5a Sync reference/errorfunc/functions 2023-03-16 01:37:35 -04:00
David CARLIER
3688fc33d3 set_error_handler() docs sync (#386) 2023-03-11 11:11:45 +00:00
Sergey Panteleev
3ba009e4d3 Apply php/doc-en@b5525a1 2022-09-07 09:30:15 +03:00
Sergey Panteleev
1f958fb59b Sync various sections, ex #244 (#245)
Co-authored-by: Pierrick Charron <pierrick@php.net>
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-06-15 12:41:33 +01:00
Sergey Panteleev
16272040f1 Revert "Sync various sections (#244)"
This reverts commit b06748947e.
2022-06-15 09:03:10 +03:00
Sergey Panteleev
b06748947e Sync various sections (#244)
Co-authored-by: Pierrick Charron <pierrick@php.net>
2022-06-14 20:57:33 -04:00
Sergey Panteleev
35e1281ea4 Sync with English (#192)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-04-05 11:15:15 +01:00
George Peter Banyard
02277e3ccc Sync errorfunc folder with EN 2022-01-06 23:56:33 +00:00
Sergey Panteleev
75275938e0 More stub sync with English (#144)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-12-25 17:31:27 +00:00
George Peter Banyard
079d6eb423 Apply commit b95e76e41de2ffe5c75e04be1b187d80ca745359
Types are not hints in PHP.
2021-10-10 23:00:50 +01:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
a6de523437 Sync ErrorFunc folder with EN 2021-09-05 15:32:17 +01:00
orklah
53d89cb184 fix spelling 2021-07-08 20:10:05 +02:00
George Peter Banyard
39c01c1817 Sync section order with EN (third pass) 2021-06-12 05:58:25 +01:00
George Peter Banyard
506695425a Minor sync in reference/ with EN 2021-05-25 18:58:36 +01:00
George Peter Banyard
c6c9851c1d Apply commit c44475e1fafcbee203ed4935a6d5d7a01379fcdc
Generate methodsynopses based on stubs for Zend functions and methods
2021-05-24 02:04:25 +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
c18372198e Apply commit 12b1d4704ea448b55ec155619be1e50c0e67e9f9
Cleanup and update docs related to @ operator
2021-02-24 17:45:11 +00:00
George Peter Banyard
7cdca666c2 Apply commit 471f9f42cd9206eff6326b2cc6e159f8a0e096e2
error_log(, 0) always returns true
2021-02-24 17:45:11 +00:00
Samuel NELA
f9d7759544 Fix set_error_handler typos
Closes GH-17
2021-01-30 07:03:54 +00:00
George Peter Banyard
8be7eab6e3 Apply SVN revision 352191
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352230 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 00:43:21 +00:00
George Peter Banyard
1d7bdf1287 Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352059 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 02:17:13 +00:00
George Peter Banyard
7b4898e432 Update some EN revision number after commit revert
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351753 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:39:46 +00:00
George Peter Banyard
16bec09572 Update EN-Revision as these used the entity instead of the non-canonical <type>
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351199 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 20:29:32 +00:00
Yannick Torres
9df3faab22 Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350799 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 15:59:49 +00:00
Yannick Torres
ae2397955f Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350752 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-03 15:27:57 +00:00
George Peter Banyard
2d492101ab First batch of syncing French translation with English revision after removal of PHP 5 docs.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350665 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 00:07:21 +00:00