25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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) -> maybe_disclaimer_not_admin(MenuItems, AJID, Lang) ->
case {MenuItems, list_vhosts_allowed(AJID)} of case {MenuItems, list_vhosts_allowed(AJID)} of
{[_], []} -> {[_], []} ->
[?XREST("Apparently your account has no administration rights in this server. " [?XREST(?T("Apparently your account has no administration rights in this server. "
"Please check how to grant admin rights in: " "Please check how to grant admin rights in: "
"https://docs.ejabberd.im/admin/installation/#administration-account") "https://docs.ejabberd.im/admin/installation/#administration-account"))
]; ];
_ -> _ ->
[] []