From 9f160856cc2bb1c3b4038f0c46a1af6298058914 Mon Sep 17 00:00:00 2001 From: krassle <6473406+krassle@users.noreply.github.com> Date: Mon, 22 Apr 2024 01:59:15 +0200 Subject: [PATCH 1/2] Update main.yml --- roles/custom/matrix-client-element/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/custom/matrix-client-element/defaults/main.yml b/roles/custom/matrix-client-element/defaults/main.yml index 039bb73b3..dfd3bbeb1 100644 --- a/roles/custom/matrix-client-element/defaults/main.yml +++ b/roles/custom/matrix-client-element/defaults/main.yml @@ -160,8 +160,8 @@ matrix_client_element_welcome_logo: "themes/element/img/logos/element-logo.svg" # URL of link on welcome image matrix_client_element_welcome_logo_link: "https://element.io" -matrix_client_element_welcome_headline: "_t('Welcome to Element')" -matrix_client_element_welcome_text: "_t('Decentralised, encrypted chat & collaboration powered by [matrix]')" +matrix_client_element_welcome_headline: "_t(\"welcome_to_element\")" +matrix_client_element_welcome_text: "_t(\"powered_by_matrix_with_logo\")" # Links, shown in footer of welcome page: # [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}] From 3d8fb3fc98b0db8b8e341a35ec86f1b4f5de7743 Mon Sep 17 00:00:00 2001 From: krassle <6473406+krassle@users.noreply.github.com> Date: Mon, 22 Apr 2024 02:01:14 +0200 Subject: [PATCH 2/2] Update welcome.html.j2 --- .../custom/matrix-client-element/templates/welcome.html.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/custom/matrix-client-element/templates/welcome.html.j2 b/roles/custom/matrix-client-element/templates/welcome.html.j2 index d1c604133..f25ac6812 100644 --- a/roles/custom/matrix-client-element/templates/welcome.html.j2 +++ b/roles/custom/matrix-client-element/templates/welcome.html.j2 @@ -178,11 +178,11 @@ we don't have an account and should hide them. No account == no guest account ei
-
_t("Sign In")
+
_t("action|sign_in")
{% if matrix_client_element_registration_enabled %} -
_t("Create Account")
+
_t("action|create_account")
{% endif %}
@@ -195,7 +195,7 @@ we don't have an account and should hide them. No account == no guest account ei
-
_t("Explore rooms")
+
_t("action|explore_rooms")