changeset 467:23082baddbf9 trunk

Add some more localizable HTML attributes to the I18n filter.
author cmlenz
date Sat, 28 Apr 2007 23:04:10 +0000
parents 015419437645
children 2d3246f9ea54
files genshi/filters/i18n.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/genshi/filters/i18n.py
+++ b/genshi/filters/i18n.py
@@ -71,7 +71,8 @@
         QName('script'), QName('http://www.w3.org/1999/xhtml}script'),
         QName('style'), QName('http://www.w3.org/1999/xhtml}style')
     ])
-    INCLUDE_ATTRS = frozenset(['title', 'alt'])
+    INCLUDE_ATTRS = frozenset(['abbr', 'alt', 'label', 'prompt', 'standby',
+                               'summary', 'title'])
 
     def __init__(self, translate=gettext, ignore_tags=IGNORE_TAGS,
                  include_attrs=INCLUDE_ATTRS):
Copyright (C) 2012-2017 Edgewall Software