From c0f84e77d2004a18b04011dcfbc598c93b6ad977 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Sat, 18 Feb 2017 14:59:59 -0600 Subject: 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 --- scripts/language_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/language_helper.py b/scripts/language_helper.py index 2e3df7132..ae08363cc 100644 --- a/scripts/language_helper.py +++ b/scripts/language_helper.py @@ -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" -- cgit v1.2.3