4934: Menu items on SimpleTable and ScratchPad ignore translation strings for object class (test translations)

svn: r17595
This commit is contained in:
Jérôme Rapinat committed 2011-05-27 18:14:39 +00:00
1 parent 5366b34c41
commit c76e56c5d1
2 files changed
+773 -940

No files matched your search

+772 -940
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -294,6 +294,7 @@ def trans_see_details(objclass_str):
Translates objclass_str into "See %s details", where objclass_str
is 'Person', 'person', 'Family', 'family', etc.
"""
from gen.ggettext import gettext as _
objclass = objclass_str.lower()
if objclass == "person":
return _("See person details")