Mark few forgotten strings for translation.
This commit is contained in:
parent
e34092fdf1
commit
d22840ec12
6 changed files with 14 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Mark few forgotten strings for translation.
|
||||
|
||||
2013-05-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/loader/linux.c: Use grub_dprintf for debug statements
|
||||
|
|
|
@ -311,13 +311,13 @@ main (int argc, char **argv)
|
|||
buf = malloc (len);
|
||||
if (!buf)
|
||||
{
|
||||
printf ("Couldn't malloc buffer\n");
|
||||
printf (_("error: %s.\n"), _("out of memory"));
|
||||
fclose (f);
|
||||
return 2;
|
||||
}
|
||||
if (fread (buf, 1, len, f) != len)
|
||||
{
|
||||
printf ("Read failed\n");
|
||||
printf (_("cannot read `%s': %s"), strerror (errno));
|
||||
free (buf);
|
||||
fclose (f);
|
||||
return 2;
|
||||
|
|
|
@ -301,7 +301,7 @@ static grub_command_t cmd;
|
|||
|
||||
GRUB_MOD_INIT(nativedisk)
|
||||
{
|
||||
cmd = grub_register_command ("nativedisk", grub_cmd_nativedisk, "[MODULE1 MODULE2 ...]",
|
||||
cmd = grub_register_command ("nativedisk", grub_cmd_nativedisk, N_("[MODULE1 MODULE2 ...]"),
|
||||
N_("Switch to native disk drivers. If no modules are specified default set (pata,ahci,usbms,ohci,uhci,ehci) is used"));
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ grub_cmd_freedos (grub_command_t cmd __attribute__ ((unused)),
|
|||
if (kernelsyssize > GRUB_FREEDOS_MAX_SIZE)
|
||||
{
|
||||
grub_error (GRUB_ERR_BAD_OS,
|
||||
N_("file `%s' is too large"), argv[0]);
|
||||
N_("the size of `%s' is too large"), argv[0]);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
|
|
@ -181,7 +181,9 @@ grub_normal_print_device_info (const char *name)
|
|||
else
|
||||
grub_printf (_(" - Total size %llu%sKiB"),
|
||||
(unsigned long long) (grub_disk_get_size (dev->disk) >> 1),
|
||||
(grub_disk_get_size (dev->disk) & 1) ? ".5" : "");
|
||||
/* TRANSLATORS: Replace dot with appropriate decimal separator for
|
||||
your language. */
|
||||
(grub_disk_get_size (dev->disk) & 1) ? _(".5") : "");
|
||||
|
||||
grub_device_close (dev);
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ static struct argp_option options[] = {
|
|||
{"bgcolor", 'b', N_("COLOR"), 0,
|
||||
N_("use COLOR for background"), 0},
|
||||
{"text", 't', N_("STR"), 0,
|
||||
N_("supply the string."), 0},
|
||||
N_("set the label to render."), 0},
|
||||
{"output", 'o', N_("FILE"), 0,
|
||||
N_("set output filename. Default is STDOUT"), 0},
|
||||
{"font", 'f', N_("FILE"), 0,
|
||||
|
@ -89,13 +89,13 @@ argp_parser (int key, char *arg, struct argp_state *state)
|
|||
case 'b':
|
||||
err = grub_video_parse_color (arg, &arguments->bgcolor);
|
||||
if (err)
|
||||
grub_util_error (_("Invalud color `%s'"), arg);
|
||||
grub_util_error (_("invalid color specification `%s'"), arg);
|
||||
break;
|
||||
|
||||
case 'c':
|
||||
err = grub_video_parse_color (arg, &arguments->fgcolor);
|
||||
if (err)
|
||||
grub_util_error (_("Invalud color `%s'"), arg);
|
||||
grub_util_error (_("invalid color specification `%s'"), arg);
|
||||
break;
|
||||
|
||||
case 'f':
|
||||
|
|
Loading…
Reference in a new issue