From ecabc52f68aca9f51da2ed244d775ad1d99bec3c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 Sep 2001 14:40:09 +0000 Subject: do not translate kdm GreetString in ja|ko|zh (what about ru?) --- perl-install/install_steps.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 46a3ca986..72348e75b 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -446,8 +446,10 @@ Consoles 1,3,4,7 may also contain interesting information"; # log::l("updating kde icons according to available devices"); # install_any::kdeicons_postinstall($o->{prefix}); - my $welcome = any::to_utf8(_("Welcome to %s", '%n')); - substInFile { s/^(GreetString)=.*/$1=$welcome/ } "$o->{prefix}/usr/share/config/kdm/kdmrc"; + if ($o->{lang} !~ /ja|ko|zh/) { + my $welcome = any::to_utf8(_("Welcome to %s", '%n')); + substInFile { s/^(GreetString)=.*/$1=$welcome/ } "$o->{prefix}/usr/share/config/kdm/kdmrc"; + } install_any::disable_user_view($o->{prefix}) if $o->{security} >= 3 || $o->{authentication}{NIS}; run_program::rooted($o->{prefix}, "kdeDesktopCleanup"); -- cgit v1.2.1