summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Michalon <[email protected]>2020-01-07 18:41:47 +0100
committerraveit65 <[email protected]>2020-01-10 11:00:35 +0100
commitdf83f1d7cf19f029040affa21c8afe4e605394a9 (patch)
tree9c0f96de6355bb549fa3ba59fc4313b6965f1b31
parentcdcf9de6f6a1795da6727c0cfcd48dcac00748ca (diff)
downloadcaja-df83f1d7cf19f029040affa21c8afe4e605394a9.tar.bz2
caja-df83f1d7cf19f029040affa21c8afe4e605394a9.tar.xz
Make device ejection notifications translatable
-rw-r--r--libcaja-private/caja-file-operations.c4
-rw-r--r--src/caja-places-sidebar.c6
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);
}