summaryrefslogtreecommitdiff
path: root/client/gvfsiconloadable.c
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2009-06-19 09:36:04 +0200
committerClaude Paroz <claude@2xlibre.net>2009-09-30 17:57:54 +0200
commitebe371a3e0b09bd15d89fab6eb5016abce83d3fc (patch)
tree2abff11181cee5720fb9cfebc06f3f024f9b4fb3 /client/gvfsiconloadable.c
parentc4d0742068cfb8f4a55a27ebc5a1bb7790a50a91 (diff)
downloadgvfs-ebe371a3e0b09bd15d89fab6eb5016abce83d3fc.tar.gz
Bug 517014 – Factorize error messages marked for translation
Diffstat (limited to 'client/gvfsiconloadable.c')
-rw-r--r--client/gvfsiconloadable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/gvfsiconloadable.c b/client/gvfsiconloadable.c
index 28251cf0..50af5809 100644
--- a/client/gvfsiconloadable.c
+++ b/client/gvfsiconloadable.c
@@ -141,8 +141,8 @@ g_vfs_icon_load (GLoadableIcon *icon,
DBUS_TYPE_INVALID))
{
dbus_message_unref (reply);
- g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- _("Invalid return value from open_icon_for_read"));
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
+ _("Invalid return value from %s"), "open_icon_for_read");
return NULL;
}
@@ -371,7 +371,7 @@ load_async_cb (DBusMessage *reply,
{
g_simple_async_result_set_error (result,
G_IO_ERROR, G_IO_ERROR_FAILED,
- _("Invalid return value from open"));
+ _("Invalid return value from %s"), "open");
_g_simple_async_result_complete_with_cancellable (result, cancellable);
return;
}