summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Michalon <[email protected]>2020-01-07 18:41:47 +0100
committerraveit65 <[email protected]>2020-01-10 10:59:04 +0100
commit50079068123b0b793cb2b091342d49592ed87116 (patch)
treee274a1106090cbe7ebc02bc17e02f26eeef893ba
parent5374078bd1bc634ca8bb737204301151b5110cb1 (diff)
downloadcaja-50079068123b0b793cb2b091342d49592ed87116.tar.bz2
caja-50079068123b0b793cb2b091342d49592ed87116.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 f7805681..fc400a3a 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -2154,7 +2154,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 {
@@ -2205,7 +2205,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 4cb4022d..12f26c49 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2263,7 +2263,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"));
}
}
@@ -2299,7 +2299,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"));
}
}
@@ -2333,7 +2333,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);
}