Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into 1809798_2
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 5, 2024
2 parents 713e65a + 7612d74 commit 14ad2a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions fenix/app/messaging-evergreen-messages.fml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import:
- value:
messages:
default-browser:
title: default_browser_experiment_card_title
text: default_browser_experiment_card_text
surface: homescreen
action: "MAKE_DEFAULT_BROWSER"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private fun MessageCardPreview() {
) {
MessageCard(
messageText = stringResource(id = R.string.default_browser_experiment_card_text),
titleText = stringResource(id = R.string.bookmark_empty_title_error),
titleText = stringResource(id = R.string.default_browser_experiment_card_title),
onClick = {},
onCloseButtonClick = {},
)
Expand Down Expand Up @@ -245,7 +245,7 @@ private fun MessageCardWithButtonLabelPreview() {
) {
MessageCard(
messageText = stringResource(id = R.string.default_browser_experiment_card_text),
titleText = stringResource(id = R.string.bookmark_empty_title_error),
titleText = stringResource(id = R.string.default_browser_experiment_card_title),
buttonText = stringResource(id = R.string.preferences_set_as_default_browser),
onClick = {},
onCloseButtonClick = {},
Expand Down
3 changes: 3 additions & 0 deletions fenix/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,9 @@
<string name="other_default_search_engine_suggestion_header">%s search</string>

<!-- Default browser experiment -->
<!-- Default browser card title -->
<string name="default_browser_experiment_card_title">Switch your default browser</string>
<!-- Default browser card text -->
<string name="default_browser_experiment_card_text">Set links from websites, emails, and messages to open automatically in Firefox.</string>

<!-- Content description for close button in collection placeholder. -->
Expand Down

0 comments on commit 14ad2a1

Please sign in to comment.