Add English "translation"

This allows using UTF-8 characters in English texts. This translation can
be kept up-to-date using the "msgen" tool.
This commit is contained in:
Simon Richter 2017-06-18 22:16:41 +02:00
parent 80be065f56
commit 247cf7e714
3 changed files with 26089 additions and 0 deletions

View File

@ -5,6 +5,7 @@ ca
cs
de
el
en
es
fi
fr

26085
en/kicad.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -94,6 +94,9 @@ for i in $LINGUAS
do
echo "## $i"
msgmerge --force-po $LOCALDIR/$i/kicad.po $LOCALDIR/kicad.pot -o $LOCALDIR/$i/kicad.po 2> /dev/null
if [ "$i" = "en" ] ; then
msgen $LOCALDIR/$i/kicad.po -o $LOCALDIR/$i/kicad.po.tmp && mv $LOCALDIR/$i/kicad.po.tmp $LOCALDIR/$i/kicad.po
fi
msgfmt --statistics $LOCALDIR/$i/kicad.po 2>&1 >>/dev/null |
while IFS=",." read A B C D ; do
echo $A