# HG changeset patch # User hodgestar # Date 1395239508 0 # Node ID 744a33f78ccc3a1ec07ae9422ee1fdc76d50cb91 # Parent e02843c0fecc57485be2d2c62681fdf27ce03563 Add HTML5 input placeholder attribute to list of translatable attributes (fixes #577). diff --git a/genshi/filters/i18n.py b/genshi/filters/i18n.py --- 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