gimp-help-2 r2581 - in branches/xml2po-support: . tools
- From: ulfehlert svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp-help-2 r2581 - in branches/xml2po-support: . tools
- Date: Sat, 11 Oct 2008 18:48:50 +0000 (UTC)
Author: ulfehlert
Date: Sat Oct 11 18:48:50 2008
New Revision: 2581
URL: http://svn.gnome.org/viewvc/gimp-help-2?rev=2581&view=rev
Log:
2008-10-11 Ulf-D. Ehlert <ulfehlert svn gnome org>
* tools/split_xml_multi_lang.py: added 'glossdiv' to the
list of non-final tags
Modified:
branches/xml2po-support/ChangeLog
branches/xml2po-support/tools/split_xml_multi_lang.py
Modified: branches/xml2po-support/tools/split_xml_multi_lang.py
==============================================================================
--- branches/xml2po-support/tools/split_xml_multi_lang.py (original)
+++ branches/xml2po-support/tools/split_xml_multi_lang.py Sat Oct 11 18:48:50 2008
@@ -45,7 +45,7 @@
# these tags are considered NOT FINAL
sections = ('sect1', 'sect2', 'sect3', 'sect4', 'section', 'bibliodiv',
- 'book', 'part', 'chapter', 'preface', 'legalnotice')
+ 'book', 'part', 'chapter', 'preface', 'legalnotice', 'glossdiv')
sectinfos = ('sect2info', 'sect1info', 'sect3info', 'sect4info',
'bookinfo', 'appendixinfo')
notes = ('warning', 'caution', 'important', 'tip', 'note')
@@ -345,10 +345,10 @@
found = 0
for sibl in siblings:
- langs = self.get_langs(sibl)
- new_langs = [k for k in langs if k not in nodes]
+ sibl_langs = self.get_langs(sibl)
+ new_langs = [k for k in sibl_langs if k not in nodes]
if not self.final(elem):
- if len(langs) > len(new_langs):
+ if len(sibl_langs) > len(new_langs):
break
elif not new_langs:
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]