* 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.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-03 12:59:28 +01:00
parent 0c7d99c7c2
commit 40211ab884
15 changed files with 54 additions and 8 deletions

View file

@ -40,6 +40,7 @@ grub_cryptodisk_dev_t grub_cryptodisk_list;
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}

View file

@ -965,7 +965,11 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
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;

View file

@ -38,6 +38,8 @@ static struct grub_loopback *loopback_list;
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}
};
@ -224,6 +226,8 @@ GRUB_MOD_INIT(loopback)
{
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);
}

View file

@ -434,6 +434,8 @@ luks_recover_key (grub_disk_t source,
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. */