[gvfs] Improve translations a bit and add hint for etag
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Improve translations a bit and add hint for etag
- Date: Thu, 23 Aug 2012 09:25:17 +0000 (UTC)
commit 3babe9b7cb664185ef0a54ce55a9be07de20c661
Author: Felix MÃller <mail felixmoeller de>
Date: Wed Aug 1 20:13:17 2012 +0200
Improve translations a bit and add hint for etag
Closes https://bugzilla.gnome.org/show_bug.cgi?id=595087
daemon/gvfsbackendcomputer.c | 8 ++++----
programs/gvfs-save.c | 3 +++
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gvfsbackendcomputer.c b/daemon/gvfsbackendcomputer.c
index 24398b8..f1ec001 100644
--- a/daemon/gvfsbackendcomputer.c
+++ b/daemon/gvfsbackendcomputer.c
@@ -1250,14 +1250,14 @@ try_start_mountable (GVfsBackend *backend,
{
g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
- _("Can't start file"));
+ _("Can't start drive"));
}
}
else
{
g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
- _("Can't start file"));
+ _("Can't start drive"));
}
return TRUE;
}
@@ -1323,14 +1323,14 @@ try_stop_mountable (GVfsBackend *backend,
{
g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
- _("Can't stop file"));
+ _("Can't stop drive"));
}
}
else
{
g_vfs_job_failed (G_VFS_JOB (job), G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
- _("Can't stop file"));
+ _("Can't stop drive"));
}
return TRUE;
}
diff --git a/programs/gvfs-save.c b/programs/gvfs-save.c
index 5a7bb28..d73c1fa 100644
--- a/programs/gvfs-save.c
+++ b/programs/gvfs-save.c
@@ -44,7 +44,9 @@ static GOptionEntry entries[] =
{ "create", 'c', 0, G_OPTION_ARG_NONE, &create, N_("Only create if not existing"), NULL },
{ "append", 'a', 0, G_OPTION_ARG_NONE, &append, N_("Append to end of file"), NULL },
{ "private", 'p', 0, G_OPTION_ARG_NONE, &priv, N_("When creating, restrict access to the current user"), NULL },
+ /* Translators: The "etag" is a token allowing to verify whether a file has been modified */
{ "print-etag", 'v', 0, G_OPTION_ARG_NONE, &print_etag, N_("Print new etag at end"), NULL },
+ /* Translators: The "etag" is a token allowing to verify whether a file has been modified */
{ "etag", 'e', 0, G_OPTION_ARG_STRING, &etag, N_("The etag of the file being overwritten"), N_("ETAG") },
{ NULL }
};
@@ -131,6 +133,7 @@ save (GFile *file)
if (etag)
g_print ("Etag: %s\n", etag);
else
+ /* Translators: The "etag" is a token allowing to verify whether a file has been modified */
g_print (_("Etag not available\n"));
g_free (etag);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]