new location for tips.xml, typo on path

svn: r21004
This commit is contained in:
Jérôme Rapinat 2013-01-05 14:36:49 +00:00
parent eee79d223b
commit d60bbe812b

View File

@ -164,7 +164,7 @@ def TipsParse(filename, mark):
"Editor." "Editor."
''' '''
tips = open('../gramps/tips.xml.in.h', 'w') tips = open('../data/tips.xml.in.h', 'w')
marklist = root.iter(mark) marklist = root.iter(mark)
for key in marklist: for key in marklist:
tip = ElementTree.tostring(key, encoding="UTF-8") tip = ElementTree.tostring(key, encoding="UTF-8")
@ -538,8 +538,8 @@ def extract_xml():
files. Own XML files parsing and custom translation marks. files. Own XML files parsing and custom translation marks.
""" """
TipsParse('../data/tips.xml.in', '_tip')
HolidaysParse('../gramps/plugins/lib/holidays.xml.in', '_name') HolidaysParse('../gramps/plugins/lib/holidays.xml.in', '_name')
TipsParse('../data/tips.xml.in', '_tip')
XmlParse('../data/gramps.xml.in', '_comment') XmlParse('../data/gramps.xml.in', '_comment')
DesktopParse('../data/gramps.desktop.in') DesktopParse('../data/gramps.desktop.in')
KeyParse('../data/gramps.keys.in', '_description') KeyParse('../data/gramps.keys.in', '_description')