Skip to content

Commit

Permalink
Rename title string resources
Browse files Browse the repository at this point in the history
  • Loading branch information
shannon-livefront committed Aug 7, 2024
1 parent f518bea commit 61c5bdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ data class WelcomeState(
@Parcelize
data object CardOne : WelcomeCard() {
override val imageRes: Int = R.drawable.welcome_1
override val titleRes: Int = R.string.welcome_title_1
override val titleRes: Int = R.string.privacy_protected
override val messageRes: Int = R.string.welcome_message_1
}

Expand All @@ -83,7 +83,7 @@ data class WelcomeState(
@Parcelize
data object CardTwo : WelcomeCard() {
override val imageRes: Int = R.drawable.welcome_2
override val titleRes: Int = R.string.welcome_title_2
override val titleRes: Int = R.string.never_guess_again
override val messageRes: Int = R.string.welcome_message_2
}

Expand All @@ -93,7 +93,7 @@ data class WelcomeState(
@Parcelize
data object CardThree : WelcomeCard() {
override val imageRes: Int = R.drawable.welcome_3
override val titleRes: Int = R.string.welcome_title_3
override val titleRes: Int = R.string.level_up_your_logins
override val messageRes: Int = R.string.welcome_message_3
}

Expand All @@ -103,7 +103,7 @@ data class WelcomeState(
@Parcelize
data object CardFour : WelcomeCard() {
override val imageRes: Int = R.drawable.welcome_4
override val titleRes: Int = R.string.welcome_title_4
override val titleRes: Int = R.string.your_data_when_and_where_you_need_it
override val messageRes: Int = R.string.welcome_message_4
}
}
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -927,12 +927,12 @@ Do you want to switch to this account?</string>
<string name="self_hosted_server_url">Self-hosted server URL</string>
<string name="passkey_operation_failed_because_user_could_not_be_verified">Passkey operation failed because user could not be verified.</string>
<string name="user_verification_direction">User verification</string>
<string name="welcome_title_1">Privacy, prioritized</string>
<string name="privacy_protected">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 what’s important to you.</string>
<string name="welcome_title_2">Never guess again</string>
<string name="never_guess_again">Never guess again</string>
<string name="welcome_message_2">Set up biometric unlock and autofill to log into your accounts without typing a single letter.</string>
<string name="welcome_title_3">Level up your logins</string>
<string name="level_up_your_logins">Level up your logins</string>
<string name="welcome_message_3">Use the generator to create and save strong, unique passwords for all your accounts.</string>
<string name="welcome_title_4">Your data, when and where you need it</string>
<string name="your_data_when_and_where_you_need_it">Your data, when and where you need it</string>
<string name="welcome_message_4">Save unlimited passwords across unlimited devices with Bitwarden mobile, browser, and desktop apps.</string>
</resources>

0 comments on commit 61c5bdb

Please sign in to comment.