Bug#739857: Recent GRUB_RECOVERY_TITLE modification renders some strings untranslatable

Anthony Wong ypwong at gmail.com
Sun Feb 23 10:36:35 UTC 2014


Package: grub-common
Version: 2.00-22

Due to the recent addition of GRUB_RECOVERY_TITLE, structure of some
strings has been changed. For example in util/grub.d/10_linux.in, now
there is:

    title="$(gettext_printf "%s, with Linux %s (%s)" "${os}"
"${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" ;;

However, both "%s, with Linux %s (%s)" and "recovery mode" are not
msgid in po files, so this string will never be localized.

We can either change the code to:

    title="$(gettext_printf "%s, with Linux %s
(${GRUB_RECOVERY_TITLE})" "${os}" "${version}")" ;;

so the original msgid will be picked up if GRUB_RECOVERY_TITLE has not
been re-defined by the user, or we can add "%s, with Linux %s (%s)"
and "recovery mode" to po files.

Thanks,
Anthony



More information about the Pkg-grub-devel mailing list