Browse Source

Mark strings for translation in api

translation
Laouen Fernet 6 years ago
committed by chirac
parent
commit
3743a46bc5
  1. 2
      api/acl.py

2
api/acl.py

@ -74,6 +74,6 @@ def can_view(user):
can = user.has_perm(permission) can = user.has_perm(permission)
return ( return (
can, can,
None if can else _("You don't have the right to see this" " application."), None if can else _("You don't have the right to view this application."),
(permission,), (permission,),
) )

Loading…
Cancel
Save