summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-05 22:04:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-05 22:04:16 +0000
commitec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50 (patch)
tree1a8df4ce605640a1e0cc7764ee4eb678ac364af8 /perl-install/bootloader.pm
parente065b86ccfee262595c277672a339528f493c642 (diff)
downloaddrakx-ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50.tar
drakx-ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50.tar.gz
drakx-ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50.tar.bz2
drakx-ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50.tar.xz
drakx-ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50.zip
(install_grub): ensure the translated messages are not too big the hard way
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 31fda5d4e..e54932d0d 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -738,7 +738,7 @@ quit
EOF
";
- output "$prefix/boot/grub/messages", map { translate($_) . "\n" } (
+ output "$prefix/boot/grub/messages", map { substr(translate($_) . "\n", 0, 78) } ( #- ensure the translated messages are not too big the hard way
#-PO: these messages will be displayed at boot time in the BIOS, use only ASCII (7bit)
__("Welcome to GRUB the operating system chooser!"),
__("Use the %c and %c keys for selecting which entry is highlighted."),