Skip to content

Traduction of warnings.po into French is achieved at 100% - #531

Closed
lubenard wants to merge 64 commits into
python:3.7from
lubenard:3.7
Closed

Traduction of warnings.po into French is achieved at 100%#531
lubenard wants to merge 64 commits into
python:3.7from
lubenard:3.7

Conversation

@lubenard

Copy link
Copy Markdown
Contributor

No description provided.

@awecx awecx left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Relu à 50%, je continue demain.

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
"future (ignored by default)."
msgstr ""
"Catégorie de base pour les avertissements concernant les fonctionnalités qui "
"seront obsolètes dans le futur (ignorées par défaut)."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"seront obsolètes dans le futur (ignorées par défaut)."
"seront obsolètes dans le futur (ignorée par défaut)."

Comment thread library/warnings.po Outdated
#: ../Doc/library/warnings.rst:122
msgid "The Warnings Filter"
msgstr ""
msgstr "Le Filtre des Avertissements"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
msgstr "Le Filtre des Avertissements"
msgstr "Le filtre des avertissements"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Je suis d'accord avec toi, je savais pas trop pour les majuscules, vu qu'elles sont dans la version Anglaise

Comment thread library/warnings.po Outdated
msgstr ""
"Avant, :exc:`DeprecationWarning` et :exc:`FutureWarning` se distinguaient "
"selon qu'un élément était entièrement supprimé ou qu'il modifiait son "
"comportement. Ils se distinguent désormais en fonction de leur public cible "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"comportement. Ils se distinguent désormais en fonction de leur public cible "
"comportement. Ils se différencient désormais en fonction de leur public cible "

Je préfère "Différencient" à "Distinguent" mais c'est à toi de voir.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Je vois pas trop la différence entre deux termes, mais j'ai mis "Différencient".

@awecx awecx Jan 13, 2019

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

C'est assez similaire mais je trouve qu'avec "distinguer", on a une (légère) ambigüité : se distinguer veut dire "se mettre à part". On ne sait pas si les deux avertissements sont différents l'un de l'autre ou différents de tous les autres avertissements. Avec "différencier", l'ambigüité tombe.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oui je vois ce que tu veux dire, si il faut corriger je corrigerais

Comment thread library/warnings.po Outdated
"changing its behaviour. They are now distinguished based on their intended "
"audience and the way they're handled by the default warnings filters."
msgstr ""
"Avant, :exc:`DeprecationWarning` et :exc:`FutureWarning` se distinguaient "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"Avant, :exc:`DeprecationWarning` et :exc:`FutureWarning` se distinguaient "
"Avant, :exc:`DeprecationWarning` et :exc:`FutureWarning` se différenciaient "

Comment thread library/warnings.po Outdated
"turned into errors (raising an exception)."
msgstr ""
"Le filtre des avertissements contrôle si les avertissements sont ignorés, "
"affichés ou transformés en erreurs (ce qui crée une exception)."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"affichés ou transformés en erreurs (ce qui crée une exception)."
"affichés ou transformés en erreurs (ce qui lève une exception)."

Comment thread library/warnings.po Outdated
"Les messages d'avertissement sont généralement émis dans les situations où "
"il est utile d'alerter l'utilisateur d'une condition d'un programme, lorsque "
"cette condition (normalement) ne justifie pas de lever une exception et de "
"terminer le programme. Par exemple, on peut vouloir émettre un "

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"terminer le programme. Par exemple, on peut vouloir émettre un "
"terminer le programme. Par exemple, on peut vouloir émettre un "

@Seluj78 Seluj78 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Attention il y a beaucoup d'endroit ou tu as remplacé des ` par des '. Il manque aussi pas mal d'espace insécables et tu as des fois des espaces en trop.
J'ai relu jusqu'a la fin mais surtout pour les erreurs de syntaxe rst etc... pas trop pour le sens encore. @awecx doit finir l'autre moitié ;)
La ci dit :

library/warnings.po:265:class
library/warnings.po:438:default
library/warnings.po:450:mod
library/warnings.po:546:-b'
library/warnings.po:604:class
library/warnings.po:618:threads
library/warnings.po:618:class
library/warnings.po:639:class
library/warnings.po:666:threads
library/warnings.po:666:class
library/warnings.po:733:mod
library/warnings.po:733:unittest'
library/warnings.po:744:-W
library/warnings.po:744:default
library/warnings.po:769:wrapper
library/warnings.po:813:exc
library/warnings.po:813:'
library/warnings.po:813:exc
library/warnings.po:813:'
library/warnings.po:850:Ecrire
library/warnings.po:850:func
library/warnings.po:883:ref
library/warnings.po:883:filter
library/warnings.po:883:specifications
library/warnings.po:883:warning-filter
library/warnings.po:952:mod
library/warnings.po:952:mod
library/warnings.po:963:class
library/warnings.po:963:func
library/warnings.po:963:thread.

Comment thread library/warnings.po Outdated
"`exceptionhandling` for details)."
msgstr ""
"Les programmeurs Python émettent des avertissements en appelant la fonction :"
"func:`warn' définie dans ce module. (Les programmeurs C utilisent :c:func:"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"func:`warn' définie dans ce module. (Les programmeurs C utilisent :c:func:"
"func:`warn' définie dans ce module. (Les programmeurs C utilisent :c:func:"

Et plutot les développeurs non ? J'aime pas trop programmeurs

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 pour développeurs

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
msgstr ""
"Les messages d'avertissement sont normalement écrits dans ``sys.stderr``, "
"mais leur disposition peut être modifiée de manière flexible, passant "
"d'ignorer tous les avertissements à les transformer en exceptions. La "

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"d'ignorer tous les avertissements à les transformer en exceptions. La "
"d'ignorer tous les avertissements à les transformer en exceptions. La "

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated

@awecx awecx left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

66% je fini demain (pas trop le temps ce soir)

Comment thread library/warnings.po Outdated
"`exceptionhandling` for details)."
msgstr ""
"Les programmeurs Python émettent des avertissements en appelant la fonction :"
"func:`warn' définie dans ce module. (Les programmeurs C utilisent :c:func:"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 pour développeurs

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
msgid "Base category for warnings about dubious runtime features."
msgstr ""
"Catégorie de base pour les avertissements concernant les fonctionnalités "
"douteuses a l'exécution."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
"douteuses a l'exécution."
"douteuses à l'exécution."

Comment thread library/warnings.po
msgstr ""
"Conceptuellement, le filtre d'avertissements maintient une liste ordonnée de "
"spécifications de filtre ; tout avertissement spécifique est comparé à "
"chaque spécification de filtre dans la liste jusqu'à ce qu'une "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

J'aurais peut-être changé "spécification de filtre" par "entrée" (ou "élément" vu qu'on parle d'une liste), ça allège la phrase.

Comment thread library/warnings.po
#: ../Doc/library/warnings.rst:136
msgid "Disposition"
msgstr ""
msgstr "Disposition"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Encore une fois, pas enthousiasmé.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"Action" peut être ?

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po
msgstr ""
"Pour tester les avertissements générés par le code, utilisez le gestionnaire "
"de contexte :class:`catch_warnings'. Avec lui, vous pouvez temporairement "
"muter le filtre d'avertissements pour faciliter votre test. Par exemple, "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

faire taire non ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

L'intention dans le texte en anglais n'est pas de dire qu'avec on peut "mettre en sourdine" un warning, mais de dire qu'on peut "modifier" le filtre.

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po
"manager at the same time, the behavior is undefined."
msgstr ""
"Une fois que le gestionnaire de contexte quitte, le filtre des "
"avertissements est restauré dans son état au moment où le contexte a été "

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

dans l'état dans lequel il était au...

Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
@Seluj78

Seluj78 commented Jan 14, 2019

Copy link
Copy Markdown
Collaborator

@lubenard tu as encore plein de suggestions a accepter sur github directement (cf https://help.github.com/articles/incorporating-feedback-in-your-pull-request/#applying-a-suggested-change)

lubenard and others added 6 commits January 17, 2019 21:07
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
@lubenard

Copy link
Copy Markdown
Contributor Author

@lubenard tu as encore plein de suggestions a accepter sur github directement (cf https://help.github.com/articles/incorporating-feedback-in-your-pull-request/#applying-a-suggested-change)

C'est ce que je fais !

christopheNan and others added 14 commits January 17, 2019 21:13
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Seluj78 and others added 14 commits January 17, 2019 21:40
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
@JulienPalard

JulienPalard commented Jan 17, 2019

Copy link
Copy Markdown
Member

Selon Travis (tu peux cliquer sur "details" pour le voir à côté du "checks have failed") tu as quelques erreurs de syntaxe po ou de rst :

<rst-doc>:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string. while parsing: :exc:`BytesWarning` n'apparaît plus dans la liste de filtres par défaut et est configuré via :data:`sys.warnoptions` lorsque l'option:`-b' est spécifiée deux fois.

Le souci généralement vient d'un tag mal traduit, quand dans la version anglaise il y a un tag de la forme :

:tag:`content`

il ne faut ni le casser, ni le traduire, par exemple ligne 552 de ton .po tu traduit

:option:`-b`

par :

l'option:`-b'

Plusieurs soucis : il manque le : avant option (ce caractère fait partie du tag / de la syntaxe rst), et tu as transformé le backtick en apostrophe.

Enfin je dis "tu" mais c'est une erreur typique de deepl.com...

Seluj78 and others added 6 commits January 18, 2019 11:10
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
Comment thread library/warnings.po Outdated
JulienPalard and others added 4 commits January 20, 2019 23:29
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
Co-Authored-By: lubenard <42534397+lubenard@users.noreply.github.com>
@JulienPalard

Copy link
Copy Markdown
Member

Mergé a la main, relu, poussé.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants