summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-31 01:08:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-31 01:08:36 +0000
commit181c673fd4c642bbecce865707228d73098ccea9 (patch)
treebf104558731b8b486bdea30b388ce6a74f3c49bd /perl-install/standalone
parent122740543e33313c68fa7bdccd502d3a47bfd4e4 (diff)
downloaddrakx-backup-do-not-use-181c673fd4c642bbecce865707228d73098ccea9.tar
drakx-backup-do-not-use-181c673fd4c642bbecce865707228d73098ccea9.tar.gz
drakx-backup-do-not-use-181c673fd4c642bbecce865707228d73098ccea9.tar.bz2
drakx-backup-do-not-use-181c673fd4c642bbecce865707228d73098ccea9.tar.xz
drakx-backup-do-not-use-181c673fd4c642bbecce865707228d73098ccea9.zip
adding back translation of descriptions for some known display managers
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakedm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm
index 34058c91b..8bbd603d7 100644
--- a/perl-install/standalone/drakedm
+++ b/perl-install/standalone/drakedm
@@ -36,6 +36,12 @@ my @list = map {
\%l;
} sort(glob("/etc/X11/dm.d/*.conf"));
+my @_DESCRIPTIONS_for_i18n = (
+ N("GDM (GNOME Display Manager)"),
+ N("KDM (KDE Display Manager)"),
+ N("XDM (X Display Manager)"),
+);
+
if (!$::expert) {
@list = grep { -e $_->{EXEC} } @list;
}
@@ -54,7 +60,7 @@ several different X sessions on your local machine at the same time.")),
list => \@list,
val => \$dm,
type => 'list',
- format => sub { $_[0]{DESCRIPTION} },
+ format => sub { translate($_[0]{DESCRIPTION}) },
}
]
)