+2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Decrease number of strings to translate.
+
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/arm/dl.c: Remove unnecessarry execution mode check.
static const struct grub_arg_option options[] =
{
- { "set", 's', 0, N_("Variable name to update."), N_("VARNAME"), ARG_TYPE_STRING },
+ { "set", 's', 0, N_("Set a variable to return value."), N_("VARNAME"), ARG_TYPE_STRING },
{ "upcase", 'U', 0, N_("Translate to upper case."), 0, 0 },
{ "downcase", 'D', 0, N_("Translate to lower case."), 0, 0 },
{ 0, 0, 0, 0, 0, 0 }
if (!grub_arm_64_check_xxxx26_offset (offset))
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("Trampoline out of range"));
+ "trampoline out of range");
grub_arm64_set_xxxx26_offset (place, offset);
}
GRUB_MOD_INIT (xen)
{
cmd_xen = grub_register_command ("linux", grub_cmd_xen,
- 0, N_("Load linux."));
+ 0, N_("Load Linux."));
cmd_multiboot = grub_register_command ("multiboot", grub_cmd_xen,
- 0, N_("Load linux."));
+ 0, N_("Load Linux."));
cmd_initrd = grub_register_command ("initrd", grub_cmd_initrd,
0, N_("Load initrd."));
cmd_module = grub_register_command ("module", grub_cmd_module,
void *ret;
if (align > 4096)
{
- grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, N_("too large alignment"));
+ grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "too large alignment");
return NULL;
}
"no,xz,gz,lzo", OPTION_ARG_OPTIONAL, \
N_("compress GRUB files [optional]"), 1 }, \
{"core-compress", GRUB_INSTALL_OPTIONS_INSTALL_CORE_COMPRESS, \
- N_("xz|none|auto"), \
+ "xz|none|auto", \
0, N_("choose the compression to use for core image"), 2}, \
/* TRANSLATORS: platform here isn't identifier. It can be translated. */ \
{ "directory", 'd', N_("DIR"), 0, \
{ "pubkey", 'k', N_("FILE"), 0, \
N_("embed FILE as public key for signature checking"), 0}, \
{ "verbose", 'v', 0, 0, \
- N_("increase verbosity"), 1 }
+ N_("print verbose messages."), 1 }
int
grub_install_parse (int key, char *arg);
if (grub_strcmp (fs->name, "hfs") != 0
&& grub_strcmp (fs->name, "hfsplus") != 0
&& !is_guess)
- grub_util_error (_("%s is neither hfs nor hfsplue"),
+ grub_util_error (_("%s is neither hfs nor hfsplus"),
macppcdir);
if (grub_strcmp (fs->name, "hfs") == 0
|| grub_strcmp (fs->name, "hfsplus") == 0)
sym_addr -= offset;
sym_addr -= SUFFIX (entry_point);
if (!grub_arm_64_check_xxxx26_offset (sym_addr))
- grub_util_error ("%s", _("CALL26 Relocation out of range"));
+ grub_util_error ("%s", "CALL26 Relocation out of range");
grub_arm64_set_xxxx26_offset((grub_uint32_t *)target,
sym_addr);
case R_AARCH64_JUMP26:
break;
default:
- grub_util_error (_("fixup for relocation %u is not implemented yet"),
+ grub_util_error (_("relocation 0x%x is not implemented yet"),
(unsigned int) ELF_R_TYPE (info));
break;
}
}
break;
default:
- grub_util_error (_("fixup for relocation 0x%x not implemented"), ELF_R_TYPE (info));
+ grub_util_error (_("relocation 0x%x is not implemented yet"),
+ (unsigned int) ELF_R_TYPE (info));
break;
}
break;
struct argp argp = {
- options, argp_parser, N_("[OPTION]"),
+ options, argp_parser, NULL,
"\v"N_("copies GRUB images into net_directory/subdir/target_cpu-platform."),
NULL, grub_install_help_filter, NULL
};
{"output", 'o', N_("FILE"),
0, N_("save output in FILE [required]"), 2},
{"format", 'O', N_("FILE"), 0, 0, 2},
- {"compression", 'C', N_("xz|none|auto"), OPTION_HIDDEN, 0, 2},
+ {"compression", 'C', "xz|none|auto", OPTION_HIDDEN, 0, 2},
{0, 0, 0, 0, 0, 0}
};
static struct argp_option options[] = {
{"target-root", 't', N_("DIR"), 0,
- N_("root directory as it will be seen on runtime (default /)."), 0},
+ N_("root directory as it will be seen on runtime [default=/]."), 0},
{"root", 'r', N_("DIR"), 0,
- N_("root directory of the syslinux disk (default /)."), 0},
+ N_("root directory of the syslinux disk [default=/]."), 0},
{"target-cwd", 'T', N_("DIR"), 0,
- N_("current directory as it will be seen on runtime (default $pwd)."), 0},
+ N_("current directory as it will be seen on runtime [default=$pwd]."), 0},
{"cwd", 'c', N_("DIR"), 0,
- N_("current directory of the syslinux disk (default $pwd)."), 0},
+ N_("current directory of the syslinux disk [default=$pwd]."), 0},
- {"output", 'o', N_("FILE"), 0, N_("write output to FILE (default stdout)."), 0},
+ {"output", 'o', N_("FILE"), 0, N_("write output to FILE [default=stdout]."), 0},
{"isolinux", 'i', 0, 0, N_("assume isolinux."), 0},
{"pxelinux", 'p', 0, 0, N_("assume pxelinux."), 0},
{"syslinux", 's', 0, 0, N_("assume syslinux."), 0},
}
static struct argp argp = {
- options, argp_parser, N_("[OPTIONS] FILE ROOT"),
+ options, argp_parser, N_("FILE"),
N_("Transform syslinux config into GRUB one."),
NULL, NULL, NULL
};
somewhere else. */
if (offset < -0x200000 || offset >= 0x200000)
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("THM_CALL Relocation out of range."));
+ "THM_CALL Relocation out of range.");
grub_dprintf ("dl", " relative destination = %p",
(char *) target + offset);
if (!(sym_addr & 1))
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("Relocation targeting wrong execution state"));
+ "Relocation targeting wrong execution state");
offset = grub_arm_thm_jump19_get_offset (target);
if (!grub_arm_thm_jump19_check_offset (offset))
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("THM_JUMP19 Relocation out of range."));
+ "THM_JUMP19 Relocation out of range.");
grub_arm_thm_jump19_set_offset (target, offset);
if (sym_addr & 1)
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("Relocation targeting wrong execution state"));
+ "Relocation targeting wrong execution state");
offset = grub_arm_jump24_get_offset (target);
offset += sym_addr;
if (!grub_arm_jump24_check_offset (offset))
return grub_error (GRUB_ERR_BAD_MODULE,
- N_("JUMP24 Relocation out of range."));
+ "JUMP24 Relocation out of range.");
grub_arm_jump24_set_offset (target, offset);