]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Another round of string clarification and adding TRANSLATORS comments.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 16:28:05 +0000 (17:28 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 26 Feb 2012 16:28:05 +0000 (17:28 +0100)
56 files changed:
ChangeLog
grub-core/commands/configfile.c
grub-core/commands/i386/pc/drivemap.c
grub-core/commands/i386/pc/play.c
grub-core/commands/keystatus.c
grub-core/commands/legacycfg.c
grub-core/commands/lsacpi.c
grub-core/commands/menuentry.c
grub-core/commands/mips/loongson/lsspd.c
grub-core/commands/password_pbkdf2.c
grub-core/commands/sleep.c
grub-core/commands/videoinfo.c
grub-core/disk/i386/pc/biosdisk.c
grub-core/disk/ldm.c
grub-core/disk/scsi.c
grub-core/fs/zfs/zfsinfo.c
grub-core/gettext/gettext.c
grub-core/kern/dl.c
grub-core/kern/elf.c
grub-core/kern/emu/hostdisk.c
grub-core/kern/emu/main.c
grub-core/kern/emu/misc.c
grub-core/kern/i386/dl.c
grub-core/kern/ia64/dl.c
grub-core/kern/mips/dl.c
grub-core/kern/powerpc/dl.c
grub-core/kern/sparc64/dl.c
grub-core/kern/x86_64/dl.c
grub-core/loader/i386/bsd.c
grub-core/loader/i386/bsdXX.c
grub-core/loader/i386/linux.c
grub-core/loader/i386/pc/plan9.c
grub-core/loader/ia64/efi/linux.c
grub-core/loader/mips/linux.c
grub-core/loader/multiboot.c
grub-core/loader/multiboot_elfxx.c
grub-core/loader/powerpc/ieee1275/linux.c
grub-core/loader/sparc64/ieee1275/linux.c
grub-core/loader/xnu.c
grub-core/partmap/gpt.c
grub-core/script/execute.c
util/getroot.c
util/grub-install.in
util/grub-mkimage.c
util/grub-mkpasswd-pbkdf2.c
util/grub-mkrelpath.c
util/grub-mkrescue.in
util/grub-mkstandalone.in
util/grub-probe.c
util/grub-reboot.in
util/grub-script-check.c
util/grub-set-default.in
util/grub-setup.c
util/grub.d/10_linux.in
util/grub.d/20_linux_xen.in
util/powerpc/ieee1275/grub-mkrescue.in

index f850b8606325578c43da7779586c48abcb788261..539575f3f0b99934358045329e0a695feef6402a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-25  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Another round of string clarification and adding TRANSLATORS comments.
+
 2012-02-25  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-mknetdir.in: Remove erroneous reference to install_device.
index 17ab397bf8a30e618614146c556f46847283b404..99c0a2479000263aa9ff53797502496174ac63b1 100644 (file)
@@ -72,13 +72,13 @@ GRUB_MOD_INIT(configfile)
   cmd_extractor_source =
     grub_register_command ("extract_entries_source", grub_cmd_source,
                           N_("FILE"),
-                          N_("Load another config file without changing context but take only menuentries.")
+                          N_("Load another config file without changing context but take only menu entries.")
                           );
 
   cmd_extractor_configfile =
     grub_register_command ("extract_entries_configfile", grub_cmd_source,
                           N_("FILE"),
-                          N_("Load another config file without changing context but take only menuentries.")
+                          N_("Load another config file without changing context but take only menu entries.")
                           );
 
   cmd_dot =
index c19c9ef621b3d5b1cfcd2867f65b3862ca0a00b0..54e08e3d220ebd58d6297a4328fd5610622c9f3c 100644 (file)
@@ -36,6 +36,10 @@ static grub_uint32_t *const int13slot = (grub_uint32_t *) (4 * 0x13);
 
 /* Remember to update enum opt_idxs accordingly.  */
 static const struct grub_arg_option options[] = {
+  /* TRANSLATORS: In this file "mapping" refers to a change GRUB makes so if
+     your language doesn't have an equivalent of "mapping" you can
+     use the word like "rerouting".
+   */
   {"list", 'l', 0, N_("Show the current mappings."), 0, 0},
   {"reset", 'r', 0, N_("Reset all mappings to the default values."), 0, 0},
   {"swap", 's', 0, N_("Perform both direct and reverse mappings."), 0, 0},
index 6ca17a181451b2404bbd6d39a6f01208e33b058a..5ceff66bfcdc698362547bc3d95bdeae6063ac3e 100644 (file)
@@ -183,6 +183,8 @@ grub_cmd_play (grub_command_t cmd __attribute__ ((unused)),
 
   if (argc < 1)
     return grub_error (GRUB_ERR_BAD_ARGUMENT, 
+                      /* TRANSLATORS: it's musical notes, not the notes
+                         you take.  */
                       N_("filename or tempo and notes expected"));
 
   if (argc == 1)
index f4aceae89322fa7019d147be9065a7b366a5e87e..6f706ae4064daae8eb553ffbf349ea70b0ad1389 100644 (file)
@@ -100,6 +100,7 @@ GRUB_MOD_INIT(keystatus)
 {
   cmd = grub_register_extcmd ("keystatus", grub_cmd_keystatus, 0,
                              "[--shift] [--ctrl] [--alt]",
+                             /* TRANSLATORS: there are 3 modifiers.  */
                              N_("Check key modifier status."),
                              options);
 }
index ff6ee17fb4ea19d190f52e23dd0362434cb0fc37..e8a58f75c9a22f8327959461de84ce17e6aaa0ed 100644 (file)
@@ -808,7 +808,7 @@ GRUB_MOD_INIT(legacycfg)
   cmd_check_password = grub_register_command ("legacy_check_password",
                                              grub_cmd_legacy_check_password,
                                              N_("[--md5] PASSWD [FILE]"),
-                                             N_("Simulate grub-legacy `password' command in menuentry mode"));
+                                             N_("Simulate grub-legacy `password' command in menu entry mode"));
 
 }
 
index c38df8945c0d2f735d91237e3e597a544e8830bf..8944aa8bfc13a3f7b64b71563dbaf421f576332c 100644 (file)
@@ -197,8 +197,8 @@ disp_acpi_rsdpv2 (struct grub_acpi_rsdp_v20 *rsdp)
 }
 
 static const struct grub_arg_option options[] = {
-  {"v1", '1', 0, N_("Show v1 tables only."), 0, ARG_TYPE_NONE},
-  {"v2", '2', 0, N_("Show v2 and v3 tables only."), 0, ARG_TYPE_NONE}
+  {"v1", '1', 0, N_("Show version 1 tables only."), 0, ARG_TYPE_NONE},
+  {"v2", '2', 0, N_("Show version 2 and version 3 tables only."), 0, ARG_TYPE_NONE}
 };
 
 static grub_err_t
index 108062e6afc78cba9de7fcf0f7fd9a33d486567a..a607c101ef2aa74ad9f677e20d2e9afe218252b7 100644 (file)
@@ -292,7 +292,7 @@ grub_menu_init (void)
   cmd = grub_register_extcmd ("menuentry", grub_cmd_menuentry,
                              GRUB_COMMAND_FLAG_BLOCKS
                              | GRUB_COMMAND_FLAG_EXTRACTOR,
-                             N_("BLOCK"), N_("Define a menuentry."), options);
+                             N_("BLOCK"), N_("Define a menu entry."), options);
   cmd_sub = grub_register_extcmd ("submenu", grub_cmd_menuentry,
                                  GRUB_COMMAND_FLAG_BLOCKS
                                  | GRUB_COMMAND_FLAG_EXTRACTOR,
index 002df4a2a0932247e938cf15208c2627cdb16193..d4870a2b245d95c1f56e6375963ab15e485e3e97 100644 (file)
@@ -57,6 +57,9 @@ grub_cmd_lsspd (grub_command_t cmd __attribute__ ((unused)),
     {
       struct grub_smbus_spd spd;
       grub_memset (&spd, 0, sizeof (spd));
+      /* TRANSLATORS: it's shown in a report in a way
+        like number 1: ... number 2: ...
+       */
       grub_printf_ (N_("RAM slot number %d\n"), i);
       err = grub_cs5536_read_spd (smbbase, i, &spd);
       if (err)
index 0c627da2f691a7c40f86dd41d07e80064216ae3f..0dd1aef3d9957fd6906f72dca13000faec50daac 100644 (file)
@@ -139,6 +139,10 @@ grub_cmd_password (grub_command_t cmd __attribute__ ((unused)),
          grub_free (pass->salt);
          grub_free (pass);
          return grub_error (GRUB_ERR_BAD_ARGUMENT,
+                            /* TRANSLATORS: it means that the string which
+                               was supposed to be a password hash doesn't
+                               have a correct format, not to password
+                               mismatch.  */
                             N_("invalid PBKDF2 password"));
        }
 
index 5b51d3b21c6e07419bb8fa9e14184736f9733517..47aa1bfce2863f7c9edbc982c2e03fc0ec53ec40 100644 (file)
@@ -30,7 +30,7 @@ GRUB_MOD_LICENSE ("GPLv3+");
 static const struct grub_arg_option options[] =
   {
     {"verbose", 'v', 0, N_("Verbose countdown."), 0, 0},
-    {"interruptible", 'i', 0, N_("Interruptible with ESC."), 0, 0},
+    {"interruptible", 'i', 0, N_("Allow to interrupt with ESC."), 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index 7d2b0dac7fdb639a2b79c8bfefdf38f8cb20b71a..358cd80ea17cf95d094794914f6a518fc804845c 100644 (file)
@@ -79,7 +79,7 @@ hook (const struct grub_video_mode_info *info)
   if (info->mode_type & GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP)
     grub_xputs (_("Monochrome "));
   if (info->mode_type & GRUB_VIDEO_MODE_TYPE_UNKNOWN)
-    grub_xputs (_("Unknown "));
+    grub_xputs (_("Unknown video mode "));
 
   grub_xputs ("\n");
 
index 8f40f8d17b3a625a1c97dda6aaa9acfb706ee618..7ca89e3f77c840a61f1b1f0742de5b312fbc3514 100644 (file)
@@ -465,7 +465,7 @@ grub_biosdisk_rw (int cmd, grub_disk_t disk,
          int i;
 
          if (cmd)
-           return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write to cdrom"));
+           return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write to CD-ROM"));
 
          for (i = 0; i < GRUB_BIOSDISK_CDROM_RETRY_COUNT; i++)
             if (! grub_biosdisk_rw_int13_extensions (0x42, data->drive, dap))
@@ -589,7 +589,7 @@ grub_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector,
   struct grub_biosdisk_data *data = disk->data;
 
   if (data->flags & GRUB_BIOSDISK_FLAG_CDROM)
-    return grub_error (GRUB_ERR_IO, N_("cannot write to cdrom"));
+    return grub_error (GRUB_ERR_IO, N_("cannot write to CD-ROM"));
 
   while (size)
     {
index 8e5d0740229ff8859e855da9245821316c2ca39a..0fd8537922976c914d447c353c9b5419fa5f5aa8 100644 (file)
@@ -962,7 +962,9 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
 #endif
       if (lv->size < *nsectors)
        return grub_error (GRUB_ERR_OUT_OF_RANGE,
-                          N_("your LDM embed Partition is too small;"
+                          /* TRANSLATORS: it's a partition for embedding,
+                             not a partition embed into something.  */
+                          N_("your LDM embedding Partition is too small;"
                              " embedding won't be possible"));
       *nsectors = lv->size;
       *sectors = grub_malloc (*nsectors * sizeof (**sectors));
@@ -976,6 +978,8 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
     }
 
   return grub_error (GRUB_ERR_FILE_NOT_FOUND,
+                    /* TRANSLATORS: it's a partition for embedding,
+                       not a partition embed into something.  */
                     N_("this LDM has no Embedding Partition;"
                        " embedding won't be possible"));
 }
index 37c5ad3b31c6d7b236223a2fc8a64932e6e818ac..29dd0d3b8c89a4c4d4dd14ea83937ee6f9c6547f 100644 (file)
@@ -719,7 +719,7 @@ grub_scsi_write (grub_disk_t disk __attribute((unused)),
   scsi = disk->data;
 
   if (scsi->devtype == grub_scsi_devtype_cdrom)
-    return grub_error (GRUB_ERR_IO, N_("cannot write to cdrom"));
+    return grub_error (GRUB_ERR_IO, N_("cannot write to CD-ROM"));
 
   while (size)
     {
index ef7a22195063cde564ab65c44a87834c903025ff..44f76e24af302a2c8830a894819cc446d278c971 100644 (file)
@@ -153,11 +153,11 @@ print_vdev_info (char *nvlist, int tab)
          print_tabs (tab);
          if (!child)
            {
-             grub_printf_ (N_("Mirror element %d isn't correct\n"), i);
+             grub_printf_ (N_("Mirror element number %d isn't correct\n"), i);
              continue;
            }
 
-         grub_printf_ (N_("Mirror element %d:\n"), i);
+         grub_printf_ (N_("Mirror element number %d:\n"), i);
          print_vdev_info (child, tab + 1);
 
          grub_free (child);
@@ -299,6 +299,9 @@ grub_cmd_zfsinfo (grub_command_t cmd __attribute__ ((unused)), int argc,
   nv = grub_zfs_nvlist_lookup_nvlist (nvlist, ZPOOL_CONFIG_VDEV_TREE);
 
   if (!nv)
+    /* TRANSLATORS: There are undetermined number of virtual devices
+       in a device tree, not just one.
+     */
     grub_puts_ (N_("No virtual device tree available"));
   else
     print_vdev_info (nv, 1);
@@ -401,7 +404,7 @@ GRUB_MOD_INIT (zfsinfo)
                                    N_("Print ZFS info about DEVICE."));
   cmd_bootfs = grub_register_command ("zfs-bootfs", grub_cmd_zfs_bootfs,
                                      N_("FILESYSTEM [VARIABLE]"),
-                                     N_("Print ZFS-BOOTFSOBJ or set it to VARIABLE"));
+                                     N_("Print ZFS-BOOTFSOBJ or store it into VARIABLE"));
 }
 
 GRUB_MOD_FINI (zfsinfo)
index d11ace7e82043671e162dfe57b6527282bbdef26..46fe107adc66b9bd97db2fb4326d5101248ac3a0 100644 (file)
@@ -391,6 +391,10 @@ GRUB_MOD_INIT (gettext)
 
   grub_register_command_p1 ("gettext", grub_cmd_translate,
                            N_("STRING"),
+                           /* TRANSLATORS: It refers to passing the string through gettext.
+                              So it's "translate" in the same meaning as in what you're 
+                              doing now.
+                            */
                            N_("Translates the string with the current settings."));
 
   /* Reload .mo file information if lang changes.  */
index aff4c095b0ee77824fdc0ce754234090f6df47ab..cb7f82986d26094620aab7948650abd4d7ea8efc 100644 (file)
@@ -224,7 +224,7 @@ grub_dl_check_header (void *ehdr, grub_size_t size)
       || e->e_ident[EI_MAG3] != ELFMAG3
       || e->e_ident[EI_VERSION] != EV_CURRENT
       || e->e_version != EV_CURRENT)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch independent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic"));
 
   err = grub_arch_dl_check_header (ehdr);
   if (err)
index dcf10c64e82f19bbe3ce93dd74dfadb12c105d01..682cfbdb2745a503817ba61439f9f661a8c34d78 100644 (file)
@@ -40,7 +40,7 @@ grub_elf_check_header (grub_elf_t elf)
       || e->e_ident[EI_MAG3] != ELFMAG3
       || e->e_ident[EI_VERSION] != EV_CURRENT
       || e->e_version != EV_CURRENT)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch independent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index bd8c2816e71f12024f6ee15af5908c73530809fe..6c903d49595afc7ad13bee8fe23979f844f8851d 100644 (file)
@@ -772,6 +772,7 @@ grub_hostdisk_os_dev_to_grub_drive (const char *os_disk, int add)
     return NULL;
 
   if (i == ARRAY_SIZE (map))
+    /* TRANSLATORS: it refers to the lack of free slots.  */
     grub_util_error ("%s", _("device count exceeds limit"));
 
   map[i].device = xstrdup (os_disk);
@@ -1192,7 +1193,7 @@ read_device_map (const char *dev_map)
       /* Find a free slot.  */
       drive = find_free_slot ();
       if (drive < 0)
-       show_error (_("Map table size exceeded"));
+       show_error (_("device count exceeds limit"));
 
       e = p;
       p = strchr (p, ')');
index 941ece0620fd92471f81c112d8b0200d649406a9..009c643eaf67568b83403fa032cf6a1a81fe1528 100644 (file)
@@ -85,6 +85,7 @@ grub_machine_fini (void)
 static struct argp_option options[] = {
   {"root",      'r', N_("DEVICE_NAME"), 0, N_("Set root device."), 2},
   {"device-map",  'm', N_("FILE"), 0,
+   /* TRANSLATORS: There are many devices in device map.  */
    N_("use FILE as the device map [default=%s]"), 0},
   {"directory",  'd', N_("DIR"), 0,
    N_("use GRUB files in the directory DIR [default=%s]"), 0},
@@ -143,7 +144,8 @@ argp_parser (int key, char *arg, struct argp_state *state)
     case ARGP_KEY_ARG:
       {
        /* Too many arguments. */
-       fprintf (stderr, _("Unknown extra argument `%s'.\n"), arg);
+       fprintf (stderr, _("Unknown extra argument `%s'."), arg);
+       fprintf (stderr, "\n");
        argp_usage (state);
       }
       break;
index 53753a818600e6c10ce2817a437bbd0804ee2119..21954ed50d209d76504153aa74e0e80291168d9d 100644 (file)
@@ -70,7 +70,7 @@ grub_util_warn (const char *fmt, ...)
 {
   va_list ap;
 
-  fprintf (stderr, _("%s: warn:"), program_name);
+  fprintf (stderr, _("%s: warning:"), program_name);
   fprintf (stderr, " ");
   va_start (ap, fmt);
   vfprintf (stderr, fmt, ap);
index 73035c9ea3b1173f2bee66b99ef8a4110c2e91f4..c5539cb051275e27d53cd83b5409215e9e7d0935 100644 (file)
@@ -33,7 +33,7 @@ grub_arch_dl_check_header (void *ehdr)
   if (e->e_ident[EI_CLASS] != ELFCLASS32
       || e->e_ident[EI_DATA] != ELFDATA2LSB
       || e->e_machine != EM_386)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index 39b77cedad2b63f6be6a9ff6a42c35517a4746cb..7c22b0b067757eacf255c8116066a997be3b1a3b 100644 (file)
@@ -34,7 +34,7 @@ grub_arch_dl_check_header (void *ehdr)
   if (e->e_ident[EI_CLASS] != ELFCLASS64
       || e->e_ident[EI_DATA] != ELFDATA2LSB
       || e->e_machine != EM_IA_64)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index 22b23d654c4319b31eb5e0f69944daf0a6761602..ee65c9d18ca8ec0ca24e00cdbd7978a5089b342b 100644 (file)
@@ -44,7 +44,7 @@ grub_arch_dl_check_header (void *ehdr)
       || e->e_ident[EI_DATA] != ELFDATA2LSB
       || e->e_machine != EM_MIPS)
 #endif
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index 5b1db338c55e80a304e013895da5847f6b949c04..b8a2b500969d91b6ebdc26d5f421ef946a13c5f5 100644 (file)
@@ -33,7 +33,7 @@ grub_arch_dl_check_header (void *ehdr)
   if (e->e_ident[EI_CLASS] != ELFCLASS32
       || e->e_ident[EI_DATA] != ELFDATA2MSB
       || e->e_machine != EM_PPC)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index a0c1837d0d961e7ba50d99a3d9e9e766262acad1..d188c4f23cc5dfa3845e28657bf47a9aa6a101bc 100644 (file)
@@ -33,7 +33,7 @@ grub_arch_dl_check_header (void *ehdr)
   if (e->e_ident[EI_CLASS] != ELFCLASS64
       || e->e_ident[EI_DATA] != ELFDATA2MSB
       || e->e_machine != EM_SPARCV9)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index cf3adf9d0b4946a2d708dd58215069fef5286218..65f09ef53ddec288679832c58ae72ba22cef5c58 100644 (file)
@@ -33,7 +33,7 @@ grub_arch_dl_check_header (void *ehdr)
   if (e->e_ident[EI_CLASS] != ELFCLASS64
       || e->e_ident[EI_DATA] != ELFDATA2LSB
       || e->e_machine != EM_X86_64)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   return GRUB_ERR_NONE;
 }
index 5fa06c31aba0046498876b2e5872f49b060e7638..5626d36a19d7aac491d1d065aea6caeba7325151 100644 (file)
@@ -99,7 +99,7 @@ static const struct grub_arg_option freebsd_opts[] =
     {"dual", 'D', 0, N_("Display output on all consoles."), 0, 0},
     {"serial", 'h', 0, N_("Use serial console."), 0, 0},
     {"askname", 'a', 0, N_("Ask for file name to reboot from."), 0, 0},
-    {"cdrom", 'C', 0, N_("Use CDROM as root."), 0, 0},
+    {"cdrom", 'C', 0, N_("Use CD-ROM as root."), 0, 0},
     {"config", 'c', 0, N_("Invoke user configuration routing."), 0, 0},
     {"kdb", 'd', 0, N_("Enter in KDB on boot."), 0, 0},
     {"gdb", 'g', 0, N_("Use GDB remote debugger instead of DDB."), 0, 0},
@@ -1399,7 +1399,7 @@ grub_bsd_load_elf (grub_elf_t elf, const char *filename)
                                          kern_chunk_src, &openbsd_ramdisk);
     }
   else
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 }
 
 static grub_err_t
@@ -2082,6 +2082,8 @@ GRUB_MOD_INIT (bsd)
 
   cmd_openbsd_ramdisk = grub_register_command ("kopenbsd_ramdisk",
                                               grub_cmd_openbsd_ramdisk, 0,
+                                              /* TRANSLATORS: ramdisk isn't identifier,
+                                               it can be translated.  */
                                               N_("Load kOpenBSD ramdisk."));
 
   my_mod = mod;
index f28c53cc5d3d8655aa4933e9a9d9e624ba72cc79..3f9f093845755a3955b6be1392bff8828afd1d5c 100644 (file)
@@ -43,10 +43,10 @@ read_headers (grub_file_t file, const char *filename, Elf_Ehdr *e, char **shdr)
       || e->e_ident[EI_MAG3] != ELFMAG3
       || e->e_ident[EI_VERSION] != EV_CURRENT
       || e->e_version != EV_CURRENT)
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch independent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-independent ELF magic"));
 
   if (e->e_ident[EI_CLASS] != SUFFIX (ELFCLASS))
-    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   *shdr = grub_malloc (e->e_shnum * e->e_shentsize);
   if (! *shdr)
index c0fb530ff1d618e382064c1418d002ba0f8cfc76..7a5a5161b4eab9ef0c671b1c5557b40378008d1f 100644 (file)
@@ -814,9 +814,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
          case GRUB_LINUX_VID_MODE_NORMAL:
            grub_env_set ("gfxpayload", "text");
            grub_printf_ (N_("%s is deprecated. "
-                            "Use set gfxpayload=text before "
-                            "linux command instead.\n"),
-                        argv[i]);
+                            "Use set gfxpayload=%s before "
+                            "linux command instead.\n"), "text",
+                         argv[i]);
            break;
 
          case 1:
@@ -824,9 +824,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
            /* FIXME: support 80x50 text. */
            grub_env_set ("gfxpayload", "text");
            grub_printf_ (N_("%s is deprecated. "
-                            "Use set gfxpayload=text before "
-                            "linux command instead.\n"),
-                        argv[i]);
+                            "Use set gfxpayload=%s before "
+                            "linux command instead.\n"), "text",
+                         argv[i]);
            break;
          default:
            /* Ignore invalid values.  */
index baf029f9083b0f65d5ecaa47c1757d74aa375347..1c021b22b8ed35c2166b3dc88fddd95a66556d62 100644 (file)
@@ -49,6 +49,12 @@ static grub_uint32_t eip = 0xffffffff;
 static const struct grub_arg_option options[] =
   {
     {"map", 'm', GRUB_ARG_OPTION_REPEATABLE,
+     /* TRANSLATORS: it's about guessing which GRUB disk
+       is which Plan9 disk. If your language has no
+       word "mapping" you can use another word which
+       means that the GRUBDEVICE and PLAN9DEVICE are
+       actually the same device, just named differently
+       in OS and GRUB.  */
      N_("Override guessed mapping of Plan9 devices."), 
      N_("GRUBDEVICE=PLAN9DEVICE"),
      ARG_TYPE_STRING},
index e4ba6a26988dc4f495b86c84a44c4eedf4249341..5301fa67ae81e06b84cfad8483a3d92544fab932 100644 (file)
@@ -372,13 +372,13 @@ grub_load_elf64 (grub_file_t file, void *buffer, const char *filename)
       || ehdr->e_ident[EI_MAG3] != ELFMAG3
       || ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
     return grub_error(GRUB_ERR_UNKNOWN_OS,
-                     N_("invalid arch independent ELF magic"));
+                     N_("invalid arch-independent ELF magic"));
 
   if (ehdr->e_ident[EI_CLASS] != ELFCLASS64
       || ehdr->e_version != EV_CURRENT
       || ehdr->e_machine != EM_IA_64)
     return grub_error (GRUB_ERR_UNKNOWN_OS,
-                      N_("invalid arch dependent ELF magic"));
+                      N_("invalid arch-dependent ELF magic"));
 
   if (ehdr->e_type != ET_EXEC)
     return grub_error (GRUB_ERR_UNKNOWN_OS,
index a988808c83f88585a97524914dd78119d03c7245..eddfb293c053c6a743b89a935271a5446f480eac 100644 (file)
@@ -323,7 +323,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
   if (grub_elf_is_elf64 (elf))
     err = grub_linux_load64 (elf, argv[0], &extra, size);
   else
-    err = grub_error (GRUB_ERR_BAD_OS, N_("invalid arch dependent ELF magic"));
+    err = grub_error (GRUB_ERR_BAD_OS, N_("invalid arch-dependent ELF magic"));
 
   grub_elf_close (elf);
 
index d8951ce9e1caa7a5bfe8cebd203d4cc333a7ca6f..f656cf530285ab3706bac35dd7346cd27d9249d5 100644 (file)
@@ -171,7 +171,7 @@ grub_multiboot_load_elf (grub_file_t file, const char *filename,
   else if (grub_multiboot_is_elf64 (buffer))
     return grub_multiboot_load_elf64 (file, filename, buffer);
 
-  return grub_error (GRUB_ERR_UNKNOWN_OS, N_("invalid arch dependent ELF magic"));
+  return grub_error (GRUB_ERR_UNKNOWN_OS, N_("invalid arch-dependent ELF magic"));
 }
 
 grub_err_t
index 3803bf37abd95b26d2b393549f62022c12375232..f38f37262243ca337c43e476d9275d48d1fdc1f8 100644 (file)
@@ -62,11 +62,11 @@ CONCAT(grub_multiboot_load_elf, XX) (grub_file_t file, const char *filename, voi
       || ehdr->e_ident[EI_MAG2] != ELFMAG2
       || ehdr->e_ident[EI_MAG3] != ELFMAG3
       || ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
-    return grub_error(GRUB_ERR_UNKNOWN_OS, N_("invalid arch independent ELF magic"));
+    return grub_error(GRUB_ERR_UNKNOWN_OS, N_("invalid arch-independent ELF magic"));
 
   if (ehdr->e_ident[EI_CLASS] != ELFCLASSXX || ehdr->e_machine != E_MACHINE
       || ehdr->e_version != EV_CURRENT)
-    return grub_error (GRUB_ERR_UNKNOWN_OS, N_("invalid arch dependent ELF magic"));
+    return grub_error (GRUB_ERR_UNKNOWN_OS, N_("invalid arch-dependent ELF magic"));
 
   if (ehdr->e_type != ET_EXEC && ehdr->e_type != ET_DYN)
     return grub_error (GRUB_ERR_UNKNOWN_OS, N_("this ELF file is not of the right type"));
index 4bb0ccb053b254ecb8fb426201548deca610bfa5..3929b0f37c76f45ea005188cc1d9c196d44d70d8 100644 (file)
@@ -280,7 +280,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
     grub_linux_load64 (elf, argv[0]);
   else
     {
-      grub_error (GRUB_ERR_BAD_FILE_TYPE, N_("invalid arch dependent ELF magic"));
+      grub_error (GRUB_ERR_BAD_FILE_TYPE, N_("invalid arch-dependent ELF magic"));
       goto out;
     }
 
index b321f356fe46843091ca1b654f377d989e6eef62..351a74cb5a1b52200adffe0befc7f0ed0a6f4978 100644 (file)
@@ -330,7 +330,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
     grub_linux_load64 (elf, argv[0]);
   else
     {
-      grub_error (GRUB_ERR_BAD_FILE_TYPE, N_("invalid arch dependent ELF magic"));
+      grub_error (GRUB_ERR_BAD_FILE_TYPE, N_("invalid arch-dependent ELF magic"));
       goto out;
     }
 
index bd44001884e6dd2d0771da5f3030bbc5a380183a..80dd1984ed771871df7115cd06fda4f84a3c47ce 100644 (file)
@@ -1460,8 +1460,11 @@ GRUB_MOD_INIT(xnu)
                                          GNU/Linux runlevels.
                                       */
                                       N_("DIRECTORY [OSBundleRequired]"),
+                                      /* TRANSLATORS: There are many extensions
+                                         in extension directory.  */
                                       N_("Load XNU extension directory."));
   cmd_ramdisk = grub_register_command ("xnu_ramdisk", grub_cmd_xnu_ramdisk, 0,
+   /* TRANSLATORS: ramdisk here isn't identifier. It can be translated.  */
                                       N_("Load XNU ramdisk. "
                                          "It will be available in OS as md0."));
   cmd_splash = grub_register_extcmd ("xnu_splash",
@@ -1472,7 +1475,7 @@ GRUB_MOD_INIT(xnu)
 #ifndef GRUB_MACHINE_EMU
   cmd_resume = grub_register_command ("xnu_resume", grub_cmd_xnu_resume,
                                      0, N_("Load an image of hibernated"
-                                           " XNU image."));
+                                           " XNU."));
 #endif
 
   grub_cpu_xnu_init ();
index db4b5d004f8226d8ecf78cb2b24d2eafeb3fc95a..8160b85d7d4ffdda5c57c1166115383bee348a6f 100644 (file)
@@ -174,7 +174,7 @@ gpt_partition_map_embed (struct grub_disk *disk_, unsigned int *nsectors,
 
   if (len == 0)
     return grub_error (GRUB_ERR_FILE_NOT_FOUND,
-                      N_("this GPT partition label has no BIOS Boot Partition;"
+                      N_("this GPT partition label contains no BIOS Boot Partition;"
                          " embedding won't be possible"));
 
   if (len < *nsectors)
index 27968e1829d7feca1c8fdfc5dbf06529eef3efce..466c3cfe7dfca00ecd6f47b5dc29996dde65e423 100644 (file)
@@ -167,6 +167,8 @@ grub_script_return (grub_command_t cmd __attribute__((unused)),
 
   if (! scope || argc > 1)
     return grub_error (GRUB_ERR_BAD_ARGUMENT,
+                      /* TRANSLATORS: it's about not being
+                         inside a function.  */
                       N_("not in function scope"));
 
   if (argc == 0)
index c93ecd59e4d9778bca417791fc9cf6aa280063fe..eb5bca15a506d9c36b060b310113d5fa76383bdc 100644 (file)
@@ -1234,7 +1234,7 @@ grub_util_pull_device (const char *os_dev)
                grub_err_t err;
                err = grub_cryptodisk_cheat_mount (grdev, os_dev);
                if (err)
-                 grub_util_error (_("can't mount crypto volume `%s': %s"),
+                 grub_util_error (_("can't mount encrypted volume `%s': %s"),
                                   lastsubdev, grub_errmsg);
              }
 
@@ -1279,7 +1279,7 @@ grub_util_pull_device (const char *os_dev)
                grub_err_t err;
                err = grub_cryptodisk_cheat_mount (grdev, os_dev);
                if (err)
-                 grub_util_error (_("can't mount crypto volume `%s': %s"),
+                 grub_util_error (_("can't mount encrypted volume `%s': %s"),
                                   lastsubdev, grub_errmsg);
              }
            grub_free (grdev);
index 9c8983f33948fccb3ed100ccf9372afbbfde3b48..a62d42b0b0b0934f366d0f1f1d6eeac4a43a6278 100644 (file)
@@ -87,9 +87,9 @@ fi
 usage () {
     if [ "${target_cpu}-${platform}" = "i386-pc" ] \
        || [ "${target_cpu}-${platform}" = "sparc64-ieee1275" ]; then
-       gettext_printf "Usage: %s [OPTION] install_device" "$self"
+       gettext_printf "Usage: %s [OPTION] INSTALL_DEVICE" "$self"
     else
-       gettext_printf "Usage: %s [OPTION] [install_device]" "$self"
+       gettext_printf "Usage: %s [OPTION] [INSTALL_DEVICE]" "$self"
     fi
     echo
     gettext "Install GRUB on your drive." ; echo
@@ -247,7 +247,7 @@ do
        ;;
     *)
        if test "x$install_device" != x; then
-           gettext "More than one install_devices?" 1>&2
+           gettext "More than one install device?" 1>&2
            echo 1>&2
            usage
            exit 1
index 78cf3f2813f66a35108ec8952013798fdd506401..91dfaaeb4083cfedcfba4151ec116214f929563e 100644 (file)
@@ -1353,6 +1353,7 @@ generate_image (const char *dir, const char *prefix,
       GRUB_MD_SHA512->final (context);
       if (grub_memcmp (GRUB_MD_SHA512->read (context), fwstart_good_hash,
                       GRUB_MD_SHA512->mdlen) != 0)
+       /* TRANSLATORS: fwstart.img may still be good, just it wasn't checked.  */
        grub_util_warn ("%s",
                        _("fwstart.img doesn't match the known good version. "
                          "proceed at your own risk"));
@@ -1639,9 +1640,13 @@ generate_image (const char *dir, const char *prefix,
 \f
 
 static struct argp_option options[] = {
-  {"directory",  'd', N_("DIR"), 0, N_("use images and modules under DIR [default=%s/<platform>]"), 0},
+  {"directory",  'd', N_("DIR"), 0,
+   /* TRANSLATORS: platform here isn't identifier. It can be translated.  */
+   N_("use images and modules under DIR [default=%s/<platform>]"), 0},
   {"prefix",  'p', N_("DIR"), 0, N_("set prefix directory [default=%s]"), 0},
-  {"memdisk",  'm', N_("FILE"), 0, N_("embed FILE as a memdisk image"), 0},
+  {"memdisk",  'm', N_("FILE"), 0,
+   /* TRANSLATORS: memdisk here isn't an identifier, it can be translated.  */
+   N_("embed FILE as a memdisk image"), 0},
   {"config",   'c', N_("FILE"), 0, N_("embed FILE as an early config"), 0},
   /* TRANSLATORS: NOTE is a name of segment.  */
   {"note",   'n', 0, 0, N_("add NOTE segment for CHRP IEEE1275"), 0},
index 681b76a6dce91dff0a71abfbbc4df533a72797c5..878d8b59d35f03af99d628bfd8f5943a07e63411 100644 (file)
@@ -166,6 +166,7 @@ main (int argc, char *argv[])
   memset (pass2, 0, sizeof (pass2));
 
 #if ! defined (__linux__) && ! defined (__FreeBSD__)
+  /* TRANSLATORS: The generator might still be secure just GRUB isn't sure about it.  */
   printf ("%s", _("WARNING: your random generator isn't known to be secure\n"));
 #endif
 
index f9d2c5a6f62299bee1dffb8accc0679f4b0fbe35..1e0c42f83b39b1db2f250bc6aff7a05e3e8176d5 100644 (file)
@@ -54,7 +54,8 @@ argp_parser (int key, char *arg, struct argp_state *state)
       else
        {
          /* Too many arguments. */
-         fprintf (stderr, _("Unknown extra argument `%s'.\n"), arg);
+         fprintf (stderr, _("Unknown extra argument `%s'."), arg);
+         fprintf (stderr, "\n");
          argp_usage (state);
        }
       break;
index cd57d41a0237c0d89ffe098499ed6c984066b631..320873025e34ef58fd3d18ca9cff77981897c058 100644 (file)
@@ -55,7 +55,7 @@ xorriso=xorriso
 # Print the usage.
 usage () {
     gettext_printf "Usage: %s [OPTION] SOURCE...\n" "$self"
-    gettext "Make GRUB CDROM, disk, pendrive and floppy bootable image."; echo
+    gettext "Make GRUB CD-ROM, disk, pendrive and floppy bootable image."; echo
     echo
     printf "  -h, --help              %s\n" "$(gettext "print this message and exit")"
     printf "  -v, --version           %s\n" "$(gettext "print the version information and exit")"
index 2351477970be5417640c885c6a66c2d1597bf4c2..adcaba61ae2112c7539556d3824e32b67abc981c 100644 (file)
@@ -57,6 +57,7 @@ usage () {
     printf "  -h, --help              %s\n" "$(gettext "print this message and exit")"
     printf "  -v, --version           %s\n" "$(gettext "print the version information and exit")"
     printf "  -o, --output=%-11s%s\n" "$(gettext FILE)" "$(gettext "save output in FILE [required]")"
+    # TRANSLATORS: platform here isn't identifier. It can be translated.
     dir_msg="$(gettext_printf "use images and modules under DIR [default=%s/<platform>]" "${libdir}/$(echo ${PACKAGE_TARNAME} | sed ${transform})")"
     printf "  -d, --directory=%-8s%s\n" \
        "DIR" "$dir_msg"
index 4db2b357e6e56d1c927a9cc74e00249416d6b3cd..8734366cd4d25be08e35f7a6cf71ec4fd7eb1fc8 100644 (file)
@@ -838,7 +838,8 @@ main (int argc, char *argv[])
   if (arguments.ndevices != 1 && !argument_is_device)
     {
       char *program = xstrdup(program_name);
-      fprintf (stderr, _("Unknown extra argument `%s'.\n"), argv[optind + 1]);
+      fprintf (stderr, _("Unknown extra argument `%s'."), arguments.devices[1]);
+      fprintf (stderr, "\n");
       argp_help (&argp, stderr, ARGP_HELP_STD_USAGE, program);
       free (program);
       exit(1);
index 1dfa382b88c2d82c902b20a3b4c02e69546bb429..a55ba5ab15c131943f9578179af91897f989c797 100644 (file)
@@ -42,15 +42,15 @@ grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'`
 # Usage: usage
 # Print the usage.
 usage () {
-    gettext_printf "Usage: %s [OPTION] entry\n" "$self"
-    gettext "Set the default boot entry for GRUB, for the next boot only."; echo
+    gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self"
+    gettext "Set the default boot menu entry for GRUB, for the next boot only."; echo
     echo
     printf "  -h, --help              %s\n" "$(gettext "print this message and exit")"
     printf "  -v, --version           %s\n" "$(gettext "print the version information and exit")"
     dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
     printf "  --boot-directory=%-7s%s\n" "$(gettext "DIR")" "$dirmsg"
     echo
-    gettext "ENTRY is a number or a menu item title."; echo
+    gettext "MENU_ENTRY is a number or a menu item title."; echo
     echo
     gettext "Report bugs to <bug-grub@gnu.org>."; echo
 }
@@ -92,13 +92,13 @@ do
     bootdir=`echo "$option" | sed 's/--boot-directory=//'` ;;
 
     -*)
-       gettext_printf "Unrecognized option \`%s'" "$option" 1>&2
+       gettext_printf "Unrecognized option \`%s'\n" "$option" 1>&2
        usage
        exit 1
        ;;
     *)
        if test "x$entry" != x; then
-           gettext "More than one entry?" 1>&2
+           gettext "More than one menu entry?" 1>&2
            echo >&2
            usage
            exit 1
@@ -108,7 +108,7 @@ do
 done
 
 if test "x$entry" = x; then
-    gettext "entry not specified." 1>&2
+    gettext "menu entry not specified." 1>&2
     echo >&2
     usage
     exit 1
index 97b9969ef368bd930dd864dc3513143dcdd77168..ceefbe05d813fc34f95337fad64cc608a17d0ecf 100644 (file)
@@ -68,7 +68,8 @@ argp_parser (int key, char *arg, struct argp_state *state)
       else
        {
          /* Too many arguments. */
-         fprintf (stderr, _("Unknown extra argument `%s'.\n"), arg);
+         fprintf (stderr, _("Unknown extra argument `%s'."), arg);
+         fprintf (stderr, "\n");
          argp_usage (state);
        }
       break;
index 49e7a4d1e985a752fcb57092b26eeef9737c522a..bc9a1c3bbec2fea2802f25b887747cc48b04f676 100644 (file)
@@ -42,15 +42,15 @@ grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'`
 # Usage: usage
 # Print the usage.
 usage () {
-    gettext_printf "Usage: %s [OPTION] entry\n" "$self"
-    gettext "Set the default boot entry for GRUB."; echo
+    gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self"
+    gettext "Set the default boot menu entry for GRUB."; echo
     echo
     printf "  -h, --help              %s\n" "$(gettext "print this message and exit")"
     printf "  -v, --version           %s\n" "$(gettext "print the version information and exit")"
     dirmsg="$(printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
     printf "  --boot-directory=%-7s%s\n" "$(gettext "DIR")" "$dirmsg"
     echo
-    gettext "ENTRY is a number or a menu item title."; echo
+    gettext "MENU_ENTRY is a number or a menu item title."; echo
     echo
     gettext "Report bugs to <bug-grub@gnu.org>."; echo
 }
@@ -92,13 +92,13 @@ do
     bootdir=`echo "$option" | sed 's/--boot-directory=//'` ;;
 
     -*)
-       gettext_printf "Unrecognized option \`%s'" "$option" 1>&2
+       gettext_printf "Unrecognized option \`%s'\n" "$option" 1>&2
        usage
        exit 1
        ;;
     *)
        if test "x$entry" != x; then
-           gettext "More than one entry?" 1>&2
+           gettext "More than one menu entry?" 1>&2
            echo >&2
            usage
            exit 1
@@ -108,7 +108,7 @@ do
 done
 
 if test "x$entry" = x; then
-    gettext "entry not specified." 1>&2
+    gettext "menu entry not specified." 1>&2
     echo >&2
     usage
     exit 1
index 9355e38684e43608859e3ef196141e582d0c2d57..f464cd7c68299a381b91cd966a63814ffdd9f52b 100644 (file)
@@ -381,6 +381,7 @@ setup (const char *dir,
          grub_util_error (_("unable to identify a filesystem in %s; safety check can't be performed"),
                           dest_dev->disk->name);
        if (fs && !fs->reserved_first_sector)
+         /* TRANSLATORS: Filesystem may reserve the space just GRUB isn't sure about it.  */
          grub_util_error (_("%s appears to contain a %s filesystem which isn't known to "
                             "reserve space for DOS-style boot.  Installing GRUB there could "
                             "result in FILESYSTEM DESTRUCTION if valuable data is overwritten "
@@ -393,6 +394,7 @@ setup (const char *dir,
            && strcmp (dest_partmap->name, "netbsd") != 0
            && strcmp (dest_partmap->name, "openbsd") != 0
            && strcmp (dest_partmap->name, "sunpc") != 0)
+         /* TRANSLATORS: Partition map may reserve the space just GRUB isn't sure about it.  */
          grub_util_error (_("%s appears to contain a %s partition map which isn't known to "
                             "reserve space for DOS-style boot.  Installing GRUB there could "
                             "result in FILESYSTEM DESTRUCTION if valuable data is overwritten "
@@ -853,7 +855,8 @@ argp_parser (int key, char *arg, struct argp_state *state)
         else
           {
             /* Too many arguments. */
-            fprintf (stderr, _("Unknown extra argument `%s'.\n"), arg);
+           fprintf (stderr, _("Unknown extra argument `%s'."), arg);
+           fprintf (stderr, "\n");
             argp_usage (state);
           }
         break;
index bc738f205fdf1afcba3ec2d7b61c2f86699da9e7..729c23c26bbc46136b891ad3e7511cc1c8f1dfac 100644 (file)
@@ -119,6 +119,7 @@ EOF
        linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
 EOF
   if test -n "${initrd}" ; then
+    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
     message="$(gettext_printf "Loading initial ramdisk ...")"
     cat << EOF
        echo    '$message'
index 56771abca4d3e85235448768613bb373d55a8503..e2cd247dd68b57a0c746c50569434df98e83f7b5 100644 (file)
@@ -98,6 +98,7 @@ linux_entry ()
        module  ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
 EOF
   if test -n "${initrd}" ; then
+    # TRANSLATORS: ramdisk isn't identifier. Should be translated.
     message="$(gettext_printf "Loading initial ramdisk ...")"
     cat << EOF
        echo    '$message'
index 7742906b3b6fb15ecf98fd0dda6fb1a1d7b3ebab..e9f825d2fbd6060d8f21a80e77085679745bf6d5 100644 (file)
@@ -46,7 +46,7 @@ grub_mkimage="${bindir}/`echo grub-mkimage | sed ${transform}`"
 # Print the usage.
 usage () {
     gettext_printf "Usage: %s [OPTION] SOURCE...\n" "$self"
-    gettext "Make GRUB CDROM, disk, pendrive and floppy bootable image."; echo
+    gettext "Make GRUB CD-ROM, disk, pendrive and floppy bootable image."; echo
     echo
     printf "  -h, --help              %s\n" "$(gettext "print this message and exit")"
     printf "  -v, --version           %s\n" "$(gettext "print the version information and exit")"