changeset 1037:744a33f78ccc trunk

Add HTML5 input placeholder attribute to list of translatable attributes (fixes #577).
author hodgestar
date Wed, 19 Mar 2014 14:31:48 +0000
parents e02843c0fecc
children accc8a0cf486
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
@@ -604,7 +604,8 @@
         QName('style'), QName('http://www.w3.org/1999/xhtml}style')
     ])
     INCLUDE_ATTRS = frozenset([
-        'abbr', 'alt', 'label', 'prompt', 'standby', 'summary', 'title'
+        'abbr', 'alt', 'label', 'prompt', 'standby', 'summary', 'title',
+        'placeholder',
     ])
     NAMESPACE = I18N_NAMESPACE
 
Copyright (C) 2012-2017 Edgewall Software