diff options
author | sunflowerskater <sunflowerskater@tutanota.com> | 2023-02-11 15:02:06 -0300 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2023-05-09 21:41:04 +0000 |
commit | 597223a2ba7e8ff39e795ac15de25d70f294b4d8 (patch) | |
tree | 8e00c2323bd937dff6560055b7a0e5ac9bf8cbfe | |
parent | 8deab005c20eec262d6396049568fc47cccf28a9 (diff) | |
download | nautilus-597223a2ba7e8ff39e795ac15de25d70f294b4d8.tar.gz |
general: Make some tooltips shorter
HIG advises that tooltip must be short, so this change shorten the text of some tooltips.
https://developer.gnome.org/hig/patterns/feedback/tooltips.html
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2754
-rw-r--r-- | src/nautilus-search-popover.c | 4 | ||||
-rw-r--r-- | src/resources/ui/nautilus-search-popover.ui | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c index c810b2083..2282dc38d 100644 --- a/src/nautilus-search-popover.c +++ b/src/nautilus-search-popover.c @@ -290,13 +290,13 @@ toggle_calendar_icon_clicked (GtkEntry *entry, { child = "date-calendar"; icon_name = "view-list-symbolic"; - tooltip = _("Show a list to select the date"); + tooltip = _("Show Time Ranges"); } else { child = "date-list"; icon_name = "x-office-calendar-symbolic"; - tooltip = _("Show a calendar to select the date"); + tooltip = _("Use Calendar"); } gtk_stack_set_visible_child_name (GTK_STACK (popover->around_stack), child); diff --git a/src/resources/ui/nautilus-search-popover.ui b/src/resources/ui/nautilus-search-popover.ui index 08ce86ae9..a2a703c03 100644 --- a/src/resources/ui/nautilus-search-popover.ui +++ b/src/resources/ui/nautilus-search-popover.ui @@ -49,7 +49,7 @@ <child> <object class="GtkButton" id="clear_date_button"> <property name="visible">False</property> - <property name="tooltip_text" translatable="yes">Clear the currently selected date</property> + <property name="tooltip_text" translatable="yes">Clear Date Filter</property> <property name="icon_name">edit-clear-symbolic</property> <signal name="clicked" handler="clear_date_button_clicked" object="NautilusSearchPopover" swapped="no"/> </object> @@ -67,7 +67,7 @@ <property name="child"> <object class="GtkEntry" id="date_entry"> <property name="secondary_icon_name">x-office-calendar-symbolic</property> - <property name="secondary_icon_tooltip_text" translatable="yes">Show a calendar to select the date</property> + <property name="secondary_icon_tooltip_text" translatable="yes">Use Calendar</property> <signal name="icon-release" handler="toggle_calendar_icon_clicked" object="NautilusSearchPopover" swapped="no"/> <signal name="activate" handler="date_entry_activate" object="NautilusSearchPopover" swapped="no"/> </object> @@ -287,7 +287,7 @@ <child> <object class="GtkToggleButton" id="full_text_search_button"> <property name="label" translatable="yes">Full Text</property> - <property name="tooltip_text" translatable="yes">Search on the file content and name</property> + <property name="tooltip_text" translatable="yes">Search Inside Files</property> <property name="hexpand">True</property> <property name="active">True</property> <signal name="toggled" handler="search_fts_mode_changed" object="NautilusSearchPopover" swapped="no" /> @@ -296,7 +296,7 @@ <child> <object class="GtkToggleButton" id="filename_search_button"> <property name="label" translatable="yes">File Name</property> - <property name="tooltip_text" translatable="yes">Search only on the file name</property> + <property name="tooltip_text" translatable="yes">Don't Search Inside Files</property> <property name="hexpand">True</property> <property name="group">full_text_search_button</property> <property name="active">True</property> |