diff mbox series

po: fix German translation

Message ID 20230627212959.1155472-1-yselkowi@redhat.com (mailing list archive)
State Deferred, archived
Headers show
Series po: fix German translation | expand

Commit Message

Yaakov Selkowitz June 27, 2023, 9:29 p.m. UTC
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>
---
 po/de.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Darrick J. Wong June 29, 2023, 2:56 p.m. UTC | #1
On Tue, Jun 27, 2023 at 05:29:31PM -0400, Yaakov Selkowitz wrote:
> 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>

--D

> ---
>  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
>
Carlos Maiolino July 11, 2023, 1:53 p.m. UTC | #2
On Tue, Jun 27, 2023 at 05:29:31PM -0400, Yaakov Selkowitz wrote:
> 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>

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

commit 987373623e127fe476d29c81625d288d7a418f95
Author: David Seifert <soap@gentoo.org>
Date:   Mon Jun 26 10:50:46 2023 +0100

    po: Fix invalid .de translation format string
diff mbox series

Patch

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