* grub-core/commands/keystatus.c: Likewise.
* grub-core/commands/loadenv.c: Likewise.
* grub-core/commands/probe.c: Likewise.
* grub-core/commands/regexp.c: Likewise.
* grub-core/commands/true.c: Likewise.
* grub-core/commands/videoinfo.c: Likewise.
* grub-core/disk/cryptodisk.c: Likewise.
* grub-core/disk/ldm.c: Likewise.
* grub-core/disk/loopback.c: Likewise.
* grub-core/disk/luks.c: Likewise.
* grub-core/fs/zfs/zfsinfo.c: Likewise.
* grub-core/kern/disk.c: Likewise.
* grub-core/kern/emu/hostdisk.c: Likewise.
+2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/commands/acpihalt.c: Add TRANSLATORS comments.
+ * grub-core/commands/keystatus.c: Likewise.
+ * grub-core/commands/loadenv.c: Likewise.
+ * grub-core/commands/probe.c: Likewise.
+ * grub-core/commands/regexp.c: Likewise.
+ * grub-core/commands/true.c: Likewise.
+ * grub-core/commands/videoinfo.c: Likewise.
+ * grub-core/disk/cryptodisk.c: Likewise.
+ * grub-core/disk/ldm.c: Likewise.
+ * grub-core/disk/loopback.c: Likewise.
+ * grub-core/disk/luks.c: Likewise.
+ * grub-core/fs/zfs/zfsinfo.c: Likewise.
+ * grub-core/kern/disk.c: Likewise.
+ * grub-core/kern/emu/hostdisk.c: Likewise.
+
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/zfs/zfsinfo.c (print_vdev_info): Add TRANSLATORS comment.
grub_millisleep (1500);
+ /* TRANSLATORS: It's computer shutdown using ACPI, not disabling ACPI. */
grub_puts_ (N_("ACPI shutdown failed"));
}
#endif
static const struct grub_arg_option options[] =
{
+ /* TRANSLATORS: "Check" in a sense that if this key is pressed then
+ "true" is returned, otherwise "false". */
{"shift", 's', 0, N_("Check Shift key."), 0, 0},
{"ctrl", 'c', 0, N_("Check Control key."), 0, 0},
{"alt", 'a', 0, N_("Check Alt key."), 0, 0},
static const struct grub_arg_option options[] =
{
+ /* TRANSLATORS: This option is used to override default filename
+ for loading and storing environment. */
{"file", 'f', 0, N_("Specify filename."), 0, ARG_TYPE_PATHNAME},
{0, 0, 0, 0, 0, 0}
};
{
{"set", 's', 0,
N_("Set a variable to return value."), "VAR", ARG_TYPE_STRING},
+ /* TRANSLATORS: It's a driver that is currently in use to access
+ the diven disk. */
{"driver", 'd', 0, N_("Determine driver."), 0, 0},
{"partmap", 'p', 0, N_("Determine partition map type."), 0, 0},
{"fs", 'f', 0, N_("Determine filesystem type."), 0, 0},
\f
GRUB_MOD_INIT(regexp)
{
- cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0, N_("REGEXP STRING"),
+ cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0,
+ /* TRANSLATORS: This are two arguments. So it's
+ two separate units to translate and pay
+ attention not to reverse them. */
+ N_("REGEXP STRING"),
N_("Test if REGEXP matches STRING."), options);
/* Setup GRUB script wildcard translator. */
{
cmd_true =
grub_register_command ("true", grub_cmd_true,
- /* TRANSLATORS: it's imperative, not
- infinitive. */
+ /* TRANSLATORS: it's a command description. */
0, N_("Do nothing, successfully."));
cmd_false =
grub_register_command ("false", grub_cmd_false,
- /* TRANSLATORS: it's imperative, not
- infinitive. */
+ /* TRANSLATORS: it's a command description. */
0, N_("Do nothing, unsuccessfully."));
}
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_YUV)
grub_xputs (_("YUV "));
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_PLANAR)
+ /* TRANSLATORS: "Planar" is the video memory where you have to write
+ in several different banks "plans" to control the different color
+ components of the same pixel. */
grub_xputs (_("Planar "));
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_HERCULES)
grub_xputs (_("Hercules "));
static const struct grub_arg_option options[] =
{
{"uuid", 'u', 0, N_("Mount by UUID."), 0, 0},
+ /* TRANSLATORS: It's still restricted to cryptodisks only. */
{"all", 'a', 0, N_("Mount all."), 0, 0},
{"boot", 'b', 0, N_("Mount all volumes with `boot' flag set."), 0, 0},
{0, 0, 0, 0, 0, 0}
if (lv->size < *nsectors)
return grub_error (GRUB_ERR_OUT_OF_RANGE,
/* TRANSLATORS: it's a partition for embedding,
- not a partition embed into something. */
+ not a partition embed into something. GRUB
+ install tools put core.img into a place
+ usable for bootloaders (called generically
+ "embedding zone") and this operation is
+ called "embedding". */
N_("your LDM embedding Partition is too small;"
" embedding won't be possible"));
*nsectors = lv->size;
static const struct grub_arg_option options[] =
{
+ /* TRANSLATORS: The disk is simply removed from the list of available ones,
+ not wiped, avoid to scare user. */
{"delete", 'd', 0, N_("Delete the specified loopback drive."), 0, 0},
{0, 0, 0, 0, 0, 0}
};
{
cmd = grub_register_extcmd ("loopback", grub_cmd_loopback, 0,
N_("[-d] DEVICENAME FILE."),
+ /* TRANSLATORS: The file itself is not destroyed
+ or transformed into drive. */
N_("Make a virtual drive from a file."), options);
grub_disk_dev_register (&grub_loopback_dev);
}
continue;
}
+ /* TRANSLATORS: It's a cryptographic key slot: one element of an array
+ where each element is either empty or holds a key. */
grub_printf_ (N_("Slot %d opened\n"), i);
/* Set the master key. */
}
static const char *poolstates[] = {
+ /* TRANSLATORS: Here we speak about ZFS pools it's semi-marketing,
+ semi-technical term by Sun/Oracle and should be translated in sync with
+ other ZFS-related software and documentation. */
[POOL_STATE_ACTIVE] = N_("Pool state: active"),
[POOL_STATE_EXPORTED] = N_("Pool state: exported"),
[POOL_STATE_DESTROYED] = N_("Pool state: destroyed"),
disk->partition = grub_partition_probe (disk, p + 1);
if (! disk->partition)
{
+ /* TRANSLATORS: It means that the specified partition e.g.
+ hd0,msdos1=/dev/sda1 doesn't exist. */
grub_error (GRUB_ERR_UNKNOWN_DEVICE, N_("no such partition"));
goto fail;
}
struct stat st;
if (fstat (fd, &st) < 0)
+ /* TRANSLATORS: "stat" comes from the name of POSIX function. */
grub_util_error (_("cannot stat `%s': %s"), name, strerror (errno));
#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
break;
if (!class)
/* TRANSLATORS: geom is the name of (k)FreeBSD device framework.
- Usually left untranslated.
- */
+ Usually left untranslated. "part" is the identifier of one of its
+ classes. */
grub_util_error (_("couldn't find geom `part' class"));
LIST_FOREACH (geom, &class->lg_geom, lg_geom)