[PM-9933] Update marketing copy (#3778)

This commit is contained in:
André Bispo 2024-08-20 13:33:53 +01:00 committed by GitHub
parent 57c2e7ee4e
commit ad2c575b39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View file

@ -422,7 +422,7 @@ private fun ReceiveMarketingEmailsSwitch(
val unsubscribeString = stringResource(id = R.string.unsubscribe)
@Suppress("MaxLineLength")
val annotatedLinkString = createAnnotatedString(
mainString = stringResource(id = R.string.get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time),
mainString = stringResource(id = R.string.get_advice_announcements_and_research_opportunities_from_bitwarden_in_your_inbox_unsubscribe_any_time),
highlights = listOf(unsubscribeString),
tag = TAG_URL,
)

View file

@ -939,6 +939,7 @@ Do you want to switch to this account?</string>
<string name="no_email_go_back_to_edit_your_email_address">No email? Go back to edit your email address.</string>
<string name="or_log_in_you_may_already_have_an_account">Or log in, you may already have an account.</string>
<string name="get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time">Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.</string>
<string name="get_advice_announcements_and_research_opportunities_from_bitwarden_in_your_inbox_unsubscribe_any_time">Get advice, announcements, and research opportunities from Bitwarden in your inbox. Unsubscribe at any time.</string>
<string name="privacy_prioritized">Privacy, prioritized</string>
<string name="welcome_message_1">Save logins, cards, and identities to your secure vault. Bitwarden uses zero-knowledge, end-to-end encryption to protect whats important to you.</string>
<string name="welcome_message_2">Set up biometric unlock and autofill to log into your accounts without typing a single letter.</string>

View file

@ -246,7 +246,7 @@ class StartRegistrationScreenTest : BaseComposeTest() {
fun `when unsubscribe custom action invoked should send UnsubscribeMarketingEmailsClick`() {
@Suppress("MaxLineLength")
composeTestRule
.onNodeWithText("Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.")
.onNodeWithText("Get advice, announcements, and research opportunities from Bitwarden in your inbox. Unsubscribe at any time.")
.performCustomAccessibilityAction("Unsubscribe")
verify { viewModel.trySendAction(StartRegistrationAction.UnsubscribeMarketingEmailsClick) }