Update template for appdata stuff
This commit is contained in:
parent
fc52d200a0
commit
82f60dcb2b
3181
po/gramps.pot
3181
po/gramps.pot
File diff suppressed because it is too large
Load Diff
@ -248,10 +248,12 @@ def XmlParse(filename, mark):
|
|||||||
msgid "Gramps database"
|
msgid "Gramps database"
|
||||||
msgid "GEDCOM"
|
msgid "GEDCOM"
|
||||||
|
|
||||||
|
<description>
|
||||||
<_p> Gramps is a free software project and community.
|
<_p> Gramps is a free software project and community.
|
||||||
We strive to produce a genealogy program that is both intuitive for hobbyists
|
We strive to produce a genealogy program that is both intuitive for hobbyists
|
||||||
and feature-complete for professional genealogists.
|
and feature-complete for professional genealogists.
|
||||||
</p>
|
</p>
|
||||||
|
</description>
|
||||||
'''
|
'''
|
||||||
|
|
||||||
with open(filename + '.h', 'w') as head:
|
with open(filename + '.h', 'w') as head:
|
||||||
@ -259,6 +261,9 @@ def XmlParse(filename, mark):
|
|||||||
if key.tag == '{http://www.freedesktop.org/standards/shared-mime-info}%s' % mark:
|
if key.tag == '{http://www.freedesktop.org/standards/shared-mime-info}%s' % mark:
|
||||||
comment = 'char *s = N_("%s");\n' % key.text
|
comment = 'char *s = N_("%s");\n' % key.text
|
||||||
head.write(comment)
|
head.write(comment)
|
||||||
|
if key.tag == mark: #appdata
|
||||||
|
comment = 'char *s = N_("%s");\n' % key.text
|
||||||
|
head.write(comment)
|
||||||
|
|
||||||
if root.tag == 'application':
|
if root.tag == 'application':
|
||||||
for key in root.iter():
|
for key in root.iter():
|
||||||
|
Loading…
Reference in New Issue
Block a user