[python-meh][PATCH] Give translators hint about the cryptic strings

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed May 22 13:26:08 UTC 2013


Ack.

On Wed, May 22, 2013 at 03:01:40PM +0200, Vratislav Podzimek wrote:
> The comments appear in the .pot file and also in Transifex next to the
> to be translated string.
> 
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  meh/ui/text.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meh/ui/text.py b/meh/ui/text.py
> index 04569b8..989f3dd 100644
> --- a/meh/ui/text.py
> +++ b/meh/ui/text.py
> @@ -66,9 +66,10 @@ class TextWindow(object):
>          self._io = kwargs.get("io_handler", IOHandler())
>          self._title = title
>  
> -        # XXX: I know this must be really hard for translators, but there is no
> -        #      usable way to include context to the POT file in Python
> +        # short (one-char) answer meaning "yes"
>          self._yes_answer = _("y")
> +
> +        # short (one-char) answer meaning "no"
>          self._no_answer = _("n")
>  
>      @property
> -- 
> 1.7.11.7
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list