summaryrefslogtreecommitdiff
path: root/xml2po
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@gnome.org>2006-04-11 16:19:37 +0000
committerElijah Newren <newren@src.gnome.org>2006-04-11 16:19:37 +0000
commit518efc1fe8a5598e8fc5f2c3da75fbe018f745b0 (patch)
treee8ae83c94bd26c32575e6a9541da408398ddeadc /xml2po
parentcad55b4bef0e1ec9f17da2e88815dd81c6fc7fd1 (diff)
downloadgnome-doc-utils-518efc1fe8a5598e8fc5f2c3da75fbe018f745b0.tar.gz
Check if "translators-credits" is translated.
2006-04-11 Danilo Šegan <danilo@gnome.org> * modes/docbook.py: Check if "translators-credits" is translated.
Diffstat (limited to 'xml2po')
-rw-r--r--xml2po/ChangeLog4
-rw-r--r--xml2po/modes/docbook.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/xml2po/ChangeLog b/xml2po/ChangeLog
index 2679a85..7a93aa0 100644
--- a/xml2po/ChangeLog
+++ b/xml2po/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-11 Danilo Šegan <danilo@gnome.org>
+
+ * modes/docbook.py: Check if "translators-credits" is translated.
+
2006-04-01 Danilo Šegan <danilo@gnome.org>
* tests/*: updated test cases.
diff --git a/xml2po/modes/docbook.py b/xml2po/modes/docbook.py
index 2908859..88e97a5 100644
--- a/xml2po/modes/docbook.py
+++ b/xml2po/modes/docbook.py
@@ -159,7 +159,7 @@ class docbookXmlMode:
if translators == self.getStringForTranslators():
return
- else:
+ elif translators:
# Now, lets find 'articleinfo' (it can be something else, but this goes along with 'article')
ai = self._find_articleinfo(root)
if not ai: