diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-17 23:26:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-17 23:26:43 +0000 |
commit | fcf202d34f0fae645443ddfea0cbe28597a5181c (patch) | |
tree | 033f62ebef09e7e94f6eb318d307db65dcd8d6f2 /perl-install/network | |
parent | 57adb120500fb37ea9e97a2eff3e4d3cd7feec21 (diff) | |
download | drakx-fcf202d34f0fae645443ddfea0cbe28597a5181c.tar drakx-fcf202d34f0fae645443ddfea0cbe28597a5181c.tar.gz drakx-fcf202d34f0fae645443ddfea0cbe28597a5181c.tar.bz2 drakx-fcf202d34f0fae645443ddfea0cbe28597a5181c.tar.xz drakx-fcf202d34f0fae645443ddfea0cbe28597a5181c.zip |
translate server {name} at display-time, not compile-time
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/drakfirewall.pm | 10 |
1 files changed, 5 insertions, 5 deletions
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; |