Add description for the widgets
According to UX feedback, we need to add description for each widget. The title will be updated in Clank https://crrev.com/i/8149170. Bug: 404230740 Change-Id: I0fef4e3a81b39e8cf420faa2270c090360ea158d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6409411 Reviewed-by: Patrick Noland <pnoland@chromium.org> Commit-Queue: Gang Wu <gangwu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1439587}
This commit is contained in:
parent
c724863632
commit
ad69ffa9f3
chrome
android/java/res/xml
browser/ui/android
quickactionsearchwidget/java/res/xml
strings
@ -15,6 +15,7 @@ found in the LICENSE file.
|
||||
android:previewImage="@drawable/bookmark_widget_preview"
|
||||
android:previewLayout="@layout/bookmark_widget_preview_layout"
|
||||
android:initialLayout="@layout/bookmark_widget"
|
||||
android:description="@string/bookmark_widget_description"
|
||||
android:resizeMode="vertical|horizontal"
|
||||
android:updatePeriodMillis="86400000"> <!-- Once per day -->
|
||||
</appwidget-provider>
|
||||
|
@ -13,6 +13,7 @@ found in the LICENSE file.
|
||||
android:initialLayout="@layout/search_widget_template"
|
||||
android:previewLayout="@layout/search_widget_template"
|
||||
android:previewImage="@drawable/widget_preview"
|
||||
android:description="@string/search_widget_description"
|
||||
android:resizeMode="horizontal"
|
||||
android:updatePeriodMillis="86400000"
|
||||
android:widgetCategory="home_screen|searchbox" />
|
||||
|
@ -12,4 +12,5 @@ found in the LICENSE file.
|
||||
android:initialLayout="@layout/quick_action_search_widget_dino_layout"
|
||||
android:previewLayout="@layout/quick_action_search_widget_dino_preview_layout"
|
||||
android:previewImage="@drawable/quick_action_search_widget_dino_preview"
|
||||
android:description="@string/dino_widget_description"
|
||||
android:widgetCategory="home_screen" />
|
||||
|
@ -14,4 +14,5 @@ found in the LICENSE file.
|
||||
android:resizeMode="vertical|horizontal"
|
||||
android:previewImage="@drawable/quick_action_search_widget_small_preview"
|
||||
android:previewLayout="@layout/quick_action_search_widget_small_preview_layout"
|
||||
android:description="@string/quick_action_search_widget_description"
|
||||
android:widgetCategory="home_screen|searchbox" />
|
||||
|
@ -4547,6 +4547,9 @@ To change this setting, <ph name="BEGIN_LINK">BEGIN_LINK</ph>delete the Chrome d
|
||||
<message name="IDS_BOOKMARK_PAGE_MOVED_LOCATION" desc="App-based message shown after user moves a bookmark to specify the location of a bookmark. [CHAR_LIMIT=32]">
|
||||
to <ph name="PRODUCT_NAME">%1$s<ex>Reading List</ex></ph>
|
||||
</message>
|
||||
<message name="IDS_BOOKMARK_WIDGET_DESCRIPTION" desc="Description text for the bookmark widget">
|
||||
Easily access your bookmarks
|
||||
</message>
|
||||
|
||||
<!-- Bookmark bar strings -->
|
||||
<message name="IDS_BOOKMARK_BAR_BUTTON_ICON_CONTENT_DESCRIPTION" desc="The content description for a bookmark bar button icon.">
|
||||
@ -5737,6 +5740,9 @@ To change this setting, <ph name="BEGIN_LINK">BEGIN_LINK</ph>delete the Chrome d
|
||||
<message name="IDS_IPH_DOWNLOAD_INFOBAR_DOWNLOAD_CONTINUING_TEXT" desc="The in-product-help message on the download InfoBar to inform that download is still continuing.">
|
||||
Your download is still in progress
|
||||
</message>
|
||||
<message name="IDS_SEARCH_WIDGET_DESCRIPTION" desc="Description text for the search widget">
|
||||
Quickly start a search in Chrome
|
||||
</message>
|
||||
|
||||
<!-- Quick Action Search Widget -->
|
||||
<message name="IDS_QUICK_ACTION_SEARCH_WIDGET_SEARCH_BAR_HINT" desc="Hint text for to search box on the quick action search widget">
|
||||
@ -5754,11 +5760,17 @@ To change this setting, <ph name="BEGIN_LINK">BEGIN_LINK</ph>delete the Chrome d
|
||||
<message name="IDS_QUICK_ACTION_SEARCH_WIDGET_MESSAGE_NO_GOOGLE_LENS" desc="Toast message shown when the user tries to use Google Lens which is disabled on the device.">
|
||||
Google Lens is not available on this device
|
||||
</message>
|
||||
<message name="IDS_QUICK_ACTION_SEARCH_WIDGET_DESCRIPTION" desc="Description text for the quick action search widget">
|
||||
Search using keyboard, voice, Incognito, or camera
|
||||
</message>
|
||||
|
||||
<!-- Dino Widget -->
|
||||
<message name="IDS_DINO_WIDGET_TEXT" desc="Text displayed on the Dino Widget. One medium-length or two short words max (area for about 10em)">
|
||||
Chrome Dino
|
||||
</message>
|
||||
<message name="IDS_DINO_WIDGET_DESCRIPTION" desc="Description text for the dino widget">
|
||||
Jump into a fun Dino game
|
||||
</message>
|
||||
|
||||
<!-- Launcher Shortcuts -->
|
||||
<message name="IDS_DISABLED_INCOGNITO_LAUNCHER_SHORTCUT_MESSAGE" desc="Text for a toast displayed prompting the user to remove the disabled 'New Incognito tab' app shortcut and recreate it.">
|
||||
|
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_BOOKMARK_WIDGET_DESCRIPTION.png.sha1
Normal file
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_BOOKMARK_WIDGET_DESCRIPTION.png.sha1
Normal file
@ -0,0 +1 @@
|
||||
b169007028580ea478ae236a22664c2c4f254b9b
|
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_DINO_WIDGET_DESCRIPTION.png.sha1
Normal file
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_DINO_WIDGET_DESCRIPTION.png.sha1
Normal file
@ -0,0 +1 @@
|
||||
b169007028580ea478ae236a22664c2c4f254b9b
|
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_QUICK_ACTION_SEARCH_WIDGET_DESCRIPTION.png.sha1
Normal file
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_QUICK_ACTION_SEARCH_WIDGET_DESCRIPTION.png.sha1
Normal file
@ -0,0 +1 @@
|
||||
b169007028580ea478ae236a22664c2c4f254b9b
|
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_SEARCH_WIDGET_DESCRIPTION.png.sha1
Normal file
1
chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_SEARCH_WIDGET_DESCRIPTION.png.sha1
Normal file
@ -0,0 +1 @@
|
||||
b169007028580ea478ae236a22664c2c4f254b9b
|
Loading…
x
Reference in New Issue
Block a user