Merge remote-tracking branch 'refs/remotes/KiCad/master'
This commit is contained in:
commit
0f8a52eb2c
9727
de/kicad.po
9727
de/kicad.po
File diff suppressed because it is too large
Load Diff
40131
en/kicad.po
40131
en/kicad.po
File diff suppressed because it is too large
Load Diff
48272
es/kicad.po
48272
es/kicad.po
File diff suppressed because it is too large
Load Diff
7810
fr/kicad.po
7810
fr/kicad.po
File diff suppressed because it is too large
Load Diff
5739
it/kicad.po
5739
it/kicad.po
File diff suppressed because it is too large
Load Diff
20042
ja/kicad.po
20042
ja/kicad.po
File diff suppressed because it is too large
Load Diff
9729
ru/kicad.po
9729
ru/kicad.po
File diff suppressed because it is too large
Load Diff
650
sv/kicad.po
650
sv/kicad.po
File diff suppressed because it is too large
Load Diff
|
@ -67,7 +67,7 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
#Generate/update template pot file
|
#Generate/update template pot file
|
||||||
xgettext -f $LOCALDIR/POTFILES -k_ -k_HKI --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot
|
xgettext -f $LOCALDIR/POTFILES -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot
|
||||||
|
|
||||||
rm $LOCALDIR/POTFILES
|
rm $LOCALDIR/POTFILES
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ do
|
||||||
if [ "$i" = "en" ] ; then
|
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
|
msgen $LOCALDIR/$i/kicad.po -o $LOCALDIR/$i/kicad.po.tmp && mv $LOCALDIR/$i/kicad.po.tmp $LOCALDIR/$i/kicad.po
|
||||||
fi
|
fi
|
||||||
msgfmt --statistics $LOCALDIR/$i/kicad.po 2>&1 >>/dev/null |
|
msgfmt --statistics $LOCALDIR/$i/kicad.po -o $LOCALDIR/messages.mo 2>&1 >>/dev/null |
|
||||||
while IFS=",." read A B C D ; do
|
while IFS=",." read A B C D ; do
|
||||||
echo $A
|
echo $A
|
||||||
echo $B
|
echo $B
|
||||||
|
@ -126,6 +126,7 @@ do
|
||||||
done
|
done
|
||||||
echo "$i;${TRANSLATED};${FUZZY};${UNTRANSLATED}">>"${CSVFILE}"
|
echo "$i;${TRANSLATED};${FUZZY};${UNTRANSLATED}">>"${CSVFILE}"
|
||||||
done
|
done
|
||||||
|
rm $LOCALDIR/messages.mo
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$PLOT" = "1" ]; then
|
if [ "$PLOT" = "1" ]; then
|
||||||
|
|
Loading…
Reference in New Issue