From fdde198ca5e44c8de0a2d6b7b654fdec378b43c1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 22 Feb 2002 13:43:44 +0000 Subject: not translating in console installs (esp. newt) when the font is missing --- perl-install/install_steps_interactive.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 28a6446d6..1458e40b1 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -87,7 +87,8 @@ sub selectLanguage { $o->charsetChanged; - $o->ask_warn('', formatAlaTeX( + if ($o->isa('interactive_gtk')) { + $o->ask_warn('', formatAlaTeX( "If you see this message it is because you choose a language for which DrakX does not include a translation yet; however the fact that it is listed means there is some support for it anyway. @@ -96,6 +97,10 @@ That is, once GNU/Linux will be installed, you will be able to at least read and write in that language; and possibly more (various fonts, spell checkers, various programs translated etc. that varies from language to language).")) if $o->{lang} !~ /^en/ && !lang::load_mo(); + } else { + $o->ask_warn('', _("The characters of your language can't be displayed in console, +so the messages will be displayed in english during installation")) if $ENV{LANGUAGE} eq 'C'; + } unless ($o->{useless_thing_accepted}) { $o->set_help('license'); -- cgit v1.2.1