[gimp-help] tools: fix author names appearing again
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help] tools: fix author names appearing again
- Date: Mon, 14 Mar 2022 21:03:00 +0000 (UTC)
commit 27e25991891480e81a9e7c7899f773466f8e5fb7
Author: Jacob Boerema <jgboerema gmail com>
Date: Mon Mar 14 17:02:26 2022 -0400
tools: fix author names appearing again
After adding the <othername> tags (because xml validation failed without),
the names of the authors appeared again in translations.
Add othername to the list of tags to ignore.
tools/xml2po/modes/docbook.py | 2 +-
tools/xml2po/modes/gimphelp.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/xml2po/modes/docbook.py b/tools/xml2po/modes/docbook.py
index 21f7aa264..cbfaab9a2 100644
--- a/tools/xml2po/modes/docbook.py
+++ b/tools/xml2po/modes/docbook.py
@@ -55,7 +55,7 @@ class docbookXmlMode(basicXmlMode):
'segmentedlist', 'simplelist', 'calloutlist', 'varlistentry' ]
self.objects = [ 'figure', 'textobject', 'imageobject', 'mediaobject',
'screenshot', 'author', 'personname', 'firstname', 'surname',
- 'email' ]
+ 'othername', 'email' ]
def getIgnoredTags(self):
"Returns array of tags to be ignored."
diff --git a/tools/xml2po/modes/gimphelp.py b/tools/xml2po/modes/gimphelp.py
index aac189337..0ee1e4e12 100644
--- a/tools/xml2po/modes/gimphelp.py
+++ b/tools/xml2po/modes/gimphelp.py
@@ -46,7 +46,7 @@ class gimphelpXmlMode(docbookXmlMode):
'segmentedlist', 'simplelist', 'calloutlist', 'varlistentry' ]
self.objects = [ 'figure', 'textobject', 'imageobject', 'mediaobject',
'screenshot', 'author', 'personname', 'firstname', 'surname',
- 'email' ]
+ 'othername', 'email' ]
def getTreatedAttributes(self):
"Return array of tag attributes which content is to be translated"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]