diff options
author | Jonathan Michalon <[email protected]> | 2020-01-07 18:41:47 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 21:40:42 +0200 |
commit | b412c8cdb197a2dbb11b3d9e6263d7a64bdad5a7 (patch) | |
tree | 87f3cd192e4d07142bd8311a7d80805fe640a5c4 | |
parent | 3ad8d41776d40906f940bda52a86dc9300084828 (diff) | |
download | caja-b412c8cdb197a2dbb11b3d9e6263d7a64bdad5a7.tar.bz2 caja-b412c8cdb197a2dbb11b3d9e6263d7a64bdad5a7.tar.xz |
Make device ejection notifications translatable
-rw-r--r-- | libcaja-private/caja-file-operations.c | 4 | ||||
-rw-r--r-- | 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 b83f1f44..a8c78028 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 836093a6..be9b4c85 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); } |