From 3942ffdf7a911f8897b33a68f65b1c9d35248351 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 17 Oct 2012 16:54:45 +0000 Subject: fix calling N() --- dns_wizard/Bind.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dns_wizard') 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; } } -- cgit v1.2.1