mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-30 08:32:26 +00:00
Mark strings for translation in api
This commit is contained in:
parent
8624105378
commit
3743a46bc5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue