[PATCH 01/13] Text based UI framework core

Martin Sivak msivak at redhat.com
Thu Aug 9 08:36:39 UTC 2012


Hi,

Yeah I will add the gettext markers there, about the keys. We should probably use _("q") and _("c") for that, but I am not sure if the translators will get it :) Do you know it is is possible to somehow annotate the strings to explain specific meaning?

Martin

----- Original Message -----
> On 08/08/2012 01:52 AM, Martin Sivak wrote:
> > +                self.switch_screen_modal(self.quit_question(u"Do
> > you really want to quit?"))
> > +                if self.quit_question.answer:
> 
> Should this string and the string below be translated?  How are we
> going
> to handle input that is non-English?  The code hard checks for 'c' or
> 'q', are we going to force those for every language?
> 
> > +                    raise ExitAllMainLoops()
> > +            return True
> 
> SNIP
> 
> > +
> > +    def prompt(self):
> > +        return u"\tPlease make your choice from above ['q' to
> > quit]: "
> > +
> 
> 
> --
> Jesse Keating
> Fedora -- FreedomĀ² is a feature!
> _______________________________________________
> 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