Home
last modified time | relevance | path

Searched refs:sdfdata (Results 1 – 3 of 3) sorted by relevance

/trunk/main/l10ntools/scripts/tool/
H A Dl10ntool.py47 …ef merge_file(self, inputfilename, outputfilename, parsed_file_ref, lang, is_forced_lang, sdfdata): argument
55 def merge_one_big_file(self, inputfile, outputfilename, parsed_file_ref, lang, sdfdata): argument
82 def merge(self, sdfdata): argument
89 if sdfdata.get_languages_found_in_sdf():
90 foundset = sdfdata.get_languages_found_in_sdf()
101 …ile(inputfile,self.format_outputfile(inputfile, lang), ref, lang, False, sdfdata) for lang in ((la…
104 …ile(inputfile, self.format_outputfile(inputfile, lang), ref, lang, True, sdfdata) for lang in for…
107 …putfile, self.format_outputfile(inputfile, lang), ref, ((langset & foundset) | forcedset), sdfdata)
166 sdfdata = SdfData(self._options.input_sdf_file)
167 sdfdata.read()
[all …]
H A Dxhtex.py48 def merge_topic(self, list, sdfdata, lang, inputfilename, dom): argument
52 if sdfdata[obj.get_id()]:
53 elem.childNodes[0].data = unicode(str(sdfdata[obj.get_id()].text),"utf8")
56 def merge_title(self, list, sdfdata, lang, inputfilename): argument
59 if elem.getAttribute("id").strip() and sdfdata[obj.get_id()]:
60 elem.setAttribute("title", unicode(str(sdfdata[obj.get_id()].text),"utf8"))
79 …def merge_file(self, inputfilename, outputfilename, parsed_file_ref, lang,is_forced_lang, sdfdata): argument
88 self.merge_topic(dom.getElementsByTagName("topic"), sdfdata, lang, inputfilename, dom)
89 self.merge_title(dom.getElementsByTagName("node"), sdfdata, lang, inputfilename)
90 self.merge_title(dom.getElementsByTagName("help_section"), sdfdata, lang, inputfilename)
H A Dxtxex.py33 …ef merge_file(self, inputfilename, outputfilename, parsed_file_ref, lang, is_forced_lang, sdfdata): argument
42 if sdfline.get_id() in sdfdata:
43 line = sdfdata[sdfline.get_id()].text.replace("\\n", '\n')

Completed in 16 milliseconds