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

36 Commits

Author SHA1 Message Date
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud
267a374951 Proofreading: language, appendices, faq, features, install, security (#2552) 2026-02-28 21:59:43 +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
49dfad4f3a Style impersonnel dans faq/ (#2531)
Remplacement des formulations directes (vous/votre/vos) par des tournures impersonnelles conformément à TRADUCTIONS.txt.
2026-02-25 09:07:02 +01:00
Louis-Arnaud
79a37cd7e8 faq fix translation errors, grammar, and terminology 2026-02-24 18:18:22 +01:00
Louis-Arnaud
e1239c021b Global translation review 2026-02-20 09:45:20 +01:00
George Peter Banyard
9f3068467c Some cleanup in FAQ section,
Also sync language-snippets
2021-04-15 22:36:21 +01:00
Jean-Baptiste Nahan
b4db37f4ed Sync FAQ from EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@343562 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-01 20:20:19 +00:00
Maciej Sobaczewski
331f945248 Fixed manual builds after dead entities removal. Translations need to be updated (look for inline comments inside the files). More informations in the email, on your mailing list, right after this commit.
Cheers!

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@341303 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-06 11:11:59 +00:00
Yannick Torres
09dbeaac65 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@337621 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 07:44:21 +00:00
Yannick Torres
26081f09d0 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@334796 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-06 22:03:32 +00:00
Yannick Torres
9ea206fc89 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@326012 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-07 11:14:42 +00:00
JulienPauli
3b8f652f93 Review of Fr doc. Fixed typos. Removed some old PHP4 references.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@304285 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-10 16:40:20 +00:00
Yannick Torres
e2ae31e82f Convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297115 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 22:41:55 +00:00
Daniel Egeberg
11891a1649 Updating EN-Revision on up-to-date files after phpdoc/en UTF-8 conversion.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297032 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 00:47:47 +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
b5de52cbf4 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283965 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 18:59:30 +00:00
Guillaume Plessis
1025dcab42 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@269876 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-26 11:18:32 +00:00
Yannick Torres
7667dfdf2e &php; => PHP
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@260926 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-08 15:10:25 +00:00
Yannick Torres
4810a05394 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@253645 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-24 10:11:56 +00:00
Yannick Torres
69be2c2acf sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@240029 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-20 20:54:10 +00:00
Hannes Magnusson
069f6629d8 - Bunch of build fixes
- Upgrade to DocBook5:
  - All id attributes are now xml:id
  - Add docbook namespace to all root elements
  - Replace <ulink /> with <link xlink:href />
  - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@238217 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-21 17:05:05 +00:00
Jean-Sébastien Goupil
4a2deeed14 Typos
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@207110 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-14 04:12:17 +00:00
Jean-Sébastien Goupil
6005d1159a Typo capital letters with accent
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@202670 c90b9560-bf6c-de11-be94-00142212c4b1
2005-12-11 20:54:51 +00:00
Yannick Torres
5f52f4b967 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@194596 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-29 22:43:20 +00:00
Yannick Torres
882e72da46 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@177994 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-23 11:04:52 +00:00
Damien Seguy
b7e9115579 Typos around parceque
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@177488 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-18 00:03:31 +00:00
Damien Seguy
901819d228 cela vers cela
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@176028 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-30 12:11:32 +00:00
Yannick Torres
ac91d95987 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@175201 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-20 21:05:55 +00:00
Vincent Briet
64ee4b5bdb typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@174544 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-12 19:35:09 +00:00
Yannick Torres
560ffebed2 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@172816 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-16 21:09:12 +00:00
Yannick Torres
fc4dd5765f sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@168043 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-05 18:57:11 +00:00
Mehdi Achour
6a44a0e665 more fixes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166807 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-19 12:35:00 +00:00
Yannick Torres
5f0eed398f sync with EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166259 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-13 11:21:29 +00:00
Yannick Torres
c24a108fca librairie => bibliothèque
#normalement, c'est ok


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@163597 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-18 23:34:00 +00:00
Guillaume Plessis
4b03b389ac initial translation
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158222 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-08 21:32:34 +00:00