diff -r 98ccebc37403 -r dc7c549001d5 build/buildutils/extractJavaLocFiles_qt.py --- a/build/buildutils/extractJavaLocFiles_qt.py Fri May 14 15:47:24 2010 +0300 +++ b/build/buildutils/extractJavaLocFiles_qt.py Thu May 27 12:49:31 2010 +0300 @@ -41,7 +41,11 @@ 'javassl', 'javausermessages', 'javaapplicationsettings', - 'javaruntimeapplicationsettings' + # loc files for qt + 'javaapplicationinstaller', + 'javaapplicationsecuritymessages', + 'javaruntimeapplicationsettings', + 'javaruntimecertificatemanagement' ] # Path for java loc files inside RESOURCES_FILE. @@ -89,7 +93,7 @@ shutil.rmtree(tmpDir) except: - print "Usage: %s " % sys.argv[0] + print "Usage: %s " % sys.argv[0] traceback.print_exc() sys.exit(1) @@ -110,6 +114,10 @@ else: text = translation.text + # If text is not found, this is unlocalised engineering English file + if text == None: + text = message.find("source").text + # Sanity check - no newlines in text allowed if "\n" in text: raise Exception("Conversion error in %s / %s: newline found" % (filename, id))