diff options
author | Gotam Gorabh <gautamy672@gmail.com> | 2022-09-23 17:03:00 +0000 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2022-11-26 07:55:38 -0800 |
commit | 169941b4ec8810dc6c414ea353dd713b2f07f466 (patch) | |
tree | f63599af1d7b35cf0196e144dc36494ae577cb6d | |
parent | a9062a70ab0b3cd7c18ccb659d49acf8d2f7235a (diff) | |
download | nautilus-169941b4ec8810dc6c414ea353dd713b2f07f466.tar.gz |
general: Add trailing ellipsis to Empty Trash
Add trailing ellipsis at the end of Empty Trash to fulfill
GNOME Human Interface Guidelines.
Trailing ellipsis is used when further input or confirmation is
required from the user before the action can be carried out.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2502
-rw-r--r-- | src/gtk/nautilusgtkplacessidebar.c | 2 | ||||
-rw-r--r-- | src/resources/ui/nautilus-files-view-context-menus.ui | 4 | ||||
-rw-r--r-- | src/resources/ui/nautilus-pathbar-context-menu.ui | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gtk/nautilusgtkplacessidebar.c b/src/gtk/nautilusgtkplacessidebar.c index c536e892c..d897a61af 100644 --- a/src/gtk/nautilusgtkplacessidebar.c +++ b/src/gtk/nautilusgtkplacessidebar.c @@ -3363,7 +3363,7 @@ create_row_popover (NautilusGtkPlacesSidebar *sidebar, if (is_trash) { section = g_menu_new (); - item = g_menu_item_new (_("Empty Trash"), "row.empty-trash"); + item = g_menu_item_new (_("Empty Trash…"), "row.empty-trash"); g_menu_append_item (section, item); g_object_unref (item); diff --git a/src/resources/ui/nautilus-files-view-context-menus.ui b/src/resources/ui/nautilus-files-view-context-menus.ui index 127595be2..1f8474fc2 100644 --- a/src/resources/ui/nautilus-files-view-context-menus.ui +++ b/src/resources/ui/nautilus-files-view-context-menus.ui @@ -42,7 +42,7 @@ </section> <section> <item> - <attribute name="label" translatable="yes">Empty _Trash</attribute> + <attribute name="label" translatable="yes">Empty _Trash…</attribute> <attribute name="action">view.empty-trash</attribute> <attribute name="hidden-when">action-disabled</attribute> </item> @@ -219,7 +219,7 @@ <attribute name="hidden-when">action-disabled</attribute> </item> <item> - <attribute name="label" translatable="yes">_Delete from Trash</attribute> + <attribute name="label" translatable="yes">_Delete from Trash…</attribute> <attribute name="action">view.delete-from-trash</attribute> <attribute name="hidden-when">action-disabled</attribute> </item> diff --git a/src/resources/ui/nautilus-pathbar-context-menu.ui b/src/resources/ui/nautilus-pathbar-context-menu.ui index c1f9a2c6e..638979147 100644 --- a/src/resources/ui/nautilus-pathbar-context-menu.ui +++ b/src/resources/ui/nautilus-pathbar-context-menu.ui @@ -57,7 +57,7 @@ <section id="background-extensions-section"/> <section> <item> - <attribute name="label" translatable="yes">Empty _Trash</attribute> + <attribute name="label" translatable="yes">Empty _Trash…</attribute> <attribute name="action">view.empty-trash</attribute> <attribute name="hidden-when">action-disabled</attribute> </item> |