-
- Notifications
You must be signed in to change notification settings - Fork 264
translated most of c-api/file.po #385
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
christopheNan left a comment
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.
Merci pour cette contribution.
Certaines remarques sont générales (espaces insécables avant la ponctuation, renvoie pour return)
c-api/file.po Outdated
| "`io` APIs instead." | ||
| msgstr "" | ||
| "Ces API sont une émulation minimale de l'API C Python2 pour les objets " | ||
| "fichier natifs, qui sont utilisés pour dépendre du support de l'E/S mise en " |
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.
qui reposaient sur la gestion des entrées-sorties avec tampon (:c:type:FILE\\*) de la bibliothèque standard C.
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.
corrigé
c-api/file.po Outdated
| "Ces API sont une émulation minimale de l'API C Python2 pour les objets " | ||
| "fichier natifs, qui sont utilisés pour dépendre du support de l'E/S mise en " | ||
| "tampon (:c:type:`FILE\\*`) de la bibliothèque standard C. En Python3, les " | ||
| "fichier et les flux utilisent le nouveau module :mod:`io`, qui définit " |
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.
les fichiers
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.
corrigé
c-api/file.po Outdated
| "tampon (:c:type:`FILE\\*`) de la bibliothèque standard C. En Python3, les " | ||
| "fichier et les flux utilisent le nouveau module :mod:`io`, qui définit " | ||
| "plusieurs couches par dessus l'E/S bas niveau sans tampon du système " | ||
| "d'exploitation. Les fonctions définies ci-dessous sont des enveloppe C 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.
Les fonctions définies ci-dessous, écrites en C, encapsulent ces nouvelles APi pour les rendre plus faciles d'utilisation
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.
corrigé
c-api/file.po Outdated
| "failure. For a more comprehensive description of the arguments, please refer " | ||
| "to the :func:`io.open` function documentation." | ||
| msgstr "" | ||
| "Crée un objet fichier Python depuis le descripteur d'un fichier déjà ouvert " |
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.
s/depuis/à partir 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.
corrigé
c-api/file.po Outdated
| msgstr "" | ||
| "Crée un objet fichier Python depuis le descripteur d'un fichier déjà ouvert " | ||
| "*fd*. Les arguments *name*, *encoding*, *errors* et *newline* peuvent être " | ||
| "*NULL* pour utiliser ceux par défaut; *buffering* peut être *-1* 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.
il manque une espace insécable avant le point-virgule.
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.
corrigé
c-api/file.po Outdated
| "*p*. *p* peut être un objet fichier ou n'importe quel objet qui possède une " | ||
| "méthode :meth:`~io.IOBase.readline`. Si *n* est ``0``, une seule ligne est " | ||
| "lue, indépendamment de la taille de la ligne. Si *n* est plus grand que " | ||
| "``0``, un maximum de *n* octets seront lus en provenance du fichie; une " |
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.
s/fichie/fichier /
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.
corrigé
c-api/file.po Outdated
| "instead of the :func:`repr`. Return ``0`` on success or ``-1`` on failure; " | ||
| "the appropriate exception will be set." | ||
| msgstr "" | ||
| "Écrit l'objet *obj* dans l'objet fichier *p*. Le seul drapeau supporté 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.
s/Le seul drapeau supporté/La seule option gérée/
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.
corrigé
c-api/file.po Outdated
| "*flags* est :const:`Py_PRINT_RAW`; si défini, l'attribut :func:`str` de " | ||
| "l'objet est écrit à la place de l'attribut :func:`repr`. Retourne ``0`` en " | ||
| "cas de succès ou ``-1`` en cas échec; l'exception appropriée sera mise en " | ||
| "place." |
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.
s/mise en place/levée/ ?
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.
corrigé, mais je ne suis pas sûr étant donné que l'anglais préfèrera raise pour lever une exception
c-api/file.po Outdated
| "Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on " | ||
| "failure; the appropriate exception will be set." | ||
| msgstr "" | ||
| "Écrit la chaîne de caractère *s* dans l'objet fichier *p*. Retourne ``0`` en " |
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.
caractères
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.
corrigé
c-api/file.po Outdated
| msgstr "" | ||
| "Cette fonction, équivalente à ``p.readline([n])``, lit une ligne de l'objet " | ||
| "*p*. *p* peut être un objet fichier ou n'importe quel objet qui possède une " | ||
| "méthode :meth:`~io.IOBase.readline`. Si *n* est ``0``, une seule ligne est " |
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.
Si n vaut 0.
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.
corrigé
| pospell whines on "l'API" by error, I have to fix it, I'll fix pospell first and merge then. |
| Fixé et mergé, merci pour ta PR @laenNoCode ! |
a little part of the file is a bit suspicious, but most of the job is done