Commit 2a875c70 authored by Ivan Razzhivin's avatar Ivan Razzhivin Committed by Anton Midyukov

grub: Markup configuration files for translation

parent fb1ad2ca
default='linux'
menuentry 'Install @relname@' --hotkey 'i' --id 'linux' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"Install @relname@" --hotkey 'i' --id 'linux' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ vga=@bootvga@ @bootargs@ @efi_bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
menuentry 'VNC install @relname@ (edit to set server IP address)' --id 'vncconnect' {
menuentry $"VNC install @relname@ (edit to set server IP address)" --id 'vncconnect' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ @efi_bootargs@ headless no_alt_virt_keyboard vncconnect=IP lang=$lang
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
menuentry 'VNC install @relname@ (edit to set password and connect here)' --id 'vncpasswd' {
menuentry $"VNC install @relname@ (edit to set password and connect here)" --id 'vncpasswd' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ @efi_bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
......
menuentry 'LiveCD (no hard disk needed)' --id 'live' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"LiveCD (no hard disk needed)" --id 'live' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts lowmem vga=@bootvga@ @bootargs@ @efi_bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
......
menuentry 'LiveCD with sessions support' --id 'session' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"LiveCD with sessions support" --id 'session' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts live_rw vga=@bootvga@ @bootargs@ @efi_bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
submenu "Change language (press F2)" --hotkey 'f2' {
submenu $"Change language (press F2)" --hotkey 'f2' {
insmod regexp
for langstr in "ru_RU=Russian" "en_US=English" "pt_BR=Portuguese" "kk_KZ=Kazakh" "uk_UA=Ukrainian"; do
regexp -s 2:langname -s 1:langcode '(.*)=(.*)' "$langstr"
......@@ -8,7 +8,7 @@ submenu "Change language (press F2)" --hotkey 'f2' {
configfile ${prefix}/grub.cfg
}
done
menuentry "Return to the Main menu" {
menuentry $"Return to the Main menu" {
configfile ${prefix}/grub.cfg
}
}
menuentry 'Rescue LiveCD' --id 'rescue' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"Rescue LiveCD" --id 'rescue' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@ @efi_bootargs@
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
menuentry 'Rescue with sessions support' --id 'rescue_session' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"Rescue with sessions support" --id 'rescue_session' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom,label:ALT* ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@ @efi_bootargs@ live_rw
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
menuentry 'Forensic mode (leave disks alone)' --id 'rescue_forensic' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
menuentry $"Forensic mode (leave disks alone)" --id 'rescue_forensic' {
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ splash=0 showopts stagename=rescue @rescue_bootargs@ @efi_bootargs@ max_loop=16 forensic hash=@rescue_hash@
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full.cz
}
menuentry 'Rescue with remote SSH access (DHCP)' --id 'rescue_remote' {
menuentry $"Rescue with remote SSH access (DHCP)" --id 'rescue_remote' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ splash=0 showopts stagename=rescue @rescue_bootargs@ @efi_bootargs@ max_loop=16 ip=dhcp port=22 rootpw=AUTO hash=@rescue_hash@
echo 'Loading initial ramdisk ...'
echo $"Loading initial ramdisk ..."
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}
menuentry 'Check this media for defects' --id 'mediachk' {
menuentry $"Check this media for defects" --id 'mediachk' {
linux@linux_suffix@ @boot_path@/vmlinuz changedisk live quiet lowmem automatic=method:cdrom mediacheck=1 stagename=mediacheck showopts @bootargs@ @efi_bootargs@
initrd@linux_suffix@ @boot_path@/full.cz
}
submenu "Change Kernel Flavour (press F5)" --hotkey 'f5' {
submenu $"Change Kernel Flavour (press F5)" --hotkey 'f5' {
insmod regexp
regexp -s 1:kflavours -s 2:kflavourstr '(.*) (.*)' "@KFLAVOUR@"
menuentry "${kflavourstr}" {
......@@ -13,7 +13,7 @@ submenu "Change Kernel Flavour (press F5)" --hotkey 'f5' {
configfile ${prefix}/grub.cfg
}
done
menuentry "Return to the Main menu" {
menuentry $"Return to the Main menu" {
configfile ${prefix}/grub.cfg
}
}
menuentry 'Memory Test' --id 'memtest' {
menuentry $"Memory Test" --id 'memtest' {
linux@linux_suffix@ /EFI/tools/memtest86.efi
}
menuentry 'System setup' --id 'uefi-firmware' {
menuentry $"System setup" --id 'uefi-firmware' {
fwsetup
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment