diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2004-01-21 22:43:08 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2004-01-21 22:43:08 +0000 |
commit | e39233cf7c9d6a618244d0576d2366d9ffaadee9 (patch) | |
tree | 4b3e1910f289d486e3a7aa4a7b0fae323753a2ad /perl-install/standalone/scannerdrake | |
parent | 0e81615a33b19ee6e2d178059c0fa3e6054d0986 (diff) | |
download | drakx-backup-do-not-use-e39233cf7c9d6a618244d0576d2366d9ffaadee9.tar drakx-backup-do-not-use-e39233cf7c9d6a618244d0576d2366d9ffaadee9.tar.gz drakx-backup-do-not-use-e39233cf7c9d6a618244d0576d2366d9ffaadee9.tar.bz2 drakx-backup-do-not-use-e39233cf7c9d6a618244d0576d2366d9ffaadee9.tar.xz drakx-backup-do-not-use-e39233cf7c9d6a618244d0576d2366d9ffaadee9.zip |
Updated title bar texts of error pop-ups.
Diffstat (limited to 'perl-install/standalone/scannerdrake')
-rwxr-xr-x | perl-install/standalone/scannerdrake | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/perl-install/standalone/scannerdrake b/perl-install/standalone/scannerdrake index 9ae71f542..7f44588ac 100755 --- a/perl-install/standalone/scannerdrake +++ b/perl-install/standalone/scannerdrake @@ -49,7 +49,7 @@ if (!files_exist('/usr/bin/scanimage', if (!$in->do_pkgs->install('sane-backends', 'xsane', if_($in->do_pkgs->is_installed('gimp'), 'xsane-gimp'))) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("Could not install the packages needed to set up a scanner with Scannerdrake.") . " " . N("Scannerdrake will not be started now.")); exit 0; @@ -191,7 +191,7 @@ sub installfirmware { # Let user select a firmware file from a floppy, hard disk, ... $firmware = $in->ask_file(N("Select firmware file"), "$dir"); last if !$firmware || (-r $firmware); - $in->ask_warn('Scannerdrake', + $in->ask_warn(N("Error"), N("The firmware file %s does not exist or is unreadable!", $firmware)); @@ -250,7 +250,7 @@ sub updatefirmware { $firmware = $in->ask_file(N("Select firmware file for the %s", $scannerchoice), "$dir"); last if !$firmware || (-r $firmware); - $in->ask_warn('Scannerdrake', + $in->ask_warn(N("Error"), N("The firmware file %s does not exist or is unreadable!", $firmware)); @@ -673,7 +673,7 @@ sub sharewindow { } # Do not allow an empty address if ($address !~ /\S/) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("You must enter a host name or an IP address.\n")); return (1,0); } @@ -684,7 +684,7 @@ sub sharewindow { if ($address ne $oldaddress && member("$address\n", @exports)) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("This host is already in the list, it cannot be added again.\n")); return (1,1); } @@ -823,7 +823,7 @@ sub sharewindow { } # Do not allow an empty address if ($address !~ /\S/) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("You must enter a host name or an IP address.\n")); return (1,0); } @@ -834,7 +834,7 @@ sub sharewindow { if ($address ne $oldaddress && member("$address\n", @imports)) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("This host is already in the list, it cannot be added again.\n")); return (1,1); } @@ -899,7 +899,7 @@ sub sharewindow { if (!files_exist('/usr/sbin/xinetd', '/usr/sbin/saned')) { if (!$in->do_pkgs->install('xinetd', 'saned')) { - $in->ask_warn(N("Scannerdrake"), + $in->ask_warn(N("Error"), N("Could not install the packages needed to share your scanner(s).") . " " . N("Your scanner(s) will not be available on the network.")); } |