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

93 Commits

Author SHA1 Message Date
Louis-Arnaud
153dc91bb8 Fix grammar and spelling in reflection/ documentation (#2641) 2026-03-11 21:07:54 +01:00
Louis-Arnaud
afd4302b76 Corrections de traduction reference n-s (#2557) 2026-02-28 23:16: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
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
4330fb0bdd Fix/reference sync en full (#2467)
- Traduction des entrées de changelog non traduites (is now nullable, is no longer supported, etc.)
- Suppression des lignes anglaises dupliquées (français + anglais sur des lignes consécutives)
- Traduction des descriptions de retour et paramètres non traduits
- Suppression des avertissements &warn.undocumented.func; pour les fonctions documentées
- Correction de fautes de frappe (is→si, c'est→ces)
- Traduction de "and" → "et" dans le texte français (8 fichiers)
- Traduction des entrées de changelog restées en anglais (nullable, etc.) (9 fichiers)
- Suppression du texte anglais non traduit (cubrid constants, yaconf, datetimeimmutable)
- Correction d'une faute de frappe "an" → "en" (bcmath/divmod)
- Traduction d'une description restée en anglais (intl/compose-locale)
2026-02-12 15:44:55 +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
Pierre Ambroise
1f1387caca Various sync with EN 2025-10-13 14:10:39 +02:00
Pierre Ambroise
be89421a04 Sync reflectionclass with EN 2025-10-03 17:26:02 +02:00
Pierre Ambroise
1a744ecc3e Various sync with EN (#2083) 2025-03-04 12:59:34 +01:00
David CARLIER
59a26dc4a6 reflection rev id sync with EN (#1720) 2024-11-11 06:30:49 +00:00
Pierre Ambroise
545182bef1 Change usine to fabrique (#1696) 2024-11-06 20:22:48 +00:00
Pierre Ambroise
6371fe1047 Translate missing ReflectionClass methods (#1694) 2024-11-06 20:10:07 +00:00
Victor
1ad9765f74 sync REFLECTION section (#911) 2024-04-28 10:37:49 +01:00
David CARLIER
da27c6a9d0 reflectionclass rev id fix (#817) 2024-02-24 16:39:51 +00:00
Pierre Ambroise
e8e04df6eb Add translation of missing reflection class methods (#814) 2024-02-23 19:30:44 +00:00
Pierre Ambroise
d7d9513f2f Add translation of ReflectionClass::getAttributes() (#703) 2023-12-16 17:29:26 +00:00
David CARLIER
bdf5230651 reflection section sync with EN (#665) 2023-11-16 05:30:59 +00:00
George Peter Banyard
d08f649f80 Sync reference/reflection with EN 2023-08-15 16:56:25 +01:00
Sergey Panteleev
2604ff95ba Sync various sections with EN (#544)
Co-authored-by: George Peter Banyard <girgias@php.net>
2023-07-06 17:11:34 +01:00
Pierrick Charron
0cea31c1a1 Sync reference/reflection/reflectionclass 2023-04-08 13:46:45 -04:00
George Peter Banyard
38b66ce4f5 Apply commit ec2fe9a592f794978114ef5021db9f1d00c2e05d
Don't update RevCheck for a couple of files that were previously outdated
2022-12-11 23:38:40 +00:00
Sergey Panteleev
626e522c1d Apply php/doc-en@967b478 (#196) 2022-04-08 12:39:41 +01:00
Sergey Panteleev
003d65ec02 Sync various docs with EN (#183)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-03-30 13:09:57 +01:00
Sergey Panteleev
f81af39039 Apply php/doc-en@ab58951 (#189) 2022-03-30 13:02:39 +01:00
Sergey Panteleev
eb40861209 Partially sync docs with English (#138)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-12-20 11:58:38 +00:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
orklah
53d89cb184 fix spelling 2021-07-08 20:10:05 +02:00
George Peter Banyard
030b51dd7b Fix type 'coeur' into 'cœur' 2021-06-08 16:51:07 +01:00
George Peter Banyard
cd35f9d6ad Sync section order with EN (first pass) 2021-06-07 16:27:05 +01:00
George Peter Banyard
61b23f5dde Fix typos in Reflection 2021-06-05 20:12:44 +01:00
George Peter Banyard
207d6996ac Remove PHP 5 mentions
And other small drive-by fixes
2021-05-20 18:11:37 +01:00
George Peter Banyard
09685304ef Sync EN revision tags
These were skipped on my personal revcheck as I hadn't made a tool to generate a batch diff for files with no changes
2021-05-19 19:16:05 +01:00
George Peter Banyard
ced77cb984 Sync Reflection docs with EN 2021-05-04 16:10:56 +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
af603f8ca1 Fix XML errors compared to EN version via online doc editor 2021-04-28 13:36:58 +01:00
George Peter Banyard
a324fed998 Update EN-Revision tag for new rev-check 2021-02-02 01:17:51 +00:00
George Peter Banyard
48c6afeb13 Apply commit 98df2cf9a939729d73adee1484ec05929c74c98b
Generate reflection methodsynopses based on stubs
2021-01-02 17:09:57 +01:00
George Peter Banyard
b65e8265fd Update EN revision tag after patch
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352100 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-15 17:59:31 +00:00
George Peter Banyard
9442b664b3 Update some examples in FR
Provided by villfa

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352098 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-15 17:51:30 +00:00
George Peter Banyard
98fc70e088 Sync various French translations with its English counterpart
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351606 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 22:33:17 +00:00
George Peter Banyard
bbe7e6aa50 Sync various French translations with its English counterpart
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351248 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-05 00:37:25 +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
201ab2125e Apply SVN revision 351129 onto French docs using diff generated from this command:
git diff --no-prefix 9e0f03ac354d797d1d16c0fcc1663e5e170f2727^ 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 > somefile.diff
and applying it using
patch -p0 < somefile.diff

Did another passes when applying it failed and updated EN Revision numbers manually

Drive by fix for the previous application for int|float union in pow() function

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351166 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 05:31:18 +00:00
George Peter Banyard
4d82834aab Update French translation of Reflection extension.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350555 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-12 17:59:31 +00:00
George Peter Banyard
a543ab0b6a Corrige une erreur de frappe dans la documentation
-- 
Provided by anonymous 103096 (thomas@glachant.fr)

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@349687 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-22 14:07:44 +00:00
George Peter Banyard
d45e7c71bc Sync with latest EN revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346999 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-11 20:52:24 +00:00
George Peter Banyard
a8c4c836ba Sync with EN bug fixes
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346909 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-25 23:49:25 +00:00