mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
ejabberd_web_admin: Make text translatable
This also fixes a type issue.
This commit is contained in:
parent
abe0817553
commit
ac47b7b8cb
@ -623,9 +623,9 @@ list_vhosts2(Lang, Hosts) ->
|
||||
maybe_disclaimer_not_admin(MenuItems, AJID, Lang) ->
|
||||
case {MenuItems, list_vhosts_allowed(AJID)} of
|
||||
{[_], []} ->
|
||||
[?XREST("Apparently your account has no administration rights in this server. "
|
||||
"Please check how to grant admin rights in: "
|
||||
"https://docs.ejabberd.im/admin/installation/#administration-account")
|
||||
[?XREST(?T("Apparently your account has no administration rights in this server. "
|
||||
"Please check how to grant admin rights in: "
|
||||
"https://docs.ejabberd.im/admin/installation/#administration-account"))
|
||||
];
|
||||
_ ->
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user