diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-12-10 02:23:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-12-10 02:23:48 +0000 |
commit | c8c8fb8b23661f07f9fcd18439d960297f1efbc3 (patch) | |
tree | 1e501ee3244b4d6bc479fdf8eab18d60f773808f /perl-install/standalone | |
parent | 456ee955f1db1a65c0063fcac6f2cbaf258af6c5 (diff) | |
download | drakx-c8c8fb8b23661f07f9fcd18439d960297f1efbc3.tar drakx-c8c8fb8b23661f07f9fcd18439d960297f1efbc3.tar.gz drakx-c8c8fb8b23661f07f9fcd18439d960297f1efbc3.tar.bz2 drakx-c8c8fb8b23661f07f9fcd18439d960297f1efbc3.tar.xz drakx-c8c8fb8b23661f07f9fcd18439d960297f1efbc3.zip |
really translate scanner list message
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/scannerdrake | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/standalone/scannerdrake b/perl-install/standalone/scannerdrake index a5a11185f..5c4af6475 100755 --- a/perl-install/standalone/scannerdrake +++ b/perl-install/standalone/scannerdrake @@ -441,11 +441,10 @@ sub mainwindow { if_($entry, " - $entry\n"); } @configured; if (@scannerlist) { - my $main_msg = - @scannerlist > 1 ? - N_("The following scanners\n\n%s\nare available on your system.\n") : - N_("The following scanner\n\n%s\nis available on your system.\n"); - sprintf($main_msg, join('', @scannerlist)); + my $list = join('', @scannerlist); + @scannerlist > 1 ? + N("The following scanners\n\n%s\nare available on your system.\n", $list) : + N("The following scanner\n\n%s\nis available on your system.\n", $list); } else { N("There are no scanners found which are available on your system.\n"); } |