From 4327e33bb80a908720fb98590be060ba358b931e Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Thu, 10 Feb 2005 14:24:40 +0000 Subject: Tell that card reader is USB storage in the HPLIP help text only if the device is actually connected via USB. --- perl-install/printer/printerdrake.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'perl-install/printer') diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index ec4019c5a..150f09055 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -3700,14 +3700,12 @@ sub hplip_help { $text .= N("Run Scannerdrake (Hardware/Scanner in Mandrakelinux Control Center) to share your scanner on the network.\n\n"); } - if ($hplipentry->{card} == 1) { - $text .= N("The memory card readers in your printer can be accessed using HP's Printer Toolbox (Menu: System/Monitoring/HP Printer Toolbox) clicking the \"Access Photo Cards...\" button on the \"Functions\" tab. "); - $text .= N("Note that this is very slow, reading the pictures from the camera or a USB card reader is usually faster.\n\n"); - } - - if ($hplipentry->{card} == 2) { + if (($hplipentry->{card} == 2) && ($deviceuri =~ m!/usb/!i)) { $text .= N("The memory card readers in your printer can be accessed like a usual USB mass storage device. "); $text .= N("After inserting a card a hard disk icon to access the card should appear on your desktop.\n\n"); + } elsif ($hplipentry->{card} > 0) { + $text .= N("The memory card readers in your printer can be accessed using HP's Printer Toolbox (Menu: System/Monitoring/HP Printer Toolbox) clicking the \"Access Photo Cards...\" button on the \"Functions\" tab. "); + $text .= N("Note that this is very slow, reading the pictures from the camera or a USB card reader is usually faster.\n\n"); } $text .= N("HP's Printer Toolbox (Menu: System/Monitoring/HP Printer Toolbox) offers a lot of status monitoring and maintenance functions for your %s:\n\n", $makemodel); -- cgit v1.2.1