* grub-core/commands/xnu_uuid.c: Likewise.
* grub-core/loader/efi/appleloader.c: Likewise.
* grub-core/script/execute.c: Likewise.
* grub-core/script/main.c: Likewise.
* util/grub-mkfont.c: Likewise.
+2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/commands/videoinfo.c: Add TRANSLATORS comments.
+ * grub-core/commands/xnu_uuid.c: Likewise.
+ * grub-core/loader/efi/appleloader.c: Likewise.
+ * grub-core/script/execute.c: Likewise.
+ * grub-core/script/main.c: Likewise.
+ * util/grub-mkfont.c: Likewise.
+
2012-03-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkfont.c (options): Use more appropriate "select" that
grub_xputs (_("Text-only "));
/* Show mask and position details for direct color modes. */
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_RGB)
+ /* TRANSLATORS: "Direct color" is a mode when the color components
+ are written dirrectly into memory. */
grub_printf_ (N_("Direct color, mask: %d/%d/%d/%d pos: %d/%d/%d/%d"),
info->red_mask_size,
info->green_mask_size,
info->blue_field_pos,
info->reserved_field_pos);
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_INDEX_COLOR)
+ /* TRANSLATORS: In "packed pixel" mode you write the index of the color
+ in the palette. Synonyms include "paletted color". */
grub_xputs (_("Packed pixel "));
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_YUV)
grub_xputs (_("YUV "));
GRUB_MOD_INIT (xnu_uuid)
{
cmd = grub_register_command ("xnu_uuid", grub_cmd_xnu_uuid,
+ /* TRANSLATORS: GRUBUUID stands for "filesystem
+ UUID as used in GRUB". */
N_("[-l] GRUBUUID [VARNAME]"),
N_("Transform 64-bit UUID to format "
"suitable for XNU. If -l is given keep "
GRUB_MOD_INIT(appleloader)
{
cmd = grub_register_command ("appleloader", grub_cmd_appleloader,
- N_("[OPTS]"), N_("Boot BIOS-based system."));
+ N_("[OPTS]"),
+ /* TRANSLATORS: This command is used on EFI to
+ switch to BIOS mode and boot the OS requiring
+ BIOS. */
+ N_("Boot BIOS-based system."));
my_mod = mod;
}
if (*p != '\0')
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("unrecognized number"));
if (count == 0)
- /* TRANSLATORS: 0 is a quantifier. Break can be used e.g. to break
- 3 loops at once. But asking it to break 0 loops makes no sense. */
+ /* TRANSLATORS: 0 is a quantifier. "break" (similar to bash)
+ can be used e.g. to break 3 loops at once.
+ But asking it to break 0 loops makes no sense. */
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("can't break 0 loops"));
}
N_("Set positional parameters."));
cmd_return = grub_register_command ("return", grub_script_return,
N_("[NUM]"),
+ /* TRANSLATORS: It's a command description
+ and "Return" is a verb, not a noun. The
+ command in question is "return" and
+ has exactly the same semanics as bash
+ equivalent. */
N_("Return from a function."));
}
struct gsub_lookup *lookup;
if (lookup_index >= grub_be_to_cpu16 (lookups->count))
{
+ /* TRANSLATORS: "lookup" is taken directly from font specifications
+ which are formulated as "Under condition X replace LOOKUP with
+ SUBSTITUITION". "*/
printf (_("Out of range lookup: %d\n"), lookup_index);
continue;
}