diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2004-08-30 07:20:56 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2004-08-30 07:20:56 +0000 |
commit | c9a4e1b63500315d1f1090e8cef288eb9c739fec (patch) | |
tree | 5e7a72f5ee5f4d0ce4acd57b8f395505f6fc6dbb /perl-install | |
parent | a156a973a5f0a998f14c330e64a16b9f99fb4d9c (diff) | |
download | drakx-backup-do-not-use-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar drakx-backup-do-not-use-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.gz drakx-backup-do-not-use-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.bz2 drakx-backup-do-not-use-c9a4e1b63500315d1f1090e8cef288eb9c739fec.tar.xz drakx-backup-do-not-use-c9a4e1b63500315d1f1090e8cef288eb9c739fec.zip |
fixed use of N()
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/printerdrake | 12 |
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}; |