From 181c673fd4c642bbecce865707228d73098ccea9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 31 May 2005 01:08:36 +0000 Subject: adding back translation of descriptions for some known display managers --- perl-install/standalone/drakedm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakedm') 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}) }, } ] ) -- cgit v1.2.1