diff options
author | Ondrej Holy <oholy@redhat.com> | 2017-01-02 12:32:18 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2017-01-06 16:29:36 +0100 |
commit | 275450e614da8defd7d270e1ed88f4d56a13b21f (patch) | |
tree | 425bee181128ef5f5f9504b2129206fcbd253d5e /monitor | |
parent | 3424bef7ef71dc3a8c2c71310671cd6d39e7b3e7 (diff) | |
download | gvfs-275450e614da8defd7d270e1ed88f4d56a13b21f.tar.gz |
monitor: Mark error strings as translatable
Error strings in gvfsproxyvolumemonitordaemon.c are not marked as
translatable and thus it might be shown untranslated in UI, mark them.
https://bugzilla.gnome.org/show_bug.cgi?id=776616
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/proxy/gvfsproxyvolumemonitordaemon.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/monitor/proxy/gvfsproxyvolumemonitordaemon.c b/monitor/proxy/gvfsproxyvolumemonitordaemon.c index 9a2e8da6..05750036 100644 --- a/monitor/proxy/gvfsproxyvolumemonitordaemon.c +++ b/monitor/proxy/gvfsproxyvolumemonitordaemon.c @@ -1034,7 +1034,7 @@ handle_mount_unmount (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given mount was not found"); + _("The given mount was not found")); goto out; } @@ -1042,7 +1042,7 @@ handle_mount_unmount (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } @@ -1125,7 +1125,7 @@ handle_mount_op_reply (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "No outstanding mount operation"); + _("No outstanding mount operation")); goto out; } @@ -1213,7 +1213,7 @@ handle_volume_mount (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given volume was not found"); + _("The given volume was not found")); goto out; } @@ -1221,7 +1221,7 @@ handle_volume_mount (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } @@ -1320,7 +1320,7 @@ handle_drive_eject (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given drive was not found"); + _("The given drive was not found")); goto out; } @@ -1328,7 +1328,7 @@ handle_drive_eject (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } @@ -1427,7 +1427,7 @@ handle_drive_stop (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given drive was not found"); + _("The given drive was not found")); goto out; } @@ -1435,7 +1435,7 @@ handle_drive_stop (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } @@ -1534,7 +1534,7 @@ handle_drive_start (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given drive was not found"); + _("The given drive was not found")); goto out; } @@ -1542,7 +1542,7 @@ handle_drive_start (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } @@ -1637,7 +1637,7 @@ handle_drive_poll_for_media (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.NotFound", - "The given drive was not found"); + _("The given drive was not found")); goto out; } @@ -1645,7 +1645,7 @@ handle_drive_poll_for_media (GVfsRemoteVolumeMonitor *object, { g_dbus_method_invocation_return_dbus_error (invocation, "org.gtk.Private.RemoteVolumeMonitor.Failed", - "An operation is already pending"); + _("An operation is already pending")); goto out; } |