From ac47b7b8cbf432f400394bb03bc29a25d569cb17 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 26 Sep 2023 23:21:45 +0200 Subject: [PATCH] ejabberd_web_admin: Make text translatable This also fixes a type issue. --- src/ejabberd_web_admin.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ejabberd_web_admin.erl b/src/ejabberd_web_admin.erl index ab109699f..eeb30dd29 100644 --- a/src/ejabberd_web_admin.erl +++ b/src/ejabberd_web_admin.erl @@ -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")) ]; _ -> []