-
- Notifications
You must be signed in to change notification settings - Fork 264
c-api/buffer #281
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
c-api/buffer #281
Conversation
| Selon travis : Tu peux retrouver l'erreur dans le ".po" en cherchant la chaîne "buffer.rst:121". |
| msgstr "" | ||
| "Pour de brèves instructions sur l'écriture d'un objet exportateur, voir :ref:" | ||
| "`Buffer Object Structures <buffer-structs>`. Pour obtenir un tampon, voir :" | ||
| "c: func:`PyObject_GetBuffer`." |
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 n'y a pas d'espace entre le c: et le func: c'est :
:c:func:`PyObject_GetBuffer` | en passant en anglais see NUL instead of NULL @JulienPalard |
| L'accès pas d'idee ou se trouve l'erreur |
| msgstr "" | ||
| "L'accès ``((char *) buf) [0] up to ((char *) buf) [len-1] `` n'est valide " | ||
| "que si le tampon a été obtenu par une requête qui garantit la contiguïté. " | ||
| "Dans la plupart des cas, une telle requête sera :c:macro: `PyBUF_SIMPLE` ou :" |
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 y a une espace en trop après :c:macro: et avant `PyBUF8SIMPLE`.
Puis, il y a une espace en trop après :c:macro:` et avant PyBUF_WRITABLE`
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.
ah @christopheNan ok je vois
| On est aux sprints à la PyCon Fr je vais essayer de fixer et de merger :) |
| msgstr "" | ||
| "Un pointeur vers le début de la structure logique décrite par les champs " | ||
| "tampons. Cela peut être n'importe quel emplacement dans le bloc de mémoire " | ||
| "physique sous-jacente de l'exportateur. Par exemple, avec negative :c:member:" |
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.
"avec negative" ?
| "Un pointeur vers le début de la structure logique décrite par les champs " | ||
| "tampons. Cela peut être n'importe quel emplacement dans le bloc de mémoire " | ||
| "physique sous-jacente de l'exportateur. Par exemple, avec negative :c:member:" | ||
| "`~ Py_buffer.strides`, la valeur peut pointer vers la fin du bloc de mémoire." |
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 y a un espace de trop entre ~ et Py_buffer.strides.
| "For :term:`contiguous` arrays, the value points to the beginning of the " | ||
| "memory block." | ||
| msgstr "" | ||
| "Pour tableaux :term:`contiguous`, la valeur pointe vers le début du bloc " |
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.
"Pour tableaux" ???
| "standard C-API function." | ||
| msgstr "" | ||
| "Une nouvelle référence à l'objet exportateur. La référence appartient au " | ||
| "consommateur et est automatiquement décrémentée et définie sur * NULL* par :" |
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.
"définie sur * NULL *" ? → s/sur/à/ et pas d'espaces entre les étoiles et NULL.
| "Une nouvelle référence à l'objet exportateur. La référence appartient au " | ||
| "consommateur et est automatiquement décrémentée et définie sur * NULL* par :" | ||
| "c:func:`PyBuffer_Release`. Le champ est l'équivalent de la valeur de retour " | ||
| "de toute fonction C-API standard." |
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.
"de toute fonction C-API standard" -> "De toute fonction de l'API C" ?
| msgstr "" | ||
| "Comme cas particulier, pour les tampons * temporaires* qui sont enveloppés " | ||
| "par :c:func:`PyMemoryView_FromBuffer` ou :c:func:` PyBuffer_FillInfo` ce " | ||
| "champ est * NULL*. En général, l'exportation d'objets NE DOIT PAS utiliser " |
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.
Un espace de trop avant NULL.
| "most cases such a request will be :c:macro:`PyBUF_SIMPLE` or :c:macro:" | ||
| "`PyBUF_WRITABLE`." | ||
| msgstr "" | ||
| "L'accès ``((char *) buf) [0] up to ((char *) buf) [len-1] `` n'est valide " |
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.
Un espace de trop avant le `` fermant.
| "An indicator of whether the buffer is read-only. This field is controlled by " | ||
| "the :c:macro:`PyBUF_WRITABLE` flag." | ||
| msgstr "" | ||
| "Un indicateur indiquant si le tampon est en mode lecture seule. Ce champ 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.
s/Un indicateur/Indicateur/
| "Item size in bytes of a single element. Same as the value of :func:`struct." | ||
| "calcsize` called on non-NULL :c:member:`~Py_buffer.format` values." | ||
| msgstr "" | ||
| "Taille de l'élément en octets d'un seul élément. Identique à la valeur 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.
"Taille de l'élément d'un seul élément" me semble redondant.
| "but :c:member:`~Py_buffer.itemsize` still has the value for the original " | ||
| "format." | ||
| msgstr "" | ||
| "Exception importante: Si un consommateur demande un tampon sans " |
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 espace après "importante".
| Trop de choses à corriger, j'abandonne de fixer moi même et de merger aujourd'hui, je te laisse fixer @Abdur-rahmaanJ . |
| Je te laisse ré-ouvrir une PR une fois fixé. |
No description provided.