diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuSearchRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuSearchRobot.kt index 9a9ced7e5..55c1dc3d6 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuSearchRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuSearchRobot.kt @@ -85,10 +85,10 @@ private fun assertShowSearchSuggestions() { private fun assertShowSearchShortcuts() { onView(withId(androidx.preference.R.id.recycler_view)).perform( RecyclerViewActions.scrollTo( - hasDescendant(withText("Show search shortcuts")) + hasDescendant(withText("Show search engines")) ) ) - onView(withText("Show search shortcuts")) + onView(withText("Show search engines")) .check(matches(withEffectiveVisibility(Visibility.VISIBLE))) } @@ -146,11 +146,11 @@ private fun toggleShowSearchSuggestions() { private fun toggleShowSearchShortcuts() { onView(withId(androidx.preference.R.id.recycler_view)).perform( RecyclerViewActions.scrollTo( - hasDescendant(withText("Show search shortcuts")) + hasDescendant(withText("Show search engines")) ) ) - onView(withText("Show search shortcuts")) + onView(withText("Show search engines")) .perform(click()) } diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml index c2a77fa70..ebdc0bc21 100644 --- a/app/src/main/res/layout/fragment_search.xml +++ b/app/src/main/res/layout/fragment_search.xml @@ -147,7 +147,7 @@ android:layout_marginTop="@dimen/search_fragment_shortcuts_label_margin_vertical" android:layout_marginEnd="@dimen/search_fragment_shortcuts_label_margin_horizontal" android:visibility="gone" - android:text="@string/search_shortcuts_search_with_2" + android:text="@string/search_engines_search_with" app:layout_constraintStart_toStartOf="@id/scrollable_area" app:layout_constraintTop_toBottomOf="@id/awesomeBar_barrier" tools:text="This time, search with:" /> @@ -197,8 +197,8 @@ \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 33d219f38..51601631d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -146,13 +146,11 @@ Scan - Shortcuts + Search Engine Search engine settings - - Search with - This time, search with: + This time, search with: Fill link from clipboard @@ -258,8 +256,8 @@ Developer tools Remote debugging via USB - - Show search shortcuts + + Show search engines Show search suggestions @@ -1432,4 +1430,14 @@ To add a new top site, remove one. Long press the site and select remove. OK, Got It + + + + Shortcuts + + Search with + + This time, search with: + + Show search shortcuts diff --git a/app/src/main/res/xml/search_preferences.xml b/app/src/main/res/xml/search_preferences.xml index be7c2604e..5c6d3939b 100644 --- a/app/src/main/res/xml/search_preferences.xml +++ b/app/src/main/res/xml/search_preferences.xml @@ -27,7 +27,7 @@ + android:title="@string/preferences_show_search_engines" />