25
1
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:
Holger Weiss 2023-09-26 23:21:45 +02:00
parent abe0817553
commit ac47b7b8cb

View File

@ -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"))
];
_ ->
[]