Merge pull request #3288 from krassle/Element-Fix-translation-on-welcome-screen
[Element] Fix translation on welcome screen
This commit is contained in:
commit
dd182e3514
@ -160,8 +160,8 @@ matrix_client_element_welcome_logo: "themes/element/img/logos/element-logo.svg"
|
|||||||
# URL of link on welcome image
|
# URL of link on welcome image
|
||||||
matrix_client_element_welcome_logo_link: "https://element.io"
|
matrix_client_element_welcome_logo_link: "https://element.io"
|
||||||
|
|
||||||
matrix_client_element_welcome_headline: "_t('Welcome to Element')"
|
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_text: "_t(\"powered_by_matrix_with_logo\")"
|
||||||
|
|
||||||
# Links, shown in footer of welcome page:
|
# Links, shown in footer of welcome page:
|
||||||
# [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}]
|
# [{"text": "Link text", "url": "https://link.target"}, {"text": "Other link"}]
|
||||||
|
@ -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_ButtonGroup">
|
||||||
<div class="mx_ButtonRow">
|
<div class="mx_ButtonRow">
|
||||||
<a href="#/login" class="mx_ButtonParent mx_ButtonSignIn mx_Button_iconSignIn">
|
<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>
|
</a>
|
||||||
{% if matrix_client_element_registration_enabled %}
|
{% if matrix_client_element_registration_enabled %}
|
||||||
<a href="#/register" class="mx_ButtonParent mx_ButtonCreateAccount mx_Button_iconCreateAccount">
|
<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>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@ -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 class="mx_ButtonRow mx_WelcomePage_guestFunctions">
|
||||||
<div>
|
<div>
|
||||||
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user