1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-25 15:42:16 +01:00

56 Commits

Author SHA1 Message Date
Louis-Arnaud
3823a2f469 Review some translation
i.e. → c.-à-d., e.g. → p. ex., accents sur majuscules (À, É, Ç),
ligatures (cœur, sœur, nœud, œuvre, manœuvres), accords genre/nombre,
conjugaisons, typos (verrouillage, milliseconde, aléatoire), etc.
2026-02-25 21:01:23 +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
d43a340994 Fr translation error (#2470) 2026-02-15 21:44:26 +01:00
Louis-Arnaud
b0b629b939 fix: correction de ~85 fautes de français dans 68 fichiers (#2461)
Corrections orthographiques et grammaticales :
- charactère -> caractère (5)
- occurence -> occurrence (2)
- élement/élements -> élément/éléments (5)
- complétement -> complètement (2)
- éxécution/éxécuté -> exécution/exécuté (11)
- controlleur -> contrôleur (4)
- celà -> cela (7)
- en terme de -> en termes de (16)
- par conséquence -> par conséquent (3)
- au delà -> au-delà (5)
- inclut (participe passé) -> inclus/incluse (6)
- arguement -> argument (3)
- érreur/main -> erreur/mais (2)
- alouer -> allouer (2)
- empaqueter -> empaquetée (1)
- fonctionalité -> fonctionnalité (1)
- ammener -> amener (1)
- idenfiants -> identifiants (1)
- peux -> peut (2)
- Error -> Erreur (1)
- en deça -> en deçà (1)
- peut être -> peut-être (1)
- la l'heure -> l'heure (1)
- n'existant pas (négation manquante) (1)
2026-02-09 12:27:13 +01:00
David CARLIER
c3fe7abf43 array sync with EN (#1999) 2025-01-15 12:47:53 +00:00
Pierrick Charron
3fa445be99 Sync reference/array/functions 2023-02-21 01:33:54 -05:00
Pierrick Charron
6c62165d29 Add new rule for hyphens rules in french and fixes 2022-05-27 17:46:58 -04:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
cd35f9d6ad Sync section order with EN (first pass) 2021-06-07 16:27:05 +01:00
George Peter Banyard
342815906c Apply SVN revision 351860
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351882 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 19:13:26 +00:00
George Peter Banyard
2d492101ab First batch of syncing French translation with English revision after removal of PHP 5 docs.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@350665 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-27 00:07:21 +00:00
George Peter Banyard
b17d4aba70 Adding review tags
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@347785 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-22 01:21:44 +00:00
George Peter Banyard
f5d20335d4 Small text correction in French translation.
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@347648 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-23 00:45:51 +00:00
Jean-Baptiste Nahan
335e2e1fee Updated french translation to match EN revision.
-- 
Provided by anonymous 94980 ()

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@346176 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-05 16:57:28 +00:00
Jean-Baptiste Nahan
e02572613d Mise à jour de la partie Array
-- 
Provided by anonymous 87182 (david.annebicque@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@343449 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-22 21:42:40 +00:00
Yannick Torres
f0280bbc9e sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@334447 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-01 06:25:59 +00:00
Yannick Torres
99ac40ee50 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@333514 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-12 14:37:42 +00:00
Yannick Torres
ae64f0a6c0 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@332673 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-19 16:07:13 +00:00
Yannick Torres
0a10390aad Fix some errors
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@314190 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-03 15:55:38 +00:00
JulienPauli
286d5f3689 Sync doc with En
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@313764 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-27 09:09:21 +00:00
Yannick Torres
af75d66256 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@307566 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-18 22:39:09 +00:00
JulienPauli
f215006d72 Sync doc with En
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@302744 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-24 15:57:52 +00:00
JulienPauli
fd4e205960 Sync doc with En
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@301659 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 17:34:54 +00:00
Yannick Torres
f560d1b2bd Sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@297663 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 23:24:03 +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
c1429940da changed EN-Revision tag as cvs2svn;
fixed svn properties

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@283966 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-12 19:03:26 +00:00
Damien Seguy
7b2fef70da fix methodsynopsis
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@282147 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-15 08:55:42 +00:00
Damien Seguy
92465c4766 synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@280701 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-18 09:41:39 +00:00
Damien Seguy
74bc028eee synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@277806 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-26 08:59:31 +00:00
Damien Seguy
227a38d06e synch with en
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@275813 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-14 09:11:14 +00:00
Yannick Torres
fde72b72c5 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@275727 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-13 06:18:03 +00:00
Yannick Torres
11d99ab12e sync with EN
# new editor tools


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@274002 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-20 05:48:14 +00:00
Yannick Torres
4a5535bd7f sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@271134 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-13 13:20:37 +00:00
Yannick Torres
422b00c910 sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@254492 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-07 14:32:42 +00:00
Yannick Torres
4ebb38c27e sync with EN (docBook update)
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@240058 c90b9560-bf6c-de11-be94-00142212c4b1
2007-07-21 06:10:22 +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
David Manusset
23cd840b12 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@223533 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-17 16:06:57 +00:00
Jean-Sébastien Goupil
dcbd76b0cc sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@222717 c90b9560-bf6c-de11-be94-00142212c4b1
2006-11-03 12:03:58 +00:00
Yannick Torres
2e83a9ead5 add reviewed tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@218951 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-27 20:25:35 +00:00
Damien Seguy
40e232645b cela` vers cela
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@176035 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-30 13:47:49 +00:00
Yannick Torres
3c0f5fefbb use more entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@171861 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 17:48:59 +00:00
Yannick Torres
e0f8a7032f sync nb <simpara> with EN
add missing simpara para
typos
wz


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@167642 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-30 15:01:30 +00:00
Yannick Torres
48f64b97be more &example.outputs; entities
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@163885 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-21 12:47:59 +00:00
Mehdi Achour
ab9333825e mise a jour du nick et du status pour array/functions
# sync fait par dams


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@160449 c90b9560-bf6c-de11-be94-00142212c4b1
2004-06-03 07:29:52 +00:00
Damien Seguy
3173829d50 minors cosmetics
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@157908 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-04 14:08:25 +00:00
Mehdi Achour
1ac31c7411 Adding the EN-Revision comment
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152276 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-24 18:15:13 +00:00
Mehdi Achour
c1a709fa5c Missing revision tag
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@152273 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-24 17:42:21 +00:00
Mehdi Achour
14e74d6942 1 - on indente correctement
2 - on ne met pas d'accents bizarres
 3 - on respecte les syntaxe pour les exemples, la voici :
<para>
 <example>
  <title />
  <programlisting>

  </programlisting>
  <para>
   Ca va afficher :
  </para>
  <screen>

  </screen>
  <para>
   Et si on veut un petit mot ici
  </para>
 </example>
</para>


git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@149404 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-21 13:29:25 +00:00