From 6f94ec8ef314cd79de923e0d50a524ac4dd0a881 Mon Sep 17 00:00:00 2001 From: romjerome Date: Mon, 16 May 2016 12:15:25 +0200 Subject: [PATCH] Update for appdata stuff --- po/update_po.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/po/update_po.py b/po/update_po.py index 305c6fd71..6c21b9acc 100644 --- a/po/update_po.py +++ b/po/update_po.py @@ -256,10 +256,12 @@ def XmlParse(filename, mark): msgid "Gramps database" msgid "GEDCOM" + <_p> Gramps is a free software project and community. We strive to produce a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.

+
''' head = open(filename + '.h', 'w') @@ -268,7 +270,10 @@ def XmlParse(filename, mark): if key.tag == '{http://www.freedesktop.org/standards/shared-mime-info}%s' % mark: comment = 'char *s = N_("%s");\n' % key.text head.write(comment) - + if key.tag == mark: #appdata + comment = 'char *s = N_("%s");\n' % key.text + head.write(comment) + if root.tag == 'application': for key in root.iter(): if key.tag == mark: