summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2005-02-24 13:59:38 +0000
committerPablo Saratxaga <pablo@mandriva.com>2005-02-24 13:59:38 +0000
commit47769e05fc749e4995e5edae4a9435157300bd77 (patch)
treeef9c37fa4bf622f1bf2b707c757e6ca969ceac28 /perl-install/printer
parent0e25513a828c03bfe66ac63e9987b8c9a0db2154 (diff)
downloaddrakx-47769e05fc749e4995e5edae4a9435157300bd77.tar
drakx-47769e05fc749e4995e5edae4a9435157300bd77.tar.gz
drakx-47769e05fc749e4995e5edae4a9435157300bd77.tar.bz2
drakx-47769e05fc749e4995e5edae4a9435157300bd77.tar.xz
drakx-47769e05fc749e4995e5edae4a9435157300bd77.zip
move "HPOJ" and "HPLIP" as parameters of translatable strings,
so common phrases need to be translated only once.
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/printerdrake.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index fe45d2510..95af5229b 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -2135,13 +2135,13 @@ sub setup_common {
$hplipinstallfailed = 1;
} else {
$w = $in->wait_message(N("Printerdrake"),
- N("Installing HPLIP package..."))
+ N("Installing %s package...",N("HPLIP")))
if !$printer->{noninteractive};
$in->do_pkgs->install('hplip')
or do {
$in->ask_warn(N("Warning"),
N("Could not install the %s packages!",
- "HPLIP") . " " .
+ N("HPLIP")) . " " .
N("Only printing will be possible on the %s.",
$makemodel));
$hplipinstallfailed = 1;
@@ -2167,7 +2167,7 @@ sub setup_common {
undef $w;
$w = $in->wait_message(
N("Printerdrake"),
- N("Checking device and configuring HPLIP..."))
+ N("Checking device and configuring %s...",N("HPLIP")))
if !$printer->{noninteractive};
if (!$hplipinstallfailed) {
@@ -2267,13 +2267,13 @@ sub setup_common {
$hpojinstallfailed = 1;
} else {
$w = $in->wait_message(N("Printerdrake"),
- N("Installing HPOJ package..."))
+ N("Installing %s package...",N("HPOJ")))
if !$printer->{noninteractive};
$in->do_pkgs->install('hpoj', 'xojpanel', 'usbutils')
or do {
$in->ask_warn(N("Warning"),
N("Could not install the %s packages!",
- "HPOJ") . " " .
+ N("HPOJ")) . " " .
N("Only printing will be possible on the %s.",
$makemodel));
$hpojinstallfailed = 1;
@@ -2284,7 +2284,7 @@ sub setup_common {
undef $w;
$w = $in->wait_message
(N("Printerdrake"),
- N("Checking device and configuring HPOJ..."))
+ N("Checking device and configuring %s...",N("HPOJ")))
if !$printer->{noninteractive};
eval { $ptaldevice = printer::main::configure_hpoj