From fcf202d34f0fae645443ddfea0cbe28597a5181c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Feb 2003 23:26:43 +0000 Subject: translate server {name} at display-time, not compile-time --- perl-install/network/drakfirewall.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/drakfirewall.pm b/perl-install/network/drakfirewall.pm index 34e263641..4861b2242 100644 --- a/perl-install/network/drakfirewall.pm +++ b/perl-install/network/drakfirewall.pm @@ -9,12 +9,12 @@ use common; my @all_servers = ( { - name => N("Web Server"), + name => N_("Web Server"), pkg => 'apache apache-mod_perl boa', ports => '80/tcp 443/tcp', }, { - name => N("Domain Name Server"), + name => N_("Domain Name Server"), pkg => 'bind', ports => '53/tcp 53/udp', }, @@ -29,12 +29,12 @@ my @all_servers = ports => '20/tcp 21/tcp', }, { - name => N("Mail Server"), + name => N_("Mail Server"), pkg => 'sendmail postfix qmail', ports => '25/tcp', }, { - name => N("POP and IMAP Server"), + name => N_("POP and IMAP Server"), pkg => 'imap courier-imap-pop', ports => '109/tcp 110/tcp 143/tcp', }, @@ -168,7 +168,7 @@ where port is between 1 and 65535.", $invalid_port)); } }, [ { text => N("Everything (no firewall)"), val => \$disabled, type => 'bool' }, - (map { { text => $_->{name}, val => \$_->{on}, type => 'bool', disabled => sub { $disabled } } } @l), + (map { { text => translate($_->{name}), val => \$_->{on}, type => 'bool', disabled => sub { $disabled } } } @l), { label => N("Other ports"), val => \$unlisted, advanced => 1, disabled => sub { $disabled } } ]) or return; -- cgit v1.2.1