mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-9805: Created script to compare XML traslation files with phrase_en.xml
This commit is contained in:
1 parent
89063a1a4c
commit
26aa8531fe
3 files changed
+82
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
SAXON_JAR=/usr/share/java/saxon9he.jar
|
||||
XML=$1
|
||||
|
||||
if [ ! -f "$SAXON_JAR" ]; then
|
||||
echo "Please update 'SAXON_JAR' varaiable value to location of SAXON jar"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
if [ -z "$XML" ]; then
|
||||
echo "Error: Please enter xml file name that must be ckecked."
|
||||
echo "Exmple: make_checks.sh phrase_es_ES.xml > comparison_result.xml"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
java -jar "$SAXON_JAR" -xsl:make_checks.xslt -t "$XML"
|
||||
|
||||
Reference in new issue
Block a user