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

105 Commits

Author SHA1 Message Date
Louis-Arnaud
dba3c37f82 Fix grammar and spelling in sync/, stream/ and sqlite3/ documentation (#2657) 2026-03-12 09:37:27 +01:00
Louis-Arnaud
1c3742e5af Proofreading: (TRADUCTIONS.txt) 2026-03-02 13:40:31 +01:00
Louis-Arnaud
afd4302b76 Corrections de traduction reference n-s (#2557) 2026-02-28 23:16:05 +01:00
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
5755a1bd8c Style impersonnel dans reference/ (a-d) (#2539)
* style: remplacer vous/votre/vos par style impersonnel dans reference/[a-d]*
2026-02-25 11:54:29 +01:00
Louis-Arnaud
e0759083e3 Translation review 2026-02-19 20:01:29 +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
8d56433810 Corrections dans reference (#2469) 2026-02-13 22:44:03 +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
36ab8eaf07 fix: correction de ~196 fautes de français dans 119 fichiers (#2462)
Accents manquants/erronés : éxécut→exécut (14), Echec→Échec (47),
Établit (5), entrainant→entraînant (7), complétement→complètement (2),
intéractif→interactif (4).

Orthographe : charactère, controlleur, occurence, arguement, parmètre,
Contructeur, certerficat, stoquer, chadellier, idenfiants, changlog,
prennant, ammener, alouer, etc.

Grammaire : en terme de→en termes de (16), au delà→au-delà (5),
en deça→en deçà (2), inclue→inclut/incluse (14), fait parti→fait
partie (5), accords divers.

Anglicismes : digital→numérique (8), versatile→polyvalent (1).

Divers : celà→cela (7), Ca→Ça, peux→peut, Créée→Crée, etc.
2026-02-09 13:24:04 +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
7b032a2026 Various sync with en (22583751fbfdaa3eaa41aeb6470d1343f5cb2c78) (#2045) 2025-02-07 14:32:41 +01:00
David CARLIER
673a112d80 sqlite3 sync with EN (#1924) 2024-12-09 09:06:47 +00:00
Pierre Ambroise
355a3cfc5b Translate missing SQLite3 files (#1373) 2024-08-27 20:46:11 +01:00
David CARLIER
269393975d Various md5 hash sync with EN (#1093) 2024-08-01 05:41:31 +01:00
David CARLIER
b234362e89 various setups sync with EN (#1069) 2024-07-27 21:14:52 +01:00
David CARLIER
c4b0832810 SQLite3 update rev id (#986) 2024-06-15 16:10:24 +01:00
Gina Peter Banyard
24f1f05b10 Apply commit from doc-en PR 3422 2024-06-14 17:01:42 +01:00
David CARLIER
b584e51da2 SQLite3 section sync with EN (#890) 2024-04-18 21:01:32 +01:00
Gina Peter Banyard
c9e3c6e57a Run script from doc-en PR 3212 2024-02-29 15:15:37 +00:00
David CARLIER
100f4f6fd6 SQLITE3 section sync with EN (#810) 2024-02-23 18:12:55 +00:00
Gina Peter Banyard
d26f887799 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 13:54:28 +00:00
David CARLIER
fb171d7515 Add link to SQLite3Exception (#753) 2024-01-18 12:19:33 +00:00
Gina Peter Banyard
4191ef7ba4 Fix various issues founds via the translator QA tools 2023-12-15 03:24:47 +00:00
Pierre Josselin
6a968d7a86 Fix a typo in sqlite3 reference (#651) 2023-10-30 11:25:05 +00:00
Pierrick Charron
e39dacc6c6 Sync commit 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 (#605) 2023-08-31 18:11:48 +01:00
David CARLIER
9629f53e71 sqlite3 sync (#465) 2023-05-26 17:25:36 +01:00
George Peter Banyard
6fd57c2052 Apply commit 855bfee2f3db70d7dbb4c60c7c4a4efa567f1c60 2022-12-11 21:54:15 +00:00
George Peter Banyard
cceb9e66bd Sync SQLite3 INI setting docs 2022-10-01 22:23:29 +01:00
Sergey Panteleev
cc5c4441ed Apply php/doc-en@c44e9cb (#195) 2022-04-07 12:41:13 +01:00
Sergey Panteleev
8dc9cf3fcc Sync mysqli and other docs to English (#151)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-01-13 11:58:17 +00:00
Sergey Panteleev
6aa0462c4d Sync with English docs (#123) 2021-11-17 13:09:15 +00:00
George Peter Banyard
990ddcbfa8 Add missing EOL before end of file 2021-09-24 04:13:47 +01:00
George Peter Banyard
fc55144f1c Apply commit 7f99d5e488d161ce3b12d1dae405a283728933c3
Remove some unnecessary methodsynopsis role attributes
2021-09-14 14:18:16 +01:00
Anna Filina
43cea4b930 reference/sqlite3/sqlite3/lastinsertrowid (#93)
Based on diff: http://doc.php.net/revcheck.php?p=plain&lang=fr&hbp=af4410a7e15898c3dbe83d6ea38246745ed9c6fb&f=reference/sqlite3/sqlite3/lastinsertrowid.xml&c=on

Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-01 17:26:21 +02:00
George Peter Banyard
2a1f1280b9 Use standard type element instead of entity 2021-06-03 01:59:22 +01:00
bohwaz
ee44aa6f4c Fix constant name 2021-06-02 06:28:56 +01:00
George Peter Banyard
207d6996ac Remove PHP 5 mentions
And other small drive-by fixes
2021-05-20 18:11:37 +01:00
Fabien Villepinte
d64daf7fb7 Replace function by fonction 2021-01-31 13:39:18 +00: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
Bruno Veyckemans
2f0819de89 fix typos for "fonctionnalité" 2021-01-08 02:50:08 +00:00
George Peter Banyard
4955dc5cf0 Apply commit d15a12639faeb8d1b4bcf7eff008de2885017d1e
Generate sqlite3 methodsynopses based on stubs
2021-01-04 01:55:32 +01:00
George Peter Banyard
cfc6f11c15 Update some EN revision number after commit revert
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351749 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 15:30:15 +00:00
George Peter Banyard
61b9bbf4bd Apply SVN revision 351135 onto French docs using diff generated from this command:
git diff --no-prefix b95d28e6ec86e4a71e012737d36ebdc1cf009180^ b95d28e6ec86e4a71e012737d36ebdc1cf009180 > somefile.diff
and applying it using
patch -p0 < somefile.diff

Updated EN Revision numbers manually

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351201 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 22:11:37 +00:00
George Peter Banyard
230026e81b Update French translations to use entity for canonical types instead of weird translation
Note: the entities currently are in French but redirect to the corresponding type pages.

git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@351200 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-03 20:45:51 +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
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
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