Skip to contentSkip to conversation

po: fix German translation

PATCH In review Yaakov Selkowitz 3 participants 3 messages Jun 27, 2023 – Jul 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 po/de.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
po/de.po +1 -1
index 944b0e91..a6f8fde1 100644
@@ -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
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Yaakov Selkowitz

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.

--D

Quoted 20 lines
---
 po/de.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
po/de.po +1 -1
index 944b0e91..a6f8fde1 100644
@@ -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
Signature · 1 line
2.41.0
#2 lore raw
In reply to Yaakov Selkowitz
Quoted 6 lines · Yaakov Selkowitz

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.

I believe this is the same issue as addressed by the patch below?

commit 987373623e127fe476d29c81625d288d7a418f95

Author: David Seifert <[email protected]>
Date:   Mon Jun 26 10:50:46 2023 +0100

po: Fix invalid .de translation format string

Signature · 1 line
Carlos
Quoted 20 lines
---
 po/de.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
po/de.po +1 -2
index 944b0e91..a6f8fde1 100644
@@ -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