summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-08-30 07:20:56 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-08-30 07:20:56 +0000
commitc9a4e1b63500315d1f1090e8cef288eb9c739fec (patch)
tree5e7a72f5ee5f4d0ce4acd57b8f395505f6fc6dbb
parenta156a973a5f0a998f14c330e64a16b9f99fb4d9c (diff)
downloaddrakx-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar
drakx-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.gz
drakx-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.bz2
drakx-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.xz
drakx-c9a4e1b63500315d1f1090e8cef288eb9c739fec.zip
fixed use of N()
-rwxr-xr-xperl-install/standalone/printerdrake12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 91963856c..9d386d34a 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -302,9 +302,9 @@ sub RefreshLocalPrintersFull {
push(@LocalReal, $p) if $searchstr =~ /\Q$strfilt/i;
};
foreach my $p (sort { lc($a) cmp lc($b) } @LocalReal) {
- my $state = ($printer->{SPOOLER} !~ /cups/ ? N('Unknown') :
- (printer::cups::queue_enabled($p) ? N('Enabled') :
- N('Disabled')));
+ my $state = ($printer->{SPOOLER} !~ /cups/ ? N("Unknown") :
+ (printer::cups::queue_enabled($p) ? N("Enabled") :
+ N("Disabled")));
my $connect = printer::main::connectionstr($printer->{configured}{$p}{queuedata}{connect});
my $description = $printer->{configured}{$p}{queuedata}{desc};
my $location = $printer->{configured}{$p}{queuedata}{loc};
@@ -340,9 +340,9 @@ sub RefreshRemotePrintersFull {
foreach my $p (sort { lc($a->{queuename}) cmp lc($b->{queuename}) }
@RemoteReal) {
my $queue = $p->{queuename};
- my $state = ($printer->{SPOOLER} !~ /cups/ ? N('Unknown') :
- (printer::cups::queue_enabled($queue) ? N('Enabled') :
- N('Disabled')));
+ my $state = ($printer->{SPOOLER} !~ /cups/ ? N("Unknown") :
+ (printer::cups::queue_enabled($queue) ? N("Enabled") :
+ N("Disabled")));
my $server = ($p->{ipp} ?
$p->{ipp} : $printer->{remote_cups_server});
my $description = $p->{description};