[PATCH] Make sure TUI is readable for non-latin languages (#1182562)

Vratislav Podzimek vpodzime at redhat.com
Wed Jul 22 19:26:18 UTC 2015


On Wed, 2015-07-22 at 17:08 +0200, Martin Kolman wrote:
> Make sure the currently selected TUI language is displayable
> in the Linux console by checking its scripts, as reported by
> langtable.list_scripts()).
> (Currently supported scripts: 'Latn', 'Cyrl', 'Grek')
> 
> If the language is not displayable tehn fall back to English.
> 
> We also need to handle some edge cases such as Anaconda falling back
> to TUI after failed GUI startup and missing or corrupted console fonts.
> 
> Resolves: rhbz#1182562
> Signed-off-by: Martin Kolman <mkolman at redhat.com>
> ---
>  anaconda                            |  13 +++-
>  anaconda.spec.in                    |   2 +-
>  pyanaconda/anaconda.py              |   1 +
>  pyanaconda/localization.py          | 133 ++++++++++++++++++++++++++++++++++-
> -
>  pyanaconda/ui/gui/spokes/welcome.py |   4 +-
>  5 files changed, 142 insertions(+), 11 deletions(-)
Looks good to me now, thanks!

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list