From: Andrew Hamilton Date: Sat, 23 Aug 2025 03:43:17 +0000 (-0500) Subject: po: Update translations to build with gettext 0.26 X-Git-Tag: grub-2.14-rc1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bfb38627bcea85ec7e8400abe822de26f31970b;p=thirdparty%2Fgrub.git po: Update translations to build with gettext 0.26 Gettext 0.26 validates format strings. In some cases before the GRUB build process was converting newlines sequences (\n) to (\) which is invalid. Update the impacted language sed script files to ensure newlines use the correct escape sequence. This avoids build errors such as: de@hebrew.po:8192: 'msgstr' is not a valid Shell printf format string, unlike 'msgid'. Reason: This escape sequence is invalid. Fixes: https://savannah.gnu.org/bugs/?67353 Signed-off-by: Andrew Hamilton Reviewed-by: Vladimir Serbinenko Reviewed-by: Daniel Kiper --- diff --git a/po/arabic.sed b/po/arabic.sed index 3fbee7248..50bede0f8 100644 --- a/po/arabic.sed +++ b/po/arabic.sed @@ -81,3 +81,5 @@ s,%\([0-9]*\)زو,%\1zu,g s,%\([0-9]*\)كس,%\1x,g s,%\([0-9]*\)لكس,%\1lx,g s,%\([0-9]*\)للكس,%\1llx,g + +s,\\ن,\\n,g diff --git a/po/cyrillic.sed b/po/cyrillic.sed index 472f09529..d3db38838 100644 --- a/po/cyrillic.sed +++ b/po/cyrillic.sed @@ -104,3 +104,5 @@ s,%\([0-9]*\)зу,%\1zu,g s,%\([0-9]*\)ѯ,%\1x,g s,%\([0-9]*\)лѯ,%\1lx,g s,%\([0-9]*\)ллѯ,%\1llx,g + +s,\\н,\\n,g diff --git a/po/greek.sed b/po/greek.sed index 0e81625fb..1ace5fcd2 100644 --- a/po/greek.sed +++ b/po/greek.sed @@ -106,3 +106,5 @@ s,%\([0-9]*\)ζυ,%\1zu,g s,%\([0-9]*\)ξ,%\1x,g s,%\([0-9]*\)λξ,%\1lx,g s,%\([0-9]*\)λλξ,%\1llx,g + +s,\\ν,\\n,g diff --git a/po/hebrew.sed b/po/hebrew.sed index 33174bbdc..ce59e576e 100644 --- a/po/hebrew.sed +++ b/po/hebrew.sed @@ -89,3 +89,5 @@ s,%\([0-9]*\)זוּ,%\1zu,g s,%\([0-9]*\)כּס,%\1x,g s,%\([0-9]*\)לכּס,%\1lx,g s,%\([0-9]*\)ללכּס,%\1llx,g + +s,\\נ,\\n,g