diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-31 01:08:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-31 01:08:36 +0000 |
commit | 181c673fd4c642bbecce865707228d73098ccea9 (patch) | |
tree | bf104558731b8b486bdea30b388ce6a74f3c49bd /perl-install/standalone/drakedm | |
parent | 122740543e33313c68fa7bdccd502d3a47bfd4e4 (diff) | |
download | drakx-181c673fd4c642bbecce865707228d73098ccea9.tar drakx-181c673fd4c642bbecce865707228d73098ccea9.tar.gz drakx-181c673fd4c642bbecce865707228d73098ccea9.tar.bz2 drakx-181c673fd4c642bbecce865707228d73098ccea9.tar.xz drakx-181c673fd4c642bbecce865707228d73098ccea9.zip |
adding back translation of descriptions for some known display managers
Diffstat (limited to 'perl-install/standalone/drakedm')
-rw-r--r-- | perl-install/standalone/drakedm | 8 |
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}) }, } ] ) |