bug#80309: Broken string to be fixed within src/fmt.c

Benno Schulenberg <[email protected]> Sun, 1 Feb 2026 11:54:31 +0100
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization TP
Message-ID <[email protected]>
Hello Cho,

> I heard that it will be released this month.

In about three or four days.

> I cannot submit an updated translation due to failure to check msgfmt.
> I found a trivial bug at here,
> 
>   5707 #: src/fmt.c:304
>   5708 #, c-format
>   5709 msgid ""
>   5710 "  -g, --goal=WIDTH\n"
>   5711 "         goal width (default of 93% of width)\n"
>   5712 msgstr ""
>   5713 "  -g, --goal=<너비>\n"
>   5714 "         목표 너비 (너비의 93%% 기본값)\n"

Ah.  The problem is the "#, c-format" marker.  It shouldn't be there.
I've removed it from the POT file at the TP.

Please remove that one "#, c-format" line from your PO file and resubmit.

In git I see that upstream already moved the "xgettext:no-c-format" hint
to the correct place.

> In my blurred memory, % should be %% to escape % if it is intended.
> % can be used as a format specifier within a formatted string.
> so, "default of 93% of width" would be better to be "default of 93 **%%** of width"?

When the string would be a c-format string you would be right.  But
gettext mistakenly added the c-format marker.  Please remove it.


-- 
Regards,

Benno