including updated copy for the carousel

- marked as donottranslate whilst waiting for sign off
- removed the positioning from the naming schema in favour of location of context
This commit is contained in:
Adam Brown 2022-01-13 14:19:55 +00:00
parent fbe60f5a52
commit 982b480613
3 changed files with 11 additions and 6 deletions

View file

@ -37,25 +37,25 @@ class SplashCarouselStateFactory @Inject constructor(
fun create() = SplashCarouselState(listOf(
SplashCarouselState.Item(
R.string.ftue_auth_carousel_1_title.colorTerminatingFullStop(R.attr.colorAccent),
R.string.ftue_auth_carousel_1_body,
R.string.ftue_auth_carousel_body_secure,
R.drawable.ic_splash_conversations,
R.drawable.bg_carousel_page_1
),
SplashCarouselState.Item(
R.string.ftue_auth_carousel_2_title.colorTerminatingFullStop(R.attr.colorAccent),
R.string.ftue_auth_carousel_2_body,
R.string.ftue_auth_carousel_body_control,
R.drawable.ic_splash_control,
R.drawable.bg_carousel_page_2
),
SplashCarouselState.Item(
R.string.ftue_auth_carousel_3_title.colorTerminatingFullStop(R.attr.colorAccent),
R.string.ftue_auth_carousel_3_body,
R.string.ftue_auth_carousel_body_encrypted,
R.drawable.ic_splash_secure,
R.drawable.bg_carousel_page_3
),
SplashCarouselState.Item(
collaborationTitle().colorTerminatingFullStop(R.attr.colorAccent),
R.string.ftue_auth_carousel_4_body,
R.string.ftue_auth_carousel_body_workplace,
R.drawable.ic_splash_collaboration,
R.drawable.bg_carousel_page_4
)
@ -64,7 +64,7 @@ class SplashCarouselStateFactory @Inject constructor(
private fun collaborationTitle(): Int {
return when {
localeProvider.isEnglishSpeaking() -> R.string.cut_the_slack_from_teams
else -> R.string.ftue_auth_carousel_4_title
else -> R.string.ftue_auth_carousel_title_messaging
}
}

View file

@ -18,6 +18,12 @@
<string name="cut_the_slack_from_teams" translatable="false">Cut the slack from teams.</string>
<!-- WIP strings, will move to strings.xml when signed off -->
<string name="ftue_auth_carousel_body_secure" translatable="false">Secure and independent communication that gives you the same level of privacy as a face-to-face conversation in your own home.</string>
<string name="ftue_auth_carousel_body_control" translatable="false">Choose where your conversations are kept, giving you control and independence. Connected via Matrix.</string>
<string name="ftue_auth_carousel_body_encrypted" translatable="false">End-to-end encrypted and no phone number required. No ads or datamining.</string>
<string name="ftue_auth_carousel_title_messaging" translatable="false">Messaging for your team.</string>
<string name="ftue_auth_carousel_body_workplace" translatable="false">Element is also great for the workplace. Its trusted by the worlds most secure organisations.</string>
<string name="ftue_auth_use_case_title" translatable="false">Who will you chat to the most?</string>
<string name="ftue_auth_use_case_subtitle" translatable="false">We\'ll help you get connected.</string>
<string name="ftue_auth_use_case_option_one" translatable="false">Friends and family</string>

View file

@ -2526,7 +2526,6 @@
<string name="ftue_auth_carousel_2_body">Element lets you choose where your messages are stored, keeping you in control of your data.</string>
<string name="ftue_auth_carousel_3_title">Secure Messaging.</string>
<string name="ftue_auth_carousel_3_body">No phone number required, so you don\'t have to share those details with the outside world. No ads, no datamining.</string>
<!-- Todo replace with literal english translation -->
<string name="ftue_auth_carousel_4_title">Cut the slack from teams.</string>
<string name="ftue_auth_carousel_4_body">As universal as email, Element is a completely new type of collaboration.</string>