Skip to content

Commit

Permalink
Merge pull request #3288 from krassle/Element-Fix-translation-on-welc…
Browse files Browse the repository at this point in the history
…ome-screen

[Element] Fix translation on welcome screen
  • Loading branch information
spantaleev authored Apr 23, 2024
2 parents b959e53 + 3d8fb3f commit dd182e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions roles/custom/matrix-client-element/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
Expand Down
6 changes: 3 additions & 3 deletions roles/custom/matrix-client-element/templates/welcome.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ we don't have an account and should hide them. No account == no guest account ei
<div class="mx_ButtonGroup">
<div class="mx_ButtonRow">
<a href="#/login" class="mx_ButtonParent mx_ButtonSignIn mx_Button_iconSignIn">
<div class="mx_ButtonLabel">_t("Sign In")</div>
<div class="mx_ButtonLabel">_t("action|sign_in")</div>
</a>
{% if matrix_client_element_registration_enabled %}
<a href="#/register" class="mx_ButtonParent mx_ButtonCreateAccount mx_Button_iconCreateAccount">
<div class="mx_ButtonLabel">_t("Create Account")</div>
<div class="mx_ButtonLabel">_t("action|create_account")</div>
</a>
{% endif %}
</div>
Expand All @@ -195,7 +195,7 @@ we don't have an account and should hide them. No account == no guest account ei
<div class="mx_ButtonRow mx_WelcomePage_guestFunctions">
<div>
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
<div class="mx_ButtonLabel">_t("Explore rooms")</div>
<div class="mx_ButtonLabel">_t("action|explore_rooms")</div>
</a>
</div>
</div>
Expand Down

0 comments on commit dd182e3

Please sign in to comment.