Makefile.am: Normalize downloaded po files.
* Makefile.am (make-download-po-rule): Normalize po files.master
parent
db74cc6a2f
commit
c891e7c828
|
@ -990,7 +990,10 @@ download-po.$(1):
|
|||
if wget -nv -O "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp" \
|
||||
"https://translate.fedoraproject.org/api/translations/guix/$(1)/$$$$lang/file/" ; \
|
||||
then \
|
||||
mv "$(top_srcdir)/$(2)/$(3)$$$$lang.po"{.tmp,} ; \
|
||||
msgfilter --no-wrap -i "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp" \
|
||||
cat > "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp2" ; \
|
||||
rm "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp" ; \
|
||||
mv "$(top_srcdir)/$(2)/$(3)$$$$lang.po"{.tmp2,} ; \
|
||||
else \
|
||||
rm "$(top_srcdir)/$(2)/$(3)$$$$lang.po.tmp" ; \
|
||||
fi ; \
|
||||
|
|
Reference in New Issue