Improve gettext support. Stylistic fixes and error handling fixes while
on it.
This commit is contained in:
parent
215c90cb82
commit
9c4b5c13e6
184 changed files with 1175 additions and 959 deletions
|
@ -263,7 +263,8 @@ grub_normal_auth_init (void)
|
|||
{
|
||||
cmd = grub_register_command ("authenticate",
|
||||
grub_cmd_authenticate,
|
||||
N_("[USERLIST]"), N_("Authenticate users"));
|
||||
N_("[USERLIST]"),
|
||||
N_("Check whether user is in USERLIST."));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ grub_utf8_process (grub_uint8_t c, grub_uint32_t *code, int *count)
|
|||
at least DESTSIZE characters. If an invalid sequence is found, return -1.
|
||||
If SRCEND is not NULL, then *SRCEND is set to the next byte after the
|
||||
last byte used in SRC. */
|
||||
grub_ssize_t
|
||||
grub_size_t
|
||||
grub_utf8_to_utf16 (grub_uint16_t *dest, grub_size_t destsize,
|
||||
const grub_uint8_t *src, grub_size_t srcsize,
|
||||
const grub_uint8_t **srcend)
|
||||
|
|
|
@ -157,8 +157,8 @@ read_command_list (const char *prefix)
|
|||
GRUB_COMMAND_FLAG_BLOCKS
|
||||
| GRUB_COMMAND_FLAG_EXTCMD
|
||||
| GRUB_COMMAND_FLAG_DYNCMD,
|
||||
0, N_("not loaded"), 0,
|
||||
prio);
|
||||
0, N_("module isn't loaded"),
|
||||
0, prio);
|
||||
if (! cmd)
|
||||
{
|
||||
grub_free (name);
|
||||
|
|
|
@ -109,7 +109,7 @@ grub_normal_print_device_info (const char *name)
|
|||
}
|
||||
}
|
||||
else
|
||||
grub_printf ("%s", _("Not a known filesystem"));
|
||||
grub_printf ("%s", _("No known filesystem detected"));
|
||||
|
||||
if (dev->disk->partition)
|
||||
grub_printf (_(" - Partition start at %llu"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue