summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-13 14:40:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-13 14:40:09 +0000
commitecabc52f68aca9f51da2ed244d775ad1d99bec3c (patch)
treecabd9ef0d73380544ceff0768208ac06aad13f3c
parente0ac85418b44a743681d297f1b03e64bc7c13c0f (diff)
downloaddrakx-backup-do-not-use-ecabc52f68aca9f51da2ed244d775ad1d99bec3c.tar
drakx-backup-do-not-use-ecabc52f68aca9f51da2ed244d775ad1d99bec3c.tar.gz
drakx-backup-do-not-use-ecabc52f68aca9f51da2ed244d775ad1d99bec3c.tar.bz2
drakx-backup-do-not-use-ecabc52f68aca9f51da2ed244d775ad1d99bec3c.tar.xz
drakx-backup-do-not-use-ecabc52f68aca9f51da2ed244d775ad1d99bec3c.zip
do not translate kdm GreetString in ja|ko|zh (what about ru?)
-rw-r--r--perl-install/install_steps.pm6
1 files 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");