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

Vratislav Podzimek vpodzime at redhat.com
Wed May 22 13:01:40 UTC 2013


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



More information about the anaconda-patches mailing list