summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtranslationscheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/translationscheck.sh b/translationscheck.sh
index 149090f..ef60dfb 100755
--- a/translationscheck.sh
+++ b/translationscheck.sh
@@ -15,14 +15,19 @@ fi
for i in $langs
do
+ echo "******** $i ***********"
po2oo -i $SRC_ROOT/translations/source/$i -t $SRC_ROOT/translations/unxlngi6.pro/misc/sdf-template/en-US.sdf -o $i.sdf -l $i
gsicheck -c -wef $i.err $i.sdf >$i.log
+ grep -v " en-US " $i.sdf > $i-mono.sdf
+ gsicheck -c -l "" -wef $i-fatal.err $i-mono.sdf >$i-fatal.log
READMETMP=$(mktemp)
grep "^readlic" $i.sdf | grep -v " en-US " | sed -e "s/</\\\</g" -e "s/>/\\\>/g" -e 's/"/\\\"/g' > $READMETMP
gsicheck -c -l "" $READMETMP | sed -e "s/\\\>/>/g" -e "s/\\\</</g" -e 's/\\\"/"/g' >> $i.log
+ gsicheck -c -l "" $READMETMP | sed -e "s/\\\>/>/g" -e "s/\\\</</g" -e 's/\\\"/"/g' >> $i-fatal.log
WITH_LANG=$i $base/doublecheck.pl -m formula -f source.core.resource.core_resource.src -g RID_STRLIST_FUNCTION_NAMES $i.sdf >>$i.log
WITH_LANG=$i $base/doublecheck.pl -m scaddins -f source.analysis.analysis_funcnames.src -g RID_ANALYSIS_FUNCTION_NAMES $i.sdf >>$i.log
WITH_LANG=$i $base/doublecheck.pl -m scaddins -f source.datefunc.datefunc.src -g RID_DATE_FUNCTION_NAMES $i.sdf >> $i.log
WITH_LANG=$i $base/doublecheck.pl -m sw -f source.ui.utlui.poolfmt.src -g "STR_POOLNUMRULE_.*" $i.sdf >> $i.log
WITH_LANG=$i $base/doublecheck.pl -m sw -f source.ui.utlui.poolfmt.src -g "STR_POOLCOLL_.*" $i.sdf >> $i.log
+ rm $i.sdf $i-mono.sdf
done