# HG changeset patch # User Sylvain Thénault # Date 1318575084 -7200 # Node ID b7c825b00f649b40437b7d6b745fd7b4f083954c # Parent 99ae8c883ad35f68793864bf148f44463af727f7 [schema display] display_name shouldn't call .lower(). Note the only proper way is to have different msgid for upper/lower cases. Closes #1105433 diff -r 99ae8c883ad3 -r b7c825b00f64 schema.py --- a/schema.py Fri Oct 14 08:50:09 2011 +0200 +++ b/schema.py Fri Oct 14 08:51:24 2011 +0200 @@ -170,11 +170,10 @@ if form: key = key + '_' + form # ensure unicode - # .lower() in case no translation are available XXX done whatever a translation is there or not! if context is not None: - return unicode(req.pgettext(context, key)).lower() + return unicode(req.pgettext(context, key)) else: - return unicode(req._(key)).lower() + return unicode(req._(key)) __builtins__['display_name'] = deprecated('[3.4] display_name should be imported from cubicweb.schema')(display_name)