diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:54:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-17 16:54:45 +0000 |
commit | 3942ffdf7a911f8897b33a68f65b1c9d35248351 (patch) | |
tree | 41b8366e1a16b2493cbd2fc0285983287117ba00 | |
parent | d42e3eb31ae72c4713d6cbdbea4d2d5fc9de561c (diff) | |
download | drakwizard-3942ffdf7a911f8897b33a68f65b1c9d35248351.tar drakwizard-3942ffdf7a911f8897b33a68f65b1c9d35248351.tar.gz drakwizard-3942ffdf7a911f8897b33a68f65b1c9d35248351.tar.bz2 drakwizard-3942ffdf7a911f8897b33a68f65b1c9d35248351.tar.xz drakwizard-3942ffdf7a911f8897b33a68f65b1c9d35248351.zip |
fix calling N()
-rw-r--r-- | dns_wizard/Bind.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index 29e2d766..20391a84 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -69,7 +69,7 @@ my $o = { init => sub { my ($err, $msg) = test_host_domain($SHORTHOSTNAME, $DOMAINNAME); if (!$err) { - $in->ask_warn(N('Error'), $msg); + $in->ask_warn(N("Error"), $msg); die 'wizcancel'; } ($err, $msg) @@ -140,7 +140,7 @@ $o->{pages} = { complete => sub { if ($o->{var}{CLIENTIP}) { if (!is_ip($o->{var}{CLIENTIP})) { - #$in->ask_warn(N('Error'), N('This is not a valid IP address.')); + #$in->ask_warn(N("Error"), N("This is not a valid IP address.")); return 1; } else { return 0; } } @@ -164,7 +164,7 @@ $o->{pages} = { complete => sub { if ($o->{var}{IPMASTER}) { if (!is_ip($o->{var}{IPMASTER})) { - #$in->ask_warn(N('Error'), N('This is not a valid IP address.')); + #$in->ask_warn(N("Error"), N("This is not a valid IP address.")); return 1; } else { return 0; } } @@ -185,7 +185,7 @@ $o->{pages} = { complete => sub { if ($o->{var}{IPOFFORWARDER}) { if (!is_ip($o->{var}{IPOFFORWARDER})) { - #$in->ask_warn(N('Error'), N('This is not a valid IP address for your forwarder.')); + #$in->ask_warn(N("Error"), N("This is not a valid IP address for your forwarder.")); return 1; } else { return 0; } } |