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

39 Commits

Author SHA1 Message Date
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
e1239c021b Global translation review 2026-02-20 09:45:20 +01:00
Louis-Arnaud
d43a340994 Fr translation error (#2470) 2026-02-15 21:44:26 +01:00
Louis-Arnaud
f77cf90e78 fix: correction de ~157 fautes de français dans 123 fichiers (#2460)
Orthographe :
- défault -> défaut (16), controlleur -> contrôleur (10)
- gestionaire -> gestionnaire (8), éxécuter -> exécuter (3)
- appellé -> appelé (11), addresse -> adresse, nécéssaire, suffisament
- Verifie -> Vérifie, parametre -> paramètre, probleme -> problème

Grammaire :
- tout les -> tous les (13), si ils -> s'ils (11)
- quelque soit -> quel que soit / quelle que soit (9)
- Accords de genre : un/le + nom féminin (valeur, chaîne, instance,
  liste, fonction, erreur, exception) (17)
- Accords participe passé : supprimé/intégré -> supprimée/intégrée (3)
- Nouvelle fonctions -> Nouvelles, Cette options -> Cette option (4)

Typographie :
- c'est a dire -> c'est-à-dire (22), au dessus -> au-dessus (4)
- Mots doublés supprimés : de de, un un, une une, etc. (11)
- du au -> dû au (4)
2026-02-08 09:01:49 +01:00
David CARLIER
6c324ccb59 PGSQL section sync with EN (#809) 2024-02-23 18:13:55 +00:00
Sergey Panteleev
5fb4372373 Apply php/doc-en@2ca0903 (#361) 2023-02-25 00:12:37 +00:00
George Peter Banyard
8e82164d85 Apply commit c2eca73ef79ebe78cebb34053e41b565af504c4f
[PHP 8.1] Use PgSql objects instead of resources
2021-10-16 20:03:39 +01:00
George Peter Banyard
e0678da4ed Apply pgsql nits from EN 2021-10-11 00:51:24 +01:00
George Peter Banyard
669afb10ef Apply commit 58645a79f1993effc0571f7b49acc9aace0e417f
Generate ext/pgsql methodsynopses based on stubs
2021-10-11 00:35:13 +01:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
0e158d620d More of the same (PHP 5 mention removal, etc.) 2021-04-28 16:24:40 +01:00
George Peter Banyard
c5fae30d10 Sync with latest EN revision
Update revision number after typos in EN revision have been fixed,
Minor translations updated
Apply XML fixes from EN revision

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@349979 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-25 18:17:11 +00:00
George Peter Banyard
0e032729e9 Updated French doc for pgsql functions.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346565 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-07 03:04:21 +00:00
Yannick Torres
8b3ed11194 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@333560 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-19 09:33:54 +00:00
Yannick Torres
1cb0d5dc3e sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@331112 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-12 06:46:02 +00:00
Yannick Torres
ee0817036c Typo found by Geoffray Warnants.
Thanks ;)

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@328126 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-24 07:37:28 +00:00
Yannick Torres
9b7f788369 Convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297607 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 06:31:19 +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
2b7c9fe5f8 changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283979 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 20:37:11 +00:00
Damien Seguy
20bc818955 synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@274140 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-21 20:35:35 +00:00
Damien Seguy
54062c11ba minor spelling mistakes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@259347 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-08 21:00:17 +00:00
Yannick Torres
0720f7cf84 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@254064 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-02 10:41:12 +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
Yannick Torres
cb3831afbd add reviewed tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@218975 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-28 12:53:54 +00:00
Yannick Torres
8303b8c33b sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@189792 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-03 12:47:19 +00:00
Jean-Sébastien Goupil
3987aa79d4 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@189191 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-25 05:49:48 +00:00
Jean-Sébastien Goupil
c0a36fbc04 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@186443 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-16 01:26:01 +00:00
Jean-Sébastien Goupil
cb2f65dfc0 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@185403 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-29 00:05:45 +00:00
Yannick Torres
4a239ae2da use more entitie
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@172818 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-16 22:07:23 +00:00
Yannick Torres
5cc1083a8e sync with EN version
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166905 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-20 16:39:05 +00:00
Yannick Torres
20ea7908b5 synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158710 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-17 06:56:09 +00:00
Mehdi Achour
a37f67ee6e Missing EN-Revision tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152321 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-25 12:42:00 +00:00
Mehdi Achour
7257058db0 Happy new iso-8859-1 year
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@147508 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-30 18:58:39 +00:00
Damien Seguy
34eb3c6e14 accents
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@135232 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-16 15:26:54 +00:00
Damien Seguy
865374366d updating docs with latest commits
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@135227 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-16 15:18:08 +00:00
Mehdi Achour
f4c324c467 fiesta fiesta..
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@132641 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-20 17:25:56 +00:00
Damien Seguy
347433ba26 keeping up with en tree
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@131384 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-13 16:20:36 +00:00
Damien Seguy
8421283d2d correction for build
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@105235 c90b9560-bf6c-de11-be94-00142212c4b1
2002-11-22 02:33:25 +00:00