2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00

Use consistent verbiage with regard to opened tabs (#6550)

This commit is contained in:
David Walsh 2019-11-12 18:06:37 -06:00 committed by Jeff Boek
parent cc318021cc
commit 9d5c03c067
3 changed files with 3 additions and 3 deletions

View File

@ -203,7 +203,7 @@ private fun assertAddTabButton() =
.check(matches(withEffectiveVisibility(Visibility.VISIBLE))) .check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
private fun assertNoTabsOpenedHeader() = private fun assertNoTabsOpenedHeader() =
onView(CoreMatchers.allOf(ViewMatchers.withText("No tabs opened"))) onView(CoreMatchers.allOf(ViewMatchers.withText("No open tabs")))
.check(matches(withEffectiveVisibility(Visibility.VISIBLE))) .check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
private fun assertNoTabsOpenedText() { private fun assertNoTabsOpenedText() {

View File

@ -20,7 +20,7 @@ import org.mozilla.fenix.mvi.UIView
val noTabMessage = AdapterItem.NoContentMessage( val noTabMessage = AdapterItem.NoContentMessage(
R.drawable.ic_tabs, R.drawable.ic_tabs,
R.string.no_open_tabs_header, R.string.no_open_tabs_header_2,
R.string.no_open_tabs_description R.string.no_open_tabs_description
) )

View File

@ -15,7 +15,7 @@
<!-- Placeholder text shown in the search bar before a user enters text --> <!-- Placeholder text shown in the search bar before a user enters text -->
<string name="search_hint">Search or enter address</string> <string name="search_hint">Search or enter address</string>
<!-- No Open Tabs Message Header --> <!-- No Open Tabs Message Header -->
<string name="no_open_tabs_header">No tabs opened</string> <string name="no_open_tabs_header_2">No open tabs</string>
<!-- No Open Tabs Message Description --> <!-- No Open Tabs Message Description -->
<string name="no_open_tabs_description">Your open tabs will be shown here.</string> <string name="no_open_tabs_description">Your open tabs will be shown here.</string>