From ec07dbfe21cc270f7a06ddb1288e1a2fa5ae4c50 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 5 Mar 2001 22:04:16 +0000 Subject: (install_grub): ensure the translated messages are not too big the hard way --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."), -- cgit v1.2.1