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 2011-05-27 18:14:39 +00:00
parent 5366b34c41
commit c76e56c5d1
2 changed files with 775 additions and 942 deletions

1716
po/fr.po

File diff suppressed because it is too large Load Diff

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")