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

199 Commits

Author SHA1 Message Date
Louis-Arnaud
9688d2a324 Proofreading: reference a-c 2026-02-28 22:24:35 +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
d44ff880be Review/ref classobj (#2512)
* classobj: fix title order, translate comments and strings
2026-02-25 07:18:17 +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
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
Pierre Ambroise
0eb9b62f78 Various sync with EN 2025-10-03 17:47:07 +02:00
David CARLIER
2616b06c48 various changelogs sync with EN (#2086) 2025-03-07 05:53:48 +00:00
David CARLIER
b3b7aafee8 classobj sync with EN (#2054) 2025-02-20 19:10:35 +00:00
David CARLIER
5b8cea5277 classobj sync with EN (#1878) 2024-12-04 05:51:22 +00: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
Pierre Ambroise
a43088f672 Sync remove files (#1050) 2024-07-20 06:02:32 +01:00
David CARLIER
bc3241e1e1 remove constants/configurations/requirements sections (#1040) 2024-07-11 18:31:20 +01:00
David CARLIER
5320073820 requirements section removals (#1033) 2024-07-09 13:05:52 +01:00
David CARLIER
2906b79425 general sync (#1013) 2024-06-22 13:33:48 +01:00
David CARLIER
a24a1903e1 classobj section sync with EN (#881) 2024-04-17 12:41:32 +01:00
David CARLIER
3338bc4b63 classobj section sync with EN (#873) 2024-04-13 19:44:37 +01:00
David CARLIER
bb872f7f1d classobj section sync with EN (#812) 2024-02-23 18:14:25 +00:00
David CARLIER
ed1bc8e399 classobj section sync with EN (#788) 2024-02-07 18:45:03 +00:00
David CARLIER
66cd88998a classobj section sync with EN (#764) 2024-01-25 12:37:15 +00:00
David CARLIER
fdac3de1f2 Sync clasds_alias() docs with EN (#570) 2023-08-07 13:22:08 +01:00
David CARLIER
860d2af2b0 Sync classobj section with EN (#552) 2023-07-26 21:59:43 +01:00
Pierrick Charron
0e9f8b9930 Sync reference/classobj/functions/is-a.xml 2023-06-12 22:46:13 -04:00
David CARLIER
a5bcfa132d classobj section sync (#456) 2023-05-06 20:56:28 +01:00
Pierrick Charron
d85ba25031 Translate reference/classobj/functions/ 2023-03-25 12:22:17 -04:00
David CARLIER
7df96c934d Sync classobj section with EN (#395) 2023-03-15 22:16:28 +00:00
Pierrick Charron
21240d9183 Sync few files 2023-01-23 00:35:37 -05:00
Sergey Panteleev
ede0224a87 Sync various sections (#275)
Co-authored-by: Pierrick Charron <pierrick@php.net>
2022-08-31 11:32:26 +01:00
Eugène d'Augier
cca5e18992 Sync doc with EN (#221)
* Apply php/doc-en@85b2c17bff

* Apply php/doc-en@8bf7045ecc

* Apply php/doc-en@f004f576e7
2022-05-10 12:20:25 +01:00
George Peter Banyard
dc5b4a53c4 Sync classobj section with EN 2022-02-21 20:30:12 +00:00
Sergey Panteleev
61e2f37548 Sync various docs with EN (#163)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-02-15 10:33:48 +00:00
Sergey Panteleev
9fa0dde56d Sync part of the docs with EN (#121) 2021-11-02 14:01:36 +00:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
3bb45a0fa0 Sync BCMath and ClassObj manuals with EN 2021-08-19 17:29:25 +02:00
Sergey Panteleev
f3ae2c2b0a Updated to en-revision (#58) 2021-07-27 19:08:22 +03: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
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
a7f187f37e Fix EN revision of files which have empty diff 2021-04-30 22:53:47 +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
4037ff49b1 Apply commit d88a13cd9ea3689e7e666173d6c19d1dc31673a4
__autoload was deleted as of PHP 8.0.0.
2021-01-26 17:58:19 +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
8264f849ff Sync various French translations with its English counterpart
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351463 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-20 20:20:28 +00:00
George Peter Banyard
2546f6f77d More removals as they are not present in EN revision any more.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351057 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-29 15:23:05 +00:00