summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-13 12:22:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-13 12:22:15 +0000
commitea77771b7ecff7655c783fd259a6b44a3aa88bbf (patch)
tree9df878703b55b7e429f81230fa00109059274db4
parent8bb921449faab2c5ecba748a351abddcfcc166bd (diff)
downloaddrakx-ea77771b7ecff7655c783fd259a6b44a3aa88bbf.tar
drakx-ea77771b7ecff7655c783fd259a6b44a3aa88bbf.tar.gz
drakx-ea77771b7ecff7655c783fd259a6b44a3aa88bbf.tar.bz2
drakx-ea77771b7ecff7655c783fd259a6b44a3aa88bbf.tar.xz
drakx-ea77771b7ecff7655c783fd259a6b44a3aa88bbf.zip
try being smarter for translators...
-rw-r--r--perl-install/printer/printerdrake.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 7f63a29a1..8b1bed100 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -1046,9 +1046,11 @@ sub configure_new_printers {
# Set model selection cursor onto the "Raw Printer" entry.
$printer->{DBENTRY} = N("Raw printer (No driver)");
# Info about what was detected
- my $info = N("(") . if_($p->{val}{DESCRIPTION},
- $p->{val}{DESCRIPTION} . N(" on ")) .
- $p->{port} . N(")");
+ my $info = $p->{val}{DESCRIPTION} ?
+ #-PO: this string is "device_description on port_number" formated (eg: "HP printer on 631"):
+ N("(%s on %s)", $p->{val}{DESCRIPTION}, $p->{port}) :
+ #-PO: a port number between round brackets:
+ N("(%s)", $p->{port});
# Remove wait message
undef $w;
# Choose the printer/driver from the list