diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2003-03-02 17:37:33 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2003-03-02 17:37:33 +0000 |
commit | e01e2c47ed44040a33600494bc349d857c06f468 (patch) | |
tree | eb6759828cf9b7dc81379209fbfe023140b93b6b | |
parent | 3913f75a8c7d164dd1c855a778ea56d2911c90a0 (diff) | |
download | drakx-backup-do-not-use-e01e2c47ed44040a33600494bc349d857c06f468.tar drakx-backup-do-not-use-e01e2c47ed44040a33600494bc349d857c06f468.tar.gz drakx-backup-do-not-use-e01e2c47ed44040a33600494bc349d857c06f468.tar.bz2 drakx-backup-do-not-use-e01e2c47ed44040a33600494bc349d857c06f468.tar.xz drakx-backup-do-not-use-e01e2c47ed44040a33600494bc349d857c06f468.zip |
Shortened the texts in some list dialogs to get a better layout.
-rw-r--r-- | perl-install/printer/printerdrake.pm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index 8930f0cf7..b879ed419 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -2563,6 +2563,9 @@ sub setup_options { if ($printer->{currentqueue}{printer} || # We have a Foomatic queue $printer->{currentqueue}{ppd}) { # We have a CUPS+PPD queue # Set up the widgets for the option dialog + my $helptext = N("Printer default settings + +You should make sure that the page size and the ink type/printing mode (if available) and also the hardware configuration of laser printers (memory, duplex unit, extra trays) are set correctly. Note that with a very high printout quality/resolution printing can get substantially slower."); my @widgets; my @userinputs; my @choicelists; @@ -2607,7 +2610,8 @@ sub setup_options { not_edit => 1, list => \@{$choicelists[$i]}, sort => 0, - advanced => $advanced }) + advanced => $advanced, + help => $helptext }) if ($printer->{ARGS}[$i]{name} ne 'PageRegion'); } elsif ($printer->{ARGS}[$i]{type} eq 'bool') { # boolean option @@ -2627,7 +2631,8 @@ sub setup_options { not_edit => 1, list => \@{$choicelists[$i]}, sort => 0, - advanced => $advanced }); + advanced => $advanced, + help => $helptext }); } else { # numerical option push(@choicelists, []); @@ -2641,7 +2646,8 @@ sub setup_options { #min => $printer->{ARGS}[$i]{min}, #max => $printer->{ARGS}[$i]{max}, val => \$userinputs[$i], - advanced => $advanced }); + advanced => $advanced, + help => $helptext }); } } # Show the options dialog. The call-back function does a @@ -2681,9 +2687,7 @@ sub setup_options { (!$printer->{noninteractive})) { return 0 if !$in->ask_from( $windowtitle, - N("Printer default settings - -You should make sure that the page size and the ink type/printing mode (if available) and also the hardware configuration of laser printers (memory, duplex unit, extra trays) are set correctly. Note that with a very high printout quality/resolution printing can get substantially slower."), + N("Printer default settings"), \@widgets, complete => sub { my $i; @@ -3630,11 +3634,7 @@ sub main { # Show the main dialog $in->ask_from_({ title => N("Printerdrake"), - messages => - ($noprinters ? "" : - ($printer->{SPOOLER} eq "cups" ? - N("The following printers are configured. Double-click on a printer to change its settings; to make it the default printer; to view information about it; or to make a printer on a remote CUPS server available for Star Office/OpenOffice.org/GIMP.") : - N("The following printers are configured. Double-click on a printer to change its settings; to make it the default printer; or to view information about it."))), + messages => N("The following printers are configured. Double-click on a printer to change its settings; to make it the default printer; or to view information about it."), cancel => (""), ok => ("")}, # List the queues |