1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 07:02:06 +01:00

28 Commits

Author SHA1 Message Date
Louis-Arnaud
dba3c37f82 Fix grammar and spelling in sync/, stream/ and sqlite3/ documentation (#2657) 2026-03-12 09:37:27 +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
e0759083e3 Translation review 2026-02-19 20:01:29 +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
David CARLIER
673a112d80 sqlite3 sync with EN (#1924) 2024-12-09 09:06:47 +00:00
Pierre Ambroise
355a3cfc5b Translate missing SQLite3 files (#1373) 2024-08-27 20:46:11 +01:00
Gina Peter Banyard
4191ef7ba4 Fix various issues founds via the translator QA tools 2023-12-15 03:24:47 +00:00
George Peter Banyard
6fd57c2052 Apply commit 855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60 2022-12-11 21:54:15 +00:00
Fabien Villepinte
01d7f6a2e2 Argument is masculine
Closes GH-13

Signed-off-by: George Peter Banyard <girgias@php.net>
2021-01-26 19:21:02 +00:00
George Peter Banyard
4955dc5cf0 Apply commit d15a12639faeb8d1b4bcf7eff008de2885017d1e
Generate sqlite3 methodsynopses based on stubs
2021-01-04 01:55:32 +01:00
George Peter Banyard
cfc6f11c15 Update some EN revision number after commit revert
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351749 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 15:30:15 +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
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
George Peter Banyard
55794ece8b Sync with latest EN revision; use appropriate entities.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@348422 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-04 01:21:47 +00:00
George Peter Banyard
b4f64d0aaa Sync with latest EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@347016 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-18 00:45:46 +00:00
George Peter Banyard
e598d2b9e5 Updated French doc for SQLite3.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346736 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-06 16:36:37 +00:00
George Peter Banyard
0f4a7c434e Updated part of the SQLite French doc.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346678 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-01 19:49:57 +00:00
George Peter Banyard
ad72280d26 Translated missing parts into French
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346658 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-26 17:24:46 +00:00
George Peter Banyard
c4027b4754 Added See Also section
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346527 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-02 18:55:52 +00:00
Jean-Baptiste Nahan
4c31b22717 Sync with EN SQLite part
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@345012 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-15 21:00:11 +00:00
Yannick Torres
608a3bfadf sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@339554 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-04 05:18:31 +00:00
Yannick Torres
a100a2127d Convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297717 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-08 20:34:35 +00:00
Yannick Torres
25f991db09 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@289197 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-04 17:31:32 +00:00
Torben Wilson
db63e0b065 Resynched with en (bumped EN-Revision and updated sgml-default-dtd-file).
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@288878 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-28 04:50:00 +00:00
Nilgün Belma Bugüner
bda4edee98 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283985 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 20:59:32 +00:00
Damien Seguy
7b2fef70da fix methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@282147 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-15 08:55:42 +00:00
Yannick Torres
a6bb932d36 initial translation
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@273283 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-11 11:29:55 +00:00