summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-22 13:43:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-22 13:43:44 +0000
commitfdde198ca5e44c8de0a2d6b7b654fdec378b43c1 (patch)
tree58b36d3368833144ea6cc211aa49f4d6c6e6de6d /perl-install/install_steps_interactive.pm
parent499805090758ee226b80e12257f8c4a9d6d90e6a (diff)
downloaddrakx-fdde198ca5e44c8de0a2d6b7b654fdec378b43c1.tar
drakx-fdde198ca5e44c8de0a2d6b7b654fdec378b43c1.tar.gz
drakx-fdde198ca5e44c8de0a2d6b7b654fdec378b43c1.tar.bz2
drakx-fdde198ca5e44c8de0a2d6b7b654fdec378b43c1.tar.xz
drakx-fdde198ca5e44c8de0a2d6b7b654fdec378b43c1.zip
not translating in console installs (esp. newt) when the font is missing
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm7
1 files changed, 6 insertions, 1 deletions
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');