2e246b6fec
When running make dist, I hit this error: rm -f en@arabic.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o en@arabic.gmo en@arabic.po en@arabic.po: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 <floppym@gentoo.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
107 lines
1.3 KiB
Sed
107 lines
1.3 KiB
Sed
/^Project-Id-Version:/ b
|
||
/^Report-Msgid-Bugs-To:/ b
|
||
/^POT-Creation-Date:/ b
|
||
/^PO-Revision-Date:/ b
|
||
/^Last-Translator:/ b
|
||
/^Language-Team:/ b
|
||
/^Language:/ b
|
||
/^MIME-Version:/ b
|
||
/^Content-Type:/ b
|
||
/^Content-Transfer-Encoding:/ b
|
||
/^Plural-Forms:/ b
|
||
|
||
s,%\([0-9]*\)C,%\1#,g
|
||
|
||
s,a,α,g
|
||
s,b,ϭ,g
|
||
s,c,ϲ,g
|
||
s,d,δ,g
|
||
s,e,ε,g
|
||
s,f,φ,g
|
||
s,g,γ,g
|
||
s,h,χ,g
|
||
s,i,ι,g
|
||
s,j,ϊ,g
|
||
s,k,κ,g
|
||
s,l,λ,g
|
||
s,m,μ,g
|
||
s,n,ν,g
|
||
s,o,ο,g
|
||
s,p,π,g
|
||
s,q,ϗ,g
|
||
s,r,ρ,g
|
||
s,s,σ,g
|
||
s,t,τ,g
|
||
s,u,υ,g
|
||
s,v,β,g
|
||
s,w,ω,g
|
||
s,x,ξ,g
|
||
s,y,ϋ,g
|
||
s,z,ζ,g
|
||
s,A,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