-
Notifications
You must be signed in to change notification settings - Fork 266
Translation of windows.po #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's good for a first review, thank you.
I have post some comments (in french) and noticed a few errors.
extending/windows.po
Outdated
@@ -30,6 +30,12 @@ msgid "" | |||
"programmer interested in producing software which can be successfully built " | |||
"on both Unix and Windows." | |||
msgstr "" | |||
"Ce paragraphe explique rapidement comment créer un module d'extension Windows " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je n'aurais pas utilisé le terme « paragraphe », il me semble que c'est ici de toute la page qu'il est question.
extending/windows.po
Outdated
@@ -38,6 +44,10 @@ msgid "" | |||
"still need the C compiler that was used to build Python; typically Microsoft " | |||
"Visual C++." | |||
msgstr "" | |||
"Les auteurs de modules sont invités à utiliser l'approche distutils pour " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Peut-être passer « distutils » en italique ?
extending/windows.po
Outdated
@@ -48,10 +58,16 @@ msgid "" | |||
"working with. For example, if you are using Python 2.2.1, ``XY`` will " | |||
"actually be ``22``." | |||
msgstr "" | |||
"Ce paragraphe mentionne plusieurs noms de fichiers comprenant un numéro de " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem pour « paragraphe ».
extending/windows.po
Outdated
@@ -48,10 +58,16 @@ msgid "" | |||
"working with. For example, if you are using Python 2.2.1, ``XY`` will " | |||
"actually be ``22``." | |||
msgstr "" | |||
"Ce paragraphe mentionne plusieurs noms de fichiers comprenant un numéro de " | |||
"version Python encodé. Ces noms de fichiers sont construits sous le format " | |||
"de version "XY" ; en pratique, ``'X'`` représente le numéro de version majeure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi avoir remplacé «``XY``» par « "XY" » ? Je ne suis pas sûr que ça passe bien la compilation.
extending/windows.po
Outdated
"Il y a deux approches lorsque l'on construit des modules d'extension sur " | ||
"Windows, tout comme sur Unix : utiliser le paquet :mod:`distutils` pour " | ||
"contrôler le processus de construction, ou faire les choses manuellement." | ||
"L'approche distutils fonctionne bien pour la plupart des extensions; la " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Italique ?
+ espace (insécable) avant le point virgule.
extending/windows.po
Outdated
"Supposons que vous construisez deux modules de chargement dynamiques, B et C, " | ||
"qui ne devraient pas partager un autre bloc de code avec A. Sur Unix, vous ne " | ||
"transmettrez pas :file:`A.a` au lieur pour :file:`B.so` et :file:`C.so` ; cela" | ||
"le ferrait être inclus deux fois, pour que B et C aient chacuns leur propre " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« ferrait » → « ferait »
extending/windows.po
Outdated
"est comme un fichier Unix :file:`.a` ; elle contient du code pouvant être " | ||
"inclus si nécessaire. Une librairie d'import est uniquement utilisée pour " | ||
"rassurer le lieur qu'un certain identificateur est légal, et sera présent dans" | ||
"le programme quand le DLL est chargé. Comme ça le lieur utilise les " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le masculin sur « DLL » c'est pour « fichier DLL » ? Je trouve ça un peu déroutant.
extending/windows.po
Outdated
|
||
#: ../Doc/extending/windows.rst:108 | ||
msgid "" | ||
"Windows Python is built in Microsoft Visual C++; using other compilers may " | ||
"or may not work (though Borland seems to). The rest of this section is MSVC+" | ||
"+ specific." | ||
msgstr "" | ||
"Windows Python est construit en Microsoft Visual C++ ; utiliser d'autres " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« Windows Python » → « Le Python de Windows » ?
extending/windows.po
Outdated
|
||
#: ../Doc/extending/windows.rst:108 | ||
msgid "" | ||
"Windows Python is built in Microsoft Visual C++; using other compilers may " | ||
"or may not work (though Borland seems to). The rest of this section is MSVC+" | ||
"+ specific." | ||
msgstr "" | ||
"Windows Python est construit en Microsoft Visual C++ ; utiliser d'autres " | ||
"compilateurs pourrait fonctionner, ou pas (cependant Borland a l'air de " | ||
"fonctionner). The reste de cette section est spécifique à MSVC++." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« The » → « Le » 😛
extending/windows.po
Outdated
@@ -187,3 +275,8 @@ msgid "" | |||
"the Project Settings dialog, Link tab, to specify *ignore default " | |||
"libraries*. Add the correct :file:`msvcrtxx.lib` to the list of libraries." | |||
msgstr "" | |||
"Le studio de développeur apportera beaucoup de librairies d'import dont vous" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est bizarre ce « Developer Studio » avec les majuscules, ça fait plutôt nom de programme, je ne suis pas sûr que ce soit à traduire.
Bonsoir, merci pour la mise en évidence des coquilles et traductions maladroites! |
extending/windows.po
Outdated
"Cette page explique rapidement comment créer un module d'extension Windows " | ||
"pour Python en utilisant Microsoft Visual C++, et donne plus d'informations " | ||
"contextuelles sur son fonctionnement. Le texte explicatif est utile tant pour " | ||
"le programmateur Windows qui apprend à construire des extensions Python que " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« programmateur » → « développeur » (C'est pas écrit Gardena sur mon front).
extending/windows.po
Outdated
"pour Python en utilisant Microsoft Visual C++, et donne plus d'informations " | ||
"contextuelles sur son fonctionnement. Le texte explicatif est utile tant pour " | ||
"le programmateur Windows qui apprend à construire des extensions Python que " | ||
"pour le programmateur Unix souhaitant produire des logiciels pouvant être " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pareil, je préfère développeur
extending/windows.po
Outdated
@@ -64,17 +80,30 @@ msgid "" | |||
"project file for the :source:`winsound <PCbuild/winsound.vcxproj>` standard " | |||
"library module." | |||
msgstr "" | |||
"Il y a deux approches lorsque l'on construit des modules d'extension sur " | |||
"Windows, tout comme sur Unix : utiliser le paquet *:mod:`distutils`* pour " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comme le disait Antoine, il faut mettre les noms en italique, mais là avec le tag :mod:
il est déjà visuellement bien différent du reste, donc là, pas besoin d'italique, désolé pour le ping-pong :)
extending/windows.po
Outdated
"Il y a deux approches lorsque l'on construit des modules d'extension sur " | ||
"Windows, tout comme sur Unix : utiliser le paquet *:mod:`distutils`* pour " | ||
"contrôler le processus de construction, ou faire les choses manuellement." | ||
"L'approche distutils fonctionne bien pour la plupart des extensions ; la " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il semble manquer un espace après le point, avant la majuscule.
"Sur Unix, un fichier objet partagé (:file:`.so`) contient du code servant au " | ||
"programme, ainsi que les noms des fonctions et les données que l'on s'attend " | ||
" à trouver dans le programme. Quand le fichier est attaché au programme, " | ||
"toutes les réferences à ces fonctions et données dans le code du fichier sont" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sontmodifiés" il manque un espace, quel éditeur utilise-tu ? Vé ? Si tu utilise Vé il y a un bug sur les espaces entre chaînes, je te conseille soit d'aller réparer Vé, soit de l'abandonner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notepad++ haha ¯_(ツ)_/¯
extending/windows.po
Outdated
@@ -119,6 +167,17 @@ msgid "" | |||
"will need to be used for all future DLLs that depend on the symbols in the " | |||
"application or DLL." | |||
msgstr "" | |||
"Sur Windows, il y a deux types de bibliothèques, une bibliothèque statique et une " | |||
"bibliothèque d'import (toutes deux appelées :file:`.lib`). Une bibliothèque statique" | |||
"est comme un fichier Unix :file:`.a` ; elle contient du code pouvant être " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« statiqueest » il manque un espace.
extending/windows.po
Outdated
"est comme un fichier Unix :file:`.a` ; elle contient du code pouvant être " | ||
"inclus si nécessaire. Une bibliothèque d'import est uniquement utilisée pour " | ||
"rassurer le lieur qu'un certain identificateur est légal, et sera présent dans" | ||
"le programme quand la DLL est chargé. Comme ça le lieur utilise les " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« dansle »
extending/windows.po
Outdated
"Supposons que vous construisez deux modules de chargement dynamiques, B et C, " | ||
"qui ne devraient pas partager un autre bloc de code avec A. Sur Unix, vous ne " | ||
"transmettrez pas :file:`A.a` au lieur pour :file:`B.so` et :file:`C.so` ; cela" | ||
"le ferait être inclus deux fois, pour que B et C aient chacuns leur propre " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« celale »
extending/windows.po
Outdated
"La première commande a créé trois fichiers : :file:`spam.obj`, :file:`spam." | ||
"dll` et :file:`spam.lib`. :file:`Spam.dll` ne contient pas de fonctions Python" | ||
" (telles que :c:func:`PyArg_ParseTuple`), mais il sait comment trouver le code" | ||
"Python grâce à :file:`pythonXY.lib`." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« codePython »
@@ -187,3 +276,8 @@ msgid "" | |||
"the Project Settings dialog, Link tab, to specify *ignore default " | |||
"libraries*. Add the correct :file:`msvcrtxx.lib` to the list of libraries." | |||
msgstr "" | |||
"Developer Studio apportera beaucoup de bibliothèques d'import dont vous " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« Developer Studio » en italique ?
Quel éditeur utilise-tu ? Je suis surpris des problèmes de concaténations entre lignes, ça me rappelle Vé, ou alors tu édite ça à la main ? Si tu les édite à la main, je te conseille de plutôt utiliser poedit :) |
Merci pour les retour et conseils vis à vis de l'éditeur, je vais jeter un coup d’œil à poedit! :) |
extending/windows.po
Outdated
"contextuelles sur son fonctionnement. Le texte explicatif est utile tant pour " | ||
"le développeur Windows qui apprend à construire des extensions Python que " | ||
"pour le développeur Unix souhaitant produire des logiciels pouvant être " | ||
"construits sur Unix et Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il manque un point final et le guillemet fermant.
@JulienPalard , petite question : Je vois que des changements sont requis de ta part, mais je n'arrive pas à voir quoi (cf image)... Est-ce toujours d'actualité ou est-ce un commentaire qui a déjà été pris en compte? Merci, Valérian |
C'est bon pour moi, et c'est mergé. Attention à ne pas réutiliser ta branche, j'ai squash, 3.6 à donc divergé en intégrant tes modifications. Tu devrais (comme toujours en fait) checkout la 3.6, pull pour te mettre à jour, et créer une nouvelle branche à partir de là. Tu peux supprimer ta branche, elle ne sera plus utile. |
Merci! Par contre, je viens de voir ton mail, et entre temps j'ai fait une nouvelle PR pour index.po , qui je présume doit présenter le même problème du coup...:/ |
Closes #66 Co-authored-by: Mathias Laurin <Mathias.Laurin+github.com@gmail.com> Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/88 Co-authored-by: Synss <mathias.laurin+afpy.org@gmail.com> Co-committed-by: Synss <mathias.laurin+afpy.org@gmail.com>
First PR to check if I'm doing things right.
Just modified one document so far, extending>windows.po