[gvfs] afp: translator comments improvements
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afp: translator comments improvements
- Date: Thu, 26 Sep 2013 11:42:51 +0000 (UTC)
commit 37a32f8b9d112683b9f9870fe73f9b37040a2b51
Author: Ondrej Holy <oholy redhat com>
Date: Tue Sep 17 17:05:39 2013 +0200
afp: translator comments improvements
https://bugzilla.gnome.org/show_bug.cgi?id=697451
daemon/gvfsafpvolume.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsafpvolume.c b/daemon/gvfsafpvolume.c
index f3211b8..1ad8cd7 100644
--- a/daemon/gvfsafpvolume.c
+++ b/daemon/gvfsafpvolume.c
@@ -140,8 +140,8 @@ g_vfs_afp_volume_mount_sync (GVfsAfpVolume *volume,
return TRUE;
generic_error:
- /* Translators: first %s is volumename and second servername */
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
+ /* Translators: first %s is volumename and second servername */
_("Couldn't load %s on %s"), volume_name,
g_vfs_afp_server_get_info(priv->server)->server_name);
return FALSE;
@@ -1020,6 +1020,8 @@ make_directory_cb (GObject *source_object, GAsyncResult *res, gpointer user_data
break;
case AFP_RESULT_FLAT_VOL:
g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+ /* Translators: flat means volume doesn't support directories
+ (all files are in the volume root) */
_("Volume is flat and doesn't support directories"));
break;
case AFP_RESULT_OBJECT_NOT_FOUND:
@@ -2006,6 +2008,8 @@ set_fork_parms_cb (GObject *source_object, GAsyncResult *res, gpointer user_data
break;
case AFP_RESULT_LOCK_ERR:
g_simple_async_result_set_error (simple, G_IO_ERROR, G_IO_ERROR_FAILED,
+ /* Translators: range conflict means
+ requested data are locked by another user */
_("Range lock conflict exists"));
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]