more translation help

This commit is contained in:
zzz
2020-05-15 13:38:25 +00:00
parent 791de54dca
commit 7541307b2d
2 changed files with 33 additions and 3 deletions

18
findpochanges.sh Executable file
View File

@@ -0,0 +1,18 @@
TMP=/tmp/findpochanges$$.txt
TMP2=newtranslations.txt
rm -f $TMP2
touch $TMP2
for i in i2p2www/translations/*/*/*.po
do
mtn diff $i | grep '+msgstr' | grep -v '+msgstr ""' > $TMP
if [ -s $TMP ]
then
echo $i >> $TMP2
echo $i
cat $TMP
echo
fi
done
echo 'New strings in the following files:'
cat $TMP2
rm -f $TMP