mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Enclose all translated strings in grub.cfg in single quotes, and
escape them appropriately (Ubuntu bug #552921). * util/grub-mkconfig_lib.in (gettext_quoted): New function. * util/grub.d/10_hurd.in: Use it. * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise. * util/grub.d/10_linux.in (linux_entry): Likewise. Also-By: Colin Watson <cjwatson@ubuntu.com>
This commit is contained in:
1 parent
4b0cd8f813
commit
ce44826e79
5 files changed
+27
-12
No files matched your search
@@ -188,3 +188,7 @@ version_find_latest ()
|
||||
done
|
||||
echo "$a"
|
||||
}
|
||||
|
||||
gettext_quoted () {
|
||||
gettext "$@" | sed "s/'/'\\\\''/g"
|
||||
}
|
||||
Reference in new issue
Block a user