1
0
mirror of https://github.com/php/doc-fr.git synced 2026-04-24 23:38:13 +02:00

97 Commits

Author SHA1 Message Date
Louis-Arnaud da73181029 Full review 2026-03-26 10:58:39 +01:00
Louis-Arnaud 8cb249d1e1 Update EN-Revision hashes for recently synced files (#2591) 2026-03-03 10:30:55 +01:00
Louis-Arnaud 7c3b823bfe Fix return type for 5 misc functions: bool -> true (#2589)
* [Sync EN] Fix return type for 5 misc functions: bool -> true

Fixes php/doc-fr#2584
2026-03-03 09:44:19 +01:00
Louis-Arnaud 85adf55bdc Corrections de traduction reference j-m (#2556) 2026-02-28 23:39:44 +01:00
Louis-Arnaud f8a5028e1a Review on french speaking
* Corrections orthographiques et grammaticales (passe 2)

Accents sur majuscules (À, É, Ç), accords genre/nombre, conjugaisons
(on + 3e personne), élisions, contractions, typos, i.e. → c.-à-d.,
doublons de mots, etc.

* Corrections supplémentaires reference/ n-s

Article manquant, adverbe tronqué, accords féminins, subjonctif.
2026-02-25 17:14:05 +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 2b6f75adaa Fix typos, grammar errors, and wrong content across entire documentation (#2490) 2026-02-24 16:01:36 +01:00
Louis-Arnaud e1239c021b Global translation review 2026-02-20 09:45:20 +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 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
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 c5586a843d Sync various sections with EN. (#2338) 2026-01-27 20:57:01 +00:00
guy-teube 00b74deb8a Update constants.xml (#2220)
fix small typo
2025-06-27 15:29:40 +01:00
Pierre Ambroise 07a4d0dd8f Various sync with EN (#2217) 2025-06-23 09:37:08 +02:00
Pierre Ambroise ebff2b6085 Various sync with EN (c1f37a6c270aadbbb3da56a3973ffd62197adf2b) (#2091) 2025-03-07 18:38:02 +01:00
David CARLIER 7adaed4c91 libXML sync with EN (#1845) 2024-11-29 03:29:48 +00:00
David CARLIER 61cb18cc6a various fixes (#1772) 2024-11-19 22:29:20 +00:00
David CARLIER 920fe75d1c libXML sync with EN (#1748) 2024-11-14 13:11:56 +00:00
David CARLIER ccb49b1b2f math sync with EN (#1738) 2024-11-12 20:07:13 +00:00
David CARLIER 507a6d1294 libXML sync with EN (#1737) 2024-11-12 19:34:30 +00:00
David CARLIER 73e34a3d6d libxml sync with EN (#1732) 2024-11-11 20:38:11 +00:00
David CARLIER e013617e07 LibXML sync with EN (#1598) 2024-10-23 19:28:38 +01:00
Pierre Ambroise cff22946de Translate libxml_get_external_entity_loader (#1167) 2024-08-10 15:36:06 +01:00
David CARLIER b234362e89 various setups sync with EN (#1069) 2024-07-27 21:14:52 +01:00
David CARLIER 0173217287 remove constants/configurations/requirements sections (#1042) 2024-07-12 12:44:01 +01:00
Gina Peter Banyard 24f1f05b10 Apply commit from doc-en PR 3422 2024-06-14 17:01:42 +01:00
David CARLIER 6a3ae83498 LibXML reinstate mistakenly removed lines (#945) 2024-05-22 16:20:22 +01:00
David CARLIER 6277f79b65 LibXML sync with EN (#944) 2024-05-21 20:51:57 +01:00
David CARLIER 82a09a0193 LibXML sync with EN (#936) 2024-05-19 22:21:15 +01:00
David CARLIER 8fea0f51c8 Use correct name for LibXMLError (#751) 2024-01-18 12:18:32 +00:00
David CARLIER 6b82f62244 Sync libXML section with EN (#585) 2023-08-18 12:44:05 +01:00
Sergey Panteleev 61054493d2 Sync various sections (#302)
Co-authored-by: David Carlier <devnexen@gmail.com>
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-11-12 19:51:05 +00:00
George Peter Banyard 990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard 8daa4fd322 Fix type 'noeud' into 'nœud' 2021-06-08 16:49:14 +01:00
George Peter Banyard 3dcac01dcf Sync section order with EN (second pass) 2021-06-08 16:43:45 +01:00
George Peter Banyard 2a1f1280b9 Use standard type element instead of entity 2021-06-03 01:59:22 +01:00
George Peter Banyard a29f6f6a8a Sync various function docs with EN 2021-05-04 16:02:39 +01: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 77b6ef2432 Apply commit 5b5bb5d9b3eb2301f2ada74817421e40ae3a1752
Improve libxml_disable_entity_loader() docs
2021-01-20 12:16:40 +00:00
George Peter Banyard 980b2ee1a1 Apply commit 0e06ad7d77756a2f390e14d19b823a42ab65892b
Improve libxml_set_external_entity_loader() docs
2021-01-20 12:12:44 +00:00
George Peter Banyard 144530b433 Update declaration in French translation
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351580 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 16:19:36 +00:00
George Peter Banyard 22d3a5fa7e Use canonical type names
This follow up on 351133 which is the EN equivalent

Commands used to generate this patch is located https://gist.github.com/Girgias/440124551e14c3bc5106c53bc493449e

This was used as the French translation was fully up to date before this change came up and therefore replacing
the EN-Revision is safe

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351172 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 07:44:35 +00:00
George Peter Banyard ba40b3c1e8 Sync various French translations with its English counterpart
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350562 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-13 23:59:29 +00:00
Jean-Baptiste Nahan 13a5eab576 Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@345028 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-16 21:16:23 +00:00
Jean-Baptiste Nahan c57d490327 Mise à jour de la traduction
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@343455 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-24 22:51:06 +00:00
Jean-Sebastien Hedde 23a0b3113e Spelling fixes from anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@341770 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-26 12:47:10 +00:00
Jean-Sebastien Hedde 4dfbd02e11 Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@335892 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-06 12:41:18 +00:00
Simion Onea ec4bf13e24 Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@334776 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 20:58:33 +00:00