[gimp-help] tools: names and emails should not be translated



commit 6ebc5ce97427423edd2c90847176136208ea12d6
Author: Jacob Boerema <jgboerema gmail com>
Date:   Tue Mar 1 22:39:35 2022 -0500

    tools: names and emails should not be translated
    
    (cherry picked from commit ff052df37a249e06b19e67042b569ad6c1949041)

 tools/xml2po/modes/docbook.py  | 3 ++-
 tools/xml2po/modes/gimphelp.py | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tools/xml2po/modes/docbook.py b/tools/xml2po/modes/docbook.py
index ed395080e..21f7aa264 100644
--- a/tools/xml2po/modes/docbook.py
+++ b/tools/xml2po/modes/docbook.py
@@ -54,7 +54,8 @@ class docbookXmlMode(basicXmlMode):
         self.lists = ['itemizedlist', 'orderedlist', 'variablelist',
                       'segmentedlist', 'simplelist', 'calloutlist', 'varlistentry' ]
         self.objects = [ 'figure', 'textobject', 'imageobject', 'mediaobject',
-                         'screenshot' ]
+                         'screenshot', 'author', 'personname', 'firstname', 'surname',
+                         '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 eff767c62..aac189337 100644
--- a/tools/xml2po/modes/gimphelp.py
+++ b/tools/xml2po/modes/gimphelp.py
@@ -45,7 +45,8 @@ class gimphelpXmlMode(docbookXmlMode):
             self.lists = ['itemizedlist', 'orderedlist', 'variablelist',
                           'segmentedlist', 'simplelist', 'calloutlist', 'varlistentry' ]
             self.objects = [ 'figure', 'textobject', 'imageobject', 'mediaobject',
-                             'screenshot' ]
+                             'screenshot', 'author', 'personname', 'firstname', 'surname',
+                             '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]