Update translations
This commit is contained in:
+265
-237
File diff suppressed because it is too large
Load Diff
+1738
-1513
File diff suppressed because it is too large
Load Diff
+264
-237
File diff suppressed because it is too large
Load Diff
+265
-237
File diff suppressed because it is too large
Load Diff
+265
-237
File diff suppressed because it is too large
Load Diff
+265
-237
File diff suppressed because it is too large
Load Diff
+265
-237
File diff suppressed because it is too large
Load Diff
+264
-238
File diff suppressed because it is too large
Load Diff
@@ -15,3 +15,22 @@ do
|
|||||||
cat ${lang}.pox > ${lang}.po
|
cat ${lang}.pox > ${lang}.po
|
||||||
rm ${lang}.pox
|
rm ${lang}.pox
|
||||||
done
|
done
|
||||||
|
|
||||||
|
set +e
|
||||||
|
set +x
|
||||||
|
echo "Status:"
|
||||||
|
for f in *.po
|
||||||
|
do
|
||||||
|
lang=$(basename $f .po)
|
||||||
|
fuzzy=$(cat ${lang}.po | grep -A2 "#, fuzzy")
|
||||||
|
missing=$(cat ${lang}.po | grep -B1 'msgstr ""')
|
||||||
|
if [ -z "$fuzzy" ] && [ -z "$missing" ]
|
||||||
|
then
|
||||||
|
echo $lang ": Up to date"
|
||||||
|
else
|
||||||
|
count=$(echo -e "$fuzzy" "\n" "$missing" | grep "^--$" | wc -l)
|
||||||
|
echo "${lang}: Translation incomplete: ${count} strings to be updated. See ${lang}.todo"
|
||||||
|
echo "$fuzzy" > ${lang}.todo
|
||||||
|
echo "$missing" >> ${lang}.todo
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user