From 9ae7e30dc8daace92d17ea36a4f0bdede00b9471 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 14 May 2015 17:11:48 +0000 Subject: lingui: use libhb preset management from linux gui git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- scripts/create_resources.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create_resources.py b/scripts/create_resources.py index 95921d317..26f7acd1c 100755 --- a/scripts/create_resources.py +++ b/scripts/create_resources.py @@ -58,7 +58,7 @@ def start_element_handler(tag, attr): elif fname == None: print >> sys.stderr, ( "Error: No such plist file %s" % fbase ) sys.exit(1) - elif tag == "string": + elif tag == "text": fbase = attr["file"] fname = find_file(fbase) key = attr["name"] @@ -72,6 +72,9 @@ def start_element_handler(tag, attr): elif fname == None: print >> sys.stderr, ( "Error: No such string file %s" % fbase ) sys.exit(1) + elif tag == "string": + key = attr["name"] + val = attr["value"] if val != None: if type(current) == types.DictType: -- cgit v1.2.3