From df83f1d7cf19f029040affa21c8afe4e605394a9 Mon Sep 17 00:00:00 2001 From: Jonathan Michalon Date: Tue, 7 Jan 2020 18:41:47 +0100 Subject: Make device ejection notifications translatable --- libcaja-private/caja-file-operations.c | 4 ++-- src/caja-places-sidebar.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index 8ddc2ddf..59d9b728 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -2145,7 +2145,7 @@ unmount_mount_callback (GObject *source_object, unmounted = g_mount_eject_with_operation_finish (G_MOUNT (source_object), res, &error); if ((!error) || (unmounted == TRUE)){ - caja_application_notify_unmount_show ("It is now safe to remove the drive"); + caja_application_notify_unmount_show (_("It is now safe to remove the drive")); } } else { @@ -2194,7 +2194,7 @@ do_unmount (UnmountData *data) unmount_mount_callback, data); - caja_application_notify_unmount_show ("writing data to the drive-do not unplug"); + caja_application_notify_unmount_show (_("Writing data to the drive -- do not unplug")); } else { g_mount_unmount_with_operation (data->mount, diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c index 868ff725..c826e87d 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -2249,7 +2249,7 @@ volume_eject_cb (GObject *source_object, } else { - caja_application_notify_unmount_show ("It is now safe to remove the drive"); + caja_application_notify_unmount_show (_("It is now safe to remove the drive")); } } @@ -2284,7 +2284,7 @@ mount_eject_cb (GObject *source_object, } else { - caja_application_notify_unmount_show ("It is now safe to remove the drive"); + caja_application_notify_unmount_show (_("It is now safe to remove the drive")); } } @@ -2318,7 +2318,7 @@ do_eject (GMount *mount, g_object_ref (sidebar->window)); } - caja_application_notify_unmount_show ("writing data to the drive-do not unplug"); + caja_application_notify_unmount_show (_("Writing data to the drive -- do not unplug")); g_object_unref (mount_op); } -- cgit v1.2.1