[Top][All Lists]

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

Re: [PATCH] po: fix replacement of %m in sed programs

From: Daniel Kiper
Subject: Re: [PATCH] po: fix replacement of %m in sed programs
Date: Tue, 3 Mar 2020 15:21:33 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Mar 02, 2020 at 03:03:32PM -0500, Mike Gilbert wrote:
> When running make dist, I hit this error:
> rm -f address@hidden && /usr/bin/gmsgfmt -c --statistics --verbose -o 
> address@hidden address@hidden
> address@hidden:5312: 'msgstr' is not a valid C format string, unlike 'msgid'.
> Reason: The character that terminates the directive number 3 is not a valid 
> conversion specifier.
> /usr/bin/gmsgfmt: found 1 fatal error
> This was caused by "%m" being replaced with foreign Unicode characters.
> For example:
> msgid "cannot rename the file %s to %s: %m"
> msgstr "ﺹﺎﻨﻧﻮﺗ ﺮﻌﻧﺎﻤﻋ ﺖﻬﻋ ﻒִﻴﻠﻋ %s ﺕﻭ %s: %ﻡ"
> Mimic the workaround used for "%s" by reversing the replacement of "%m" at
> the end of the sed programs.
> Signed-off-by: Mike Gilbert <address@hidden>

Reviewed-by: Daniel Kiper <address@hidden>


reply via email to

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