xfsprogs/0001-po-fix-German-translation.patch
Yaakov Selkowitz 2607c7928d Fix build with gettext-0.22
gettext-0.22 raises an error on what is clearly an typo in the translation:

  de.po:3087: 'msgstr' is not a valid C format string, unlike 'msgid'.
  Reason: In the directive number 2, the argument size specifier is invalid.
2023-06-30 11:01:07 -04:00

33 lines
1004 B
Diff

From 98c91a879c0862ad7c80bda55bb482dc01c56e75 Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Tue, 27 Jun 2023 17:01:43 -0400
Subject: [PATCH] po: fix German translation
gettext-0.22 raises an error on what is clearly an typo in the translation:
de.po:3087: 'msgstr' is not a valid C format string, unlike 'msgid'.
Reason: In the directive number 2, the argument size specifier is invalid.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
---
po/de.po | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/de.po b/po/de.po
index 944b0e91..a6f8fde1 100644
--- a/po/de.po
+++ b/po/de.po
@@ -3084,7 +3084,7 @@ msgstr "%llu Spezialdateien\n"
#: .././estimate/xfs_estimate.c:191
#, c-format
msgid "%s will take about %.1f megabytes\n"
-msgstr "%s wird etwa %.lf Megabytes einnehmen\n"
+msgstr "%s wird etwa %.1f Megabytes einnehmen\n"
#: .././estimate/xfs_estimate.c:198
#, c-format
--
2.41.0