Run language_helper.py from inside languages dir

compare_xml.py and language_helper.py make different assumptions about
the directory from which they are called. Assume the script is run from
within the languages directory for both.

Change-Id: I4207919360d82dcd3cfbdebcff38f0e872554744
This commit is contained in:
Matt Mower
2017-02-18 14:59:59 -06:00
committed by Dees Troy
parent ff2c6b2d52
commit c0f84e77d2
+2 -2
View File
@@ -25,12 +25,12 @@ def toprettyxml(xdoc, encoding):
return unistr.encode(encoding, 'xmlcharrefreplace')
HELP = """
language_helper.py -o file.xml other language to compre to English
language_helper.py -o file.xml other language to compare to English
[ -f file.xml ] output file (defaults to new.xml)
-h help info
"""
enfile = "../gui/theme/common/languages/en.xml"
enfile = "en.xml"
otherfile = ""
outfile = "new.xml"