Skip to content

Commit 8e4e70a

Browse files
committed
updating terms copy
1 parent 548a243 commit 8e4e70a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

vector/src/main/java/im/vector/app/features/onboarding/ftueauth/terms/FtueAuthTermsFragment.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ class FtueAuthTermsFragment @Inject constructor(
114114
}
115115

116116
override fun updateWithState(state: OnboardingViewState) {
117-
policyController.homeServer = state.selectedHomeserver.userFacingUrl.toReducedUrl()
117+
val homeserverName = state.selectedHomeserver.userFacingUrl.toReducedUrl()
118+
views.termsHeaderSubtitle.text = getString(R.string.ftue_auth_terms_subtitle, homeserverName)
119+
policyController.homeServer = homeserverName
118120
renderState()
119121
}
120122

vector/src/main/res/layout/fragment_ftue_login_terms.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
android:layout_height="wrap_content"
7474
android:layout_marginTop="8dp"
7575
android:gravity="center"
76-
android:text="@string/ftue_auth_terms_subtitle"
7776
android:textColor="?vctr_content_secondary"
7877
app:layout_constraintBottom_toTopOf="@id/titleContentSpacing"
7978
app:layout_constraintEnd_toEndOf="@id/termsGutterEnd"

vector/src/main/res/values/donottranslate.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
<string name="ftue_auth_choose_server_ems_subtitle">Element Matrix Services (EMS) is a robust and reliable hosting service for fast, secure and real time communication. Find out how on <a href="${ftue_ems_url}">element.io/ems</a></string>
2929
<string name="ftue_auth_choose_server_ems_cta">Get in touch</string>
3030

31-
<string name="ftue_auth_terms_title">Privacy policy</string>
32-
<string name="ftue_auth_terms_subtitle">Please read through T&amp;C. You must accept in order to continue.</string>
31+
<string name="ftue_auth_terms_title">Server policies</string>
32+
<!-- Note for translators, %s is the homeserver name, eg matrix.org -->
33+
<string name="ftue_auth_terms_subtitle">Please read through %s\'s terns and policies</string>
3334

3435
<string name="ftue_auth_email_title">Enter your email</string>
3536
<!-- Note for translators, %s is the homeserver name, eg matrix.org -->

0 commit comments

Comments
 (0)