diff --git a/ChangeLog b/ChangeLog index fc647b886..9c8a14a11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-05-07 Vladimir Serbinenko + + Mark few forgotten strings for translation. + 2013-05-07 Vladimir Serbinenko * grub-core/loader/linux.c: Use grub_dprintf for debug statements diff --git a/grub-core/commands/acpihalt.c b/grub-core/commands/acpihalt.c index a8014de14..6f156fd05 100644 --- a/grub-core/commands/acpihalt.c +++ b/grub-core/commands/acpihalt.c @@ -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; diff --git a/grub-core/commands/nativedisk.c b/grub-core/commands/nativedisk.c index 453faadea..71d7bc410 100644 --- a/grub-core/commands/nativedisk.c +++ b/grub-core/commands/nativedisk.c @@ -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")); } diff --git a/grub-core/loader/i386/pc/freedos.c b/grub-core/loader/i386/pc/freedos.c index e685c6e1d..478f3c513 100644 --- a/grub-core/loader/i386/pc/freedos.c +++ b/grub-core/loader/i386/pc/freedos.c @@ -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; } diff --git a/grub-core/normal/misc.c b/grub-core/normal/misc.c index bc6ce170b..34d505eda 100644 --- a/grub-core/normal/misc.c +++ b/grub-core/normal/misc.c @@ -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); } diff --git a/util/grub-render-label.c b/util/grub-render-label.c index 32d37746d..1b28ab7db 100644 --- a/util/grub-render-label.c +++ b/util/grub-render-label.c @@ -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':