* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Add TRANSLATORS
comments. * grub-core/gdb/gdb.c (grub_cmd_gdbstub): Likewise. (GRUB_MOD_INIT): Likewise. * grub-core/loader/i386/linux.c (grub_cmd_linux): Clarify that it's VGA mode. * grub-core/net/net.c (grub_net_route_address): Add TRANSLATORS comments. * util/grub-install.in (usage): Likewise. Spell ID in whole letters. Add missing ending dot. Quote variables. * util/grub-reboot.in: Fix capitalisation. * util/grub-set-default.in: Likewise.
This commit is contained in:
parent
937fd0cc0c
commit
8822a8a02b
8 changed files with 42 additions and 7 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
|||
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Add TRANSLATORS
|
||||
comments.
|
||||
* grub-core/gdb/gdb.c (grub_cmd_gdbstub): Likewise.
|
||||
(GRUB_MOD_INIT): Likewise.
|
||||
* grub-core/loader/i386/linux.c (grub_cmd_linux): Clarify that it's
|
||||
VGA mode.
|
||||
* grub-core/net/net.c (grub_net_route_address): Add TRANSLATORS
|
||||
comments.
|
||||
* util/grub-install.in (usage): Likewise.
|
||||
Spell ID in whole letters.
|
||||
Add missing ending dot.
|
||||
Quote variables.
|
||||
* util/grub-reboot.in: Fix capitalisation.
|
||||
* util/grub-set-default.in: Likewise.
|
||||
|
||||
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/getroot.c (strip_extra_slashes) [CYGWIN]: #ifdef-out.
|
||||
|
|
|
@ -153,10 +153,17 @@ print_vdev_info (char *nvlist, int tab)
|
|||
print_tabs (tab);
|
||||
if (!child)
|
||||
{
|
||||
/* TRANSLATORS: it's the element carying the number %d, not
|
||||
total element number. And the number itself is fine,
|
||||
only the element isn't.
|
||||
*/
|
||||
grub_printf_ (N_("Mirror element number %d isn't correct\n"), i);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* TRANSLATORS: it's the element carying the number %d, not
|
||||
total element number. This is used in enumeration
|
||||
"Element number 1", "Element number 2", ... */
|
||||
grub_printf_ (N_("Mirror element number %d:\n"), i);
|
||||
print_vdev_info (child, tab + 1);
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ grub_cmd_gdbstub (struct grub_command *cmd __attribute__ ((unused)),
|
|||
if (!port)
|
||||
return grub_errno;
|
||||
grub_gdb_port = port;
|
||||
/* TRANSLATORS: at this position GRUB waits for the user to do an action
|
||||
in remote debugger, namely to tell it to establish connection. */
|
||||
grub_puts_ (N_("Now connect the remote debugger, please."));
|
||||
grub_gdb_breakpoint ();
|
||||
return 0;
|
||||
|
@ -76,6 +78,9 @@ GRUB_MOD_INIT (gdb)
|
|||
cmd = grub_register_command ("gdbstub", grub_cmd_gdbstub,
|
||||
N_("PORT"), N_("Start GDB stub on given port"));
|
||||
cmd_break = grub_register_command ("gdbstub_break", grub_cmd_gdb_break,
|
||||
/* TRANSLATORS: this refers to triggering
|
||||
a breakpoint so that the user will land
|
||||
into GDB. */
|
||||
0, N_("Break into GDB"));
|
||||
cmd_stop = grub_register_command ("gdbstub_stop", grub_cmd_gdbstop,
|
||||
0, N_("Stop GDB stub"));
|
||||
|
|
|
@ -834,7 +834,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
|
|||
vid_mode > GRUB_VESA_MODE_TABLE_END)
|
||||
{
|
||||
grub_env_set ("gfxpayload", "text");
|
||||
grub_printf_ (N_("%s is deprecated. Mode %d isn't recognized. "
|
||||
grub_printf_ (N_("%s is deprecated. VGA mode %d isn't recognized. "
|
||||
"Use set gfxpayload=WIDTHxHEIGHT[xDEPTH] "
|
||||
"before linux command instead.\n"),
|
||||
argv[i], vid_mode);
|
||||
|
|
|
@ -645,6 +645,9 @@ grub_net_route_address (grub_net_network_level_address_t addr,
|
|||
}
|
||||
|
||||
return grub_error (GRUB_ERR_NET_ROUTE_LOOP,
|
||||
/* TRANSLATORS: route loop is a condition when e.g.
|
||||
to contact server A you need to go through B
|
||||
and to contact B you need to go through A. */
|
||||
N_("route loop detected"));
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,10 @@ usage () {
|
|||
printf " --modules=%-14s%s\n" "$(gettext "MODULES")" "$(gettext "pre-load specified modules MODULES")"
|
||||
dirmsg="$(gettext_printf "install GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
|
||||
printf " --boot-directory=%-7s%s\n" "$(gettext "DIR")" "$dirmsg"
|
||||
printf " --target=%-15s%s\n" "$(gettext "TARGET")" "$(gettext "install GRUB for TARGET platform [default=current]")"
|
||||
# TRANSLATORS: "TARGET" as in "target platform
|
||||
target_trans="$(gettext "TARGET")"
|
||||
# TRANSLATORS: "current" refers to the platform user's currently running on
|
||||
printf " --target=%-15s%s\n" "$target_trans" "$(gettext "install GRUB for TARGET platform [default=current]")"
|
||||
printf " --directory=%-12s%s\n" "$(gettext "DIR")" "$(gettext "use GRUB images from DIR. Takes precedence over target")"
|
||||
printf " --grub-setup=%-11s%s\n" "$(gettext "FILE")" "$(gettext "use FILE as grub-setup")"
|
||||
printf " --grub-mkimage=%-9s%s\n" "$(gettext "FILE")" "$(gettext "use FILE as grub-mkimage")"
|
||||
|
@ -99,7 +102,7 @@ usage () {
|
|||
printf " --allow-floppy %s\n" "$(gettext "make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.")"
|
||||
printf " --recheck %s\n" "$(gettext "delete device map if it already exists")"
|
||||
printf " --force %s\n" "$(gettext "install even if problems are detected")"
|
||||
printf " --force-file-id %s\n" "$(gettext "use ID file even if UUID is available")"
|
||||
printf " --force-file-id %s\n" "$(gettext "use identifier file even if UUID is available")"
|
||||
printf " --disk-module=%-10s%s\n" "$(gettext "MODULE")" "$(gettext "disk module to use (biosdisk or native). This option is only available on BIOS target")"
|
||||
printf " --no-nvram %s\n" "$(gettext "don't update the \`boot-device' NVRAM variable. This option is only available on IEEE1275 targets.")"
|
||||
printf " --removable %s\n" "$(gettext "the installation device is removable. This option is only available on EFI.")"
|
||||
|
@ -613,7 +616,7 @@ if [ "x${devabstraction_module}" = "x" ] ; then
|
|||
elif [ x"$grub_modinfo_platform" = xloongson ] || [ x"$grub_modinfo_platform" = xqemu ] || [ x"$grub_modinfo_platform" = xcoreboot ] || [ x"$grub_modinfo_platform" = xmultiboot ] || [ x"$grub_modinfo_platform" = xqemu-mips ]; then
|
||||
hints="`echo "${grub_device}" | xargs "$grub_probe" --device-map="${device_map}" --target=baremetal_hints --device`"
|
||||
else
|
||||
gettext "No hints available for your platform. Expect reduced performance" 1>&2
|
||||
gettext "No hints available for your platform. Expect reduced performance." 1>&2
|
||||
echo 1>&2
|
||||
hints=
|
||||
fi
|
||||
|
@ -746,7 +749,7 @@ elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ]
|
|||
fi
|
||||
elif [ x"${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = xmips-arc ]; then
|
||||
dvhtool -d "${install_device}" --unix-to-vh "{grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" grub
|
||||
gettext "You will have to set SystemPartition and OSLoader manually." 1>&2
|
||||
gettext "You will have to set \`SystemPartition' and \`OSLoader' manually." 1>&2
|
||||
echo 1>&2
|
||||
elif [ x"$grub_modinfo_platform" = xefi ]; then
|
||||
cp "${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" "${efidir}/${efi_file}"
|
||||
|
|
|
@ -111,7 +111,7 @@ do
|
|||
done
|
||||
|
||||
if test "x$entry" = x; then
|
||||
gettext "menu entry not specified." 1>&2
|
||||
gettext "Menu entry not specified." 1>&2
|
||||
echo >&2
|
||||
usage
|
||||
exit 1
|
||||
|
|
|
@ -111,7 +111,7 @@ do
|
|||
done
|
||||
|
||||
if test "x$entry" = x; then
|
||||
gettext "menu entry not specified." 1>&2
|
||||
gettext "Menu entry not specified." 1>&2
|
||||
echo >&2
|
||||
usage
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue