bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29972] inconsistent format specification in singular form


From: bugtrack at roumenpetrov dot info
Subject: [Bug binutils/29972] inconsistent format specification in singular form
Date: Sat, 07 Jan 2023 14:41:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29972

--- Comment #1 from Roumen Petrov <bugtrack at roumenpetrov dot info> ---
Let see code
        printf (ngettext ("\nDynamic section at offset %#" PRIx64 " contains %"
PRId64 " entry:\n",
                          "\nDynamic section at offset %#" PRIx64 " contains %"
PRIu64 " entries:\n",
                          filedata->dynamic_nent),

Singular form uses PRId64 while in plural is used PRIu64. As result update of
existing "fuzzy" translation fail:
binutils-2.39.90.bg.po: binutils-2.39.90.bg.po:9352: format specifications in
'msgid_plural' and 'msgstr[0]' for argument 2 are not the same
msgfmt: found 1 fatal error.

Work-around: to update translated text to use PRIu64 format.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]