Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tuto inputoutput#332

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JulienPalard merged 5 commits intopython:3.7frompshop:pshop
Oct 4, 2018
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
tuto inputoutput
  • Loading branch information
@pshop
pshop committedOct 4, 2018
commitafb088e21c0a3039d42cdcd676d4caee5d4b73ab
3 changes: 2 additions & 1 deletionREADME.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -219,7 +219,7 @@ identifier identifiant
immutable immuable
interpreter interpréteur
library bibliothèque
list comprehension liste en compréhension (liste enintension est
list comprehension liste en compréhension (liste enintensions est
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

On parlait dus au milieu du mot þ

valide, mais nous ne l'utilisons pas)
little-endian, big-endian `petit-boutiste, gros-boutiste
<https://fr.wikipedia.org/wiki/Endianness>`_
Expand All@@ -237,6 +237,7 @@ socket *socket*
statement instruction
thread fil d'exécution
underscore tiret bas, *underscore*
expression expression
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Dans la colonnefrançais leexpression n'est pas aligné avec les autres termes.

========================== ===========================================


Expand Down
37 changes: 31 additions & 6 deletionstutorial/inputoutput.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,14 +6,14 @@ msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-03 17:52+0200\n"
"PO-Revision-Date: 2018-08-03 19:14+0200\n"
"PO-Revision-Date: 2018-10-04 10:41+0200\n"
"Last-Translator: \n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.4\n"
"X-Generator: Poedit 2.1.1\n"

#: ../Doc/tutorial/inputoutput.rst:5
msgid "Input and Output"
Expand DownExpand Up@@ -53,6 +53,9 @@ msgid ""
"simply printing space-separated values. There are several ways to format "
"output."
msgstr ""
"Souvent vous voudrez plus de contrôle sur le formatage de vos sorties et "
"aller au delà d’un affichage de valeurs séparées par des espaces. Il y a "
"plusieurs moyens de les formater."

#: ../Doc/tutorial/inputoutput.rst:25
msgid ""
Expand All@@ -61,6 +64,11 @@ msgid ""
"Inside this string, you can write a Python expression between ``{`` and ``}"
"`` characters that can refer to variables or literal values."
msgstr ""
"Pour utiliser :ref: `les expressions formatées <tut-f-strings>`, commencez "
"une chaine de caractère avec ``f``ou ``F`` avant d’ouvrir vos guillemets "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Il manque un espace entre `` etou.

"doubles ou triples. Dans ces chaines de caractère, vous pouvez entrer des "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/caractère/caractères/

"expressions Python entre les caractères ``{``et ``}`` qui peuvent contenir "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Il manque un espace entre `` etet.

"des variables ou des valeurs littérales."

#: ../Doc/tutorial/inputoutput.rst:36
msgid ""
Expand All@@ -69,6 +77,11 @@ msgid ""
"substituted and can provide detailed formatting directives, but you'll also "
"need to provide the information to be formatted."
msgstr ""
"La méthode :meth: `str.format` sur les chaines de caractères exige un plus "
"grand effort manuel. Vous utiliserez toujours les caractères ``{``et ``}"
"``pour indiquer où une variable sera substituée et donner des détails sur "
"son formatage, mais vous devrez également fournir les informations à "
"formater."

#: ../Doc/tutorial/inputoutput.rst:48
msgid ""
Expand All@@ -90,7 +103,7 @@ msgstr ""
"Lorsque qu'un affichage basique suffit, pour afficher simplement une "
"variable pour en inspecter le contenu, vous pouvez convertir n'importe "
"quelle valeur en chaîne de caractères en utilisant la fonction :func:`repr` "
"ou la fonction :func:`str`.\n"
"ou la fonction :func:`str`."

#: ../Doc/tutorial/inputoutput.rst:57
msgid ""
Expand DownExpand Up@@ -132,7 +145,7 @@ msgstr ""

#: ../Doc/tutorial/inputoutput.rst:98
msgid "Formatted String Literals"
msgstr ""
msgstr "Les chaines de caractère formatées (*f-strings*)"

#: ../Doc/tutorial/inputoutput.rst:100
msgid ""
Expand All@@ -141,6 +154,10 @@ msgid ""
"prefixing the string with ``f`` or ``F`` and writing expressions as "
"``{expression}``."
msgstr ""
":ref:`Les chaines de caractère formatées <f-strings>` (aussi appelées f-"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Mets le f-strings entre* pour le mettre en italique.

"strings) vous permettent d’inclure la valeur d’expressions Python dans des "
"chaines de caractères en les préfixant avec ``f`` ou ``F`` et écrire des "
"expressions comme ``{expression}``."

#: ../Doc/tutorial/inputoutput.rst:105
msgid ""
Expand All@@ -166,16 +183,21 @@ msgid ""
"a'`` applies :func:`ascii`, ``'!s'`` applies :func:`str`, and ``'!r'`` "
"applies :func:`repr`::"
msgstr ""
"D’autres modificateurs peuvent être utilisés pour convertir la valeur avant "
"son formatage. ``’!a’`` applique :func:`ascii`, ``’!s’`` applique :func:"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

à l'intérieur des blocs entre double backticks, c'est du code Python :

Dans le msgid, le'!s' est du python valide, c'est une chaîne de caractère contenant ! et s, mais dans ta traduction’!a’ n'est pas du Python valide : Python n'accepte pas U+2019 comme délimiteur de chaînes de caractères.

"`str`, and ``’!r’`` applique :func:`repr`::"

#: ../Doc/tutorial/inputoutput.rst:133
msgid ""
"For a reference on these format specifications, see the reference guide for "
"the :ref:`formatspec`."
msgstr ""
"Pour une référence sur ces spécifications de formats, voir le guide de "
"référence pour les :ref:`formatspec`."

#: ../Doc/tutorial/inputoutput.rst:139
msgid "The String format() Method"
msgstr ""
msgstr "La méthode de chaine de caractères format()"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Mets peut être format() entre double backticks, vu que c'est du code, ça évitera aussi de faire paniquer le correcteur d'orthographe (Qui semble ne pas l'avoir repéré ce coup ci, ...)


#: ../Doc/tutorial/inputoutput.rst:141
msgid "Basic usage of the :meth:`str.format` method looks like this::"
Expand DownExpand Up@@ -224,7 +246,7 @@ msgid ""
"This could also be done by passing the table as keyword arguments with the "
"'**' notation. ::"
msgstr ""
"vous pouvez obtenir le même résultat en passant le tableau comme des "
"Vous pouvez obtenir le même résultat en passant le tableau comme des "
"arguments nommés en utilisant la notation ``**`` ::"

#: ../Doc/tutorial/inputoutput.rst:186
Expand All@@ -240,6 +262,9 @@ msgid ""
"As an example, the following lines produce a tidily-aligned set of columns "
"giving integers and their squares and cubes::"
msgstr ""
"A titre d’exemple, les lignes suivantes produisent un ensemble de colonnes "
"alignées de façon ordonnée donnant les entiers, leurs carrés et leurs "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/ordonnée/propre/ ? ou convenablement ?

"cubes ::"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

J'ignore (github ne le montre pas) si tu as mis un espace insécable ou non avant le::.

En rst,:: collé à un mot affiche: au rendu, mais:: après un espace n'affiche PAS: au rendu. Il y a donc deux possibilités pour traduire::, soit : :: (donc un espace, un deux-point, puis le :: qui ne sera pas affiché). Ou un espace insécable suivi de::.


#: ../Doc/tutorial/inputoutput.rst:206
msgid ""
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp