4934: Menu items on SimpleTable and ScratchPad ignore translation strings for object class (test translations)
svn: r17595
This commit is contained in:
parent
5366b34c41
commit
c76e56c5d1
@ -294,6 +294,7 @@ def trans_see_details(objclass_str):
|
|||||||
Translates objclass_str into "See %s details", where objclass_str
|
Translates objclass_str into "See %s details", where objclass_str
|
||||||
is 'Person', 'person', 'Family', 'family', etc.
|
is 'Person', 'person', 'Family', 'family', etc.
|
||||||
"""
|
"""
|
||||||
|
from gen.ggettext import gettext as _
|
||||||
objclass = objclass_str.lower()
|
objclass = objclass_str.lower()
|
||||||
if objclass == "person":
|
if objclass == "person":
|
||||||
return _("See person details")
|
return _("See person details")
|
||||||
|
Loading…
Reference in New Issue
Block a user