8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-19 09:02:35 +00:00

Mark strings for translation in api

This commit is contained in:
Laouen Fernet 2019-11-16 14:01:07 +00:00 committed by chirac
parent 8624105378
commit 3743a46bc5

View file

@ -74,6 +74,6 @@ def can_view(user):
can = user.has_perm(permission)
return (
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,),
)