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

27 Commits

Author SHA1 Message Date
Louis-Arnaud
a10fa26704 Fix grammar and spelling in MySQL-related documentation (#2643) 2026-03-11 20:54:23 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud
85adf55bdc Corrections de traduction reference j-m (#2556) 2026-02-28 23:39:44 +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
df96969fec Style impersonnel dans reference/ (j-o) (#2537) 2026-02-25 09:45:51 +01:00
Louis-Arnaud
02e6c05eea Fix doc fr review 2026-02-19 16:08:49 +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
Gina Peter Banyard
381cd85e95 mysqlnd : fix XML by converting para to simpara tags via script 2026-01-19 03:26:38 +00:00
Pierre Ambroise
1b58b4a752 Various sync with EN (#2137) 2025-04-17 13:25:38 +02:00
Pierre Ambroise
d2515f8343 Sync links with EN (e8ac70bf549a723cb36465667a6109d9933b8619) (#2069) 2025-02-23 01:04:47 +01:00
David CARLIER
d68d771ac2 Mysqlnd sync with EN and previous forgotten changes (#1443) 2024-09-13 12:32:48 +01:00
David CARLIER
4617c9c59c Fix wrapper -> enveloppe usages (#1342) 2024-08-25 22:10:34 +01:00
Pierrick Charron
6c62165d29 Add new rule for hyphens rules in french and fixes 2022-05-27 17:46:58 -04:00
Sergey Panteleev
440997c3c5 Update to English (#72)
Applied commits:

- php/doc-en@2e8ef0a1bd (empty)
- php/doc-en@de9c65c91f
- php/doc-en@b890f28c0c
- php/doc-en@0da76b0197
- php/doc-en@8782bc7340 (empty)
2021-08-18 12:27:07 +02:00
George Peter Banyard
c9b617b55a Apply commit 40667918dcff1d5c9f7ecdc88b5caca24ba0686c
Added table ids as needed by the docs at mysql.com
2021-02-02 02:03:11 +00:00
George Peter Banyard
ac2ab2bcec Apply commit a714378ed87cdbdbde3b10ded183e8df7b243cb4
Remove PHP 5 info from mysqli, PDO_MySQL and mysqlnd
2021-01-10 19:41:38 +00:00
George Peter Banyard
dfe48eca2c Sync with latest EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@348236 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-30 11:28:36 +00:00
George Peter Banyard
1c21f74b16 Updated mostly method synopsis, changed revision numbers when only the EOL has been changed, references and alias texts.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346525 c90b9560-bf6c-de11-be94-00142212c4b1
2019-01-02 18:36:46 +00:00
Yannick Torres
96ef44d303 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@332068 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-05 11:05:49 +00:00
Yannick Torres
6434a97cd0 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@329996 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-04 06:59:58 +00:00
Yannick Torres
44a91880f1 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@329383 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-31 16:56:00 +00:00
Yannick Torres
cc2ea73b9b sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@328696 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-06 13:23:52 +00:00
Yannick Torres
f6ce61847c sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@327583 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-10 08:33:03 +00:00
Yannick Torres
db0890f1e0 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@321557 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-30 15:37:53 +00:00
Yannick Torres
0e65817088 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@317802 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-05 18:23:16 +00:00
Yannick Torres
3bf19a0f46 New translation
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@309194 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-13 21:57:08 +00:00