* grub-core/commands/i386/pc/drivemap.c: Add TRANSLATORS comments.
* grub-core/commands/lsmmap.c: Likewise. * grub-core/commands/minicmd.c: Likewise. * grub-core/commands/mips/loongson/lsspd.c: Likewise. * grub-core/commands/regexp.c: Likewise. * grub-core/gdb/gdb.c: Likewise. * grub-core/term/gfxterm.c: Likewise. * util/grub-mkconfig.in: Likewise. * util/grub-mkfont.c: Likewise. * util/grub-mklayout.c: Likewise. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise. * util/grub.d/30_os-prober.in: Likewise.
This commit is contained in:
parent
49ce9e50eb
commit
e7d2559bc1
14 changed files with 88 additions and 11 deletions
|
@ -248,6 +248,7 @@ done
|
|||
|
||||
if test "x${grub_cfg}" != "x" ; then
|
||||
if ! ${grub_script_check} ${grub_cfg}.new; then
|
||||
# TRANSLATORS: %s is replaced by filename
|
||||
gettext_printf "Syntax errors are detected in generated GRUB config file.
|
||||
Ensure that there are no errors in /etc/default/grub
|
||||
and /etc/grub.d/* files or please file a bug report with
|
||||
|
|
|
@ -552,6 +552,11 @@ process_cursive (struct gsub_feature *feature,
|
|||
subst (m);
|
||||
}
|
||||
else
|
||||
/* TRANSLATORS: most font transformations apply only to
|
||||
some glyphs. Those glyphs are described as "coverage".
|
||||
There are 2 coverage specifications: list and range.
|
||||
This warning is thrown when another coverage specification
|
||||
is detected. */
|
||||
printf (_("Unsupported coverage specification: %d\n"), covertype);
|
||||
}
|
||||
}
|
||||
|
@ -961,8 +966,15 @@ write_font_pf2 (struct grub_font_info *font_info, char *output_file)
|
|||
static struct argp_option options[] = {
|
||||
{"output", 'o', N_("FILE"), 0, N_("save output in FILE [required]"), 0},
|
||||
{"ascii-bitmaps", 0x102, 0, 0, N_("save only the ASCII bitmaps"), 0},
|
||||
{"width-spec", 0x103, 0, 0, N_("create width summary file"), 0},
|
||||
{"index", 'i', N_("NUM"), 0, N_("set face index"), 0},
|
||||
{"width-spec", 0x103, 0, 0,
|
||||
/* TRANSLATORS: this refers to creating a file containing the width of
|
||||
every glyph but not the glyphs themselves. */
|
||||
N_("create width summary file"), 0},
|
||||
{"index", 'i', N_("NUM"), 0,
|
||||
/* TRANSLATORS: some font files may have multiple faces (fonts).
|
||||
This option is used to chose among them, the first face being '0'.
|
||||
Rarely used. */
|
||||
N_("set face index"), 0},
|
||||
{"range", 'r', N_("FROM-TO[,FROM-TO]"), 0, N_("set font range"), 0},
|
||||
{"name", 'n', N_("NAME"), 0, N_("set font family name"), 0},
|
||||
{"size", 's', N_("SIZE"), 0, N_("set font size"), 0},
|
||||
|
@ -971,7 +983,12 @@ static struct argp_option options[] = {
|
|||
{"bold", 'b', 0, 0, N_("convert to bold font"), 0},
|
||||
{"force-autohint", 'a', 0, 0, N_("force autohint"), 0},
|
||||
{"no-hinting", 0x101, 0, 0, N_("disable hinting"), 0},
|
||||
{"no-bitmap", 0x100, 0, 0, N_("ignore bitmap strikes when loading"), 0},
|
||||
{"no-bitmap", 0x100, 0, 0,
|
||||
/* TRANSLATORS: some fonts contain bitmap rendering for
|
||||
some sizes. This option forces rerendering even if
|
||||
pre-rendered bitmap is available.
|
||||
*/
|
||||
N_("ignore bitmap strikes when loading"), 0},
|
||||
{"verbose", 'v', 0, 0, N_("print verbose messages."), 0},
|
||||
{ 0, 0, 0, 0, 0, 0 }
|
||||
};
|
||||
|
|
|
@ -289,6 +289,7 @@ lookup (char *code, int shift)
|
|||
if (strcmp (code, console_grub_equivalences_common[i].layout) == 0)
|
||||
return console_grub_equivalences_common[i].grub;
|
||||
|
||||
/* TRANSLATORS: scan identifier is keyboard key symbolic name. */
|
||||
fprintf (stderr, _("Unknown keyboard scan identifier %s\n"), code);
|
||||
|
||||
return '\0';
|
||||
|
@ -385,6 +386,7 @@ write_keymaps (FILE *in, FILE *out)
|
|||
if (keycode_usb == 0
|
||||
|| keycode_usb >= GRUB_KEYBOARD_LAYOUTS_ARRAY_SIZE)
|
||||
{
|
||||
/* TRANSLATORS: scan code is keyboard key numeric identifier. */
|
||||
fprintf (stderr, _("Unknown keyboard scan code 0x%02x\n"), keycode_linux);
|
||||
continue;
|
||||
}
|
||||
|
@ -403,6 +405,8 @@ write_keymaps (FILE *in, FILE *out)
|
|||
|
||||
if (ok == 0)
|
||||
{
|
||||
/* TRANSLATORS: this error is triggered when input doesn't contain any
|
||||
key descriptions. */
|
||||
fprintf (stderr, "%s", _("ERROR: no valid keyboard layout found. Check the input.\n"));
|
||||
exit (1);
|
||||
}
|
||||
|
|
|
@ -228,6 +228,7 @@ source ${subdir}/grub.cfg
|
|||
EOF
|
||||
|
||||
"$grub_mkimage" ${config_opt} -d "${input_dir}" -O ${mkimage_target} "--output=${grubdir}/core.$ext" "--prefix=$prefix" $modules $netmodules tftp || exit 1
|
||||
# TRANSLATORS: First %s is replaced by platform name. Second one by filename.
|
||||
gettext_printf "Netboot directory for %s created. Configure your DHCP server to point to %s\n" "${platform}" "${subdir}/${platform}/core.$ext"
|
||||
}
|
||||
|
||||
|
|
|
@ -58,15 +58,18 @@ export TEXTDOMAINDIR="@localedir@"
|
|||
# Print the usage.
|
||||
usage () {
|
||||
gettext_printf "Usage: %s [OPTION] SOURCE...\n" "$self"
|
||||
# TRANSLATORS: it generates one single image which is bootable through any method.
|
||||
gettext "Make GRUB CD-ROM, disk, pendrive and floppy bootable image."; echo
|
||||
echo
|
||||
filetrans="$(gettext FILE)"
|
||||
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]")"
|
||||
printf " -o, --output=%-11s%s\n" "$filetrans" "$(gettext "save output in FILE [required]")"
|
||||
printf " --modules=%-14s%s\n" "$(gettext "MODULES")" "$(gettext "pre-load specified modules MODULES")"
|
||||
printf " --rom-directory=%-8s%s\n" "$(gettext "DIR")" "$(gettext "save rom images in DIR [optional]")"
|
||||
printf " --xorriso=%-14s%s\n" "$(gettext "FILE")" "$(gettext "use FILE as xorriso [optional]")"
|
||||
printf " --grub-mkimage=%-9s%s\n" "$(gettext "FILE")" "$(gettext "use FILE as grub-mkimage")"
|
||||
# TRANSLATORS: xorriso is a program for creating ISOs and burning CDs
|
||||
printf " --xorriso=%-14s%s\n" "$filetrans" "$(gettext "use FILE as xorriso [optional]")"
|
||||
printf " --grub-mkimage=%-9s%s\n" "$filetrans" "$(gettext "use FILE as grub-mkimage")"
|
||||
echo
|
||||
gettext_printf "%s generates a bootable rescue image with specified source files, source directories, or mkisofs options listed by the output of \`%s'\n" "xorriso -as mkisofs -help" "$self"
|
||||
echo
|
||||
|
|
|
@ -217,6 +217,7 @@ EOF
|
|||
;;
|
||||
*)
|
||||
echo -n " "
|
||||
# TRANSLATORS: %s is replaced by OS name.
|
||||
gettext_printf "%s is not yet supported by grub-mkconfig.\n" "${LONGNAME}" >&2
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue