[gvfs] udisks2: Improve unmount notifications
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] udisks2: Improve unmount notifications
- Date: Wed, 11 Jan 2017 08:33:05 +0000 (UTC)
commit f834b3ad177a317ddf2deb7330af8d76fb7a55ef
Author: Ondrej Holy <oholy redhat com>
Date: Thu Dec 22 16:35:03 2016 +0100
udisks2: Improve unmount notifications
Do not address the user directly in the strings. Add a missing
description for the notifications.
https://bugzilla.gnome.org/show_bug.cgi?id=775891
monitor/udisks2/gvfsudisks2utils.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2utils.c b/monitor/udisks2/gvfsudisks2utils.c
index 9120940..1ad1731 100644
--- a/monitor/udisks2/gvfsudisks2utils.c
+++ b/monitor/udisks2/gvfsudisks2utils.c
@@ -672,9 +672,9 @@ unmount_notify_timer_cb (gpointer user_data)
name = unmount_notify_get_name (data);
if (data->generic_text)
- message = g_strdup_printf (_("Unmounting %s\nPlease wait"), name);
+ message = g_strdup_printf (_("Unmounting %s\nDisconnecting from filesystem."), name);
else
- message = g_strdup_printf (_("Writing data to %s\nDon’t unplug until finished"), name);
+ message = g_strdup_printf (_("Writing data to %s\nDevice should not be unplugged."), name);
g_signal_emit_by_name (data->op, "show-unmount-progress",
message, -1, -1);
@@ -816,9 +816,9 @@ gvfs_udisks2_unmount_notify_stop (GMountOperation *op,
name = unmount_notify_get_name (data);
if (data->generic_text)
- message = g_strdup_printf (_("%s has been unmounted\n"), name);
+ message = g_strdup_printf (_("%s unmounted\nFilesystem has been disconnected."), name);
else
- message = g_strdup_printf (_("You can now unplug %s\n"), name);
+ message = g_strdup_printf (_("%s can be safely unplugged\nDevice can be removed."), name);
g_signal_emit_by_name (data->op, "show-unmount-progress",
message, 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]