[PATCH 01/13] Text based UI framework core

Jesse Keating jkeating at redhat.com
Thu Aug 9 00:51:43 UTC 2012


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!


More information about the anaconda-patches mailing list