Skip to content

Commit

Permalink
ejabberd_web_admin: Make text translatable
Browse files Browse the repository at this point in the history
This also fixes a type issue.
  • Loading branch information
weiss committed Sep 26, 2023
1 parent abe0817 commit ac47b7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ejabberd_web_admin.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
];
_ ->
[]
Expand Down

0 comments on commit ac47b7b

Please sign in to comment.