[schema display] display_name shouldn't call .lower(). Note the only proper way is to have different msgid for upper/lower cases. Closes #1105433
--- 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)