mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-05 21:20:45 +00:00
For #27801 - Update header text for the search selector menu
This commit is contained in:
parent
3f3f508b2b
commit
868a63a91a
@ -50,7 +50,7 @@ class SearchSelectorMenu(
|
||||
|
||||
internal fun menuItems(searchEngines: List<MenuCandidate>): List<MenuCandidate> {
|
||||
val headerCandidate = DecorativeTextMenuCandidate(
|
||||
text = context.getString(R.string.search_header_menu_item),
|
||||
text = context.getString(R.string.search_header_menu_item_2),
|
||||
)
|
||||
val settingsCandidate = TextMenuCandidate(
|
||||
text = context.getString(R.string.search_settings_menu_item),
|
||||
|
@ -244,7 +244,9 @@
|
||||
<!-- Menu option in the search selector menu to open the search settings -->
|
||||
<string name="search_settings_menu_item">Search settings</string>
|
||||
<!-- Header text for the search selector menu -->
|
||||
<string name="search_header_menu_item">This time search:</string>
|
||||
<string name="search_header_menu_item" moz:RemovedIn="109" tools:ignore="UnusedResources">This time search:</string>
|
||||
<!-- Header text for the search selector menu -->
|
||||
<string name="search_header_menu_item_2">This time search in:</string>
|
||||
|
||||
<!-- Home onboarding -->
|
||||
<!-- Onboarding home screen popup dialog, shown on top of the Jump back in section. -->
|
||||
|
@ -35,7 +35,7 @@ class SearchSelectorMenuTest {
|
||||
lastItem.onClick()
|
||||
|
||||
assertEquals(
|
||||
testContext.getString(R.string.search_header_menu_item),
|
||||
testContext.getString(R.string.search_header_menu_item_2),
|
||||
(items.first() as DecorativeTextMenuCandidate).text,
|
||||
)
|
||||
assertEquals(
|
||||
|
Loading…
Reference in New Issue
Block a user