]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Mark few forgotten strings for translation.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 7 May 2013 09:41:47 +0000 (11:41 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 7 May 2013 09:41:47 +0000 (11:41 +0200)
ChangeLog
grub-core/commands/acpihalt.c
grub-core/commands/nativedisk.c
grub-core/loader/i386/pc/freedos.c
grub-core/normal/misc.c
util/grub-render-label.c

index fc647b886e3ae5df92994236f3c531072df9a1b0..9c8a14a11866243e150a97c70bc443ef08013146 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index a8014de14f992ac3ca880563392cad90117f9be9..6f156fd058a7033cb1378acfa8cafae1efbd60ef 100644 (file)
@@ -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;
index 453faadeafebcc4660998dbe58e2dd1da5e1afcb..71d7bc4103d252af42672e4f0b6b3c1d52d089fd 100644 (file)
@@ -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"));
 }
 
index e685c6e1dd2542761f5d8f295694cab2e10f0fa7..478f3c5139d43654c0d7bdc4bbe2a6d8e58cb1a0 100644 (file)
@@ -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;
     }
 
index bc6ce170b5d53403311565f7b55c23783e14ea13..34d505edada020f291545d54b2453e088cf49282 100644 (file)
@@ -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);
     }
index 32d37746dcf1c4436fc8fc06ca50780d72581baa..1b28ab7db3e4d1854ea7610af51269f142acbed1 100644 (file)
@@ -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':