[gvfs] Move translator comments just before the translatable string
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Move translator comments just before the translatable string
- Date: Thu, 5 Aug 2010 21:21:15 +0000 (UTC)
commit c647b518bbf6910591f7272ab6811412babff5ab
Author: Claude Paroz <claude 2xlibre net>
Date: Thu Aug 5 23:20:18 2010 +0200
Move translator comments just before the translatable string
xgettext only extracts comments in po files if the comment is on the
line just before the translatable string.
daemon/gvfsbackendsftp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index 401484d..76ce64b 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -955,16 +955,18 @@ handle_login (GVfsBackend *backend,
g_free (new_password);
if (op_backend->user_specified)
- /* Translators: the first %s is the username, the second the host name */
if (strcmp (authtype, "publickey") == 0)
+ /* Translators: the first %s is the username, the second the host name */
prompt = g_strdup_printf (_("Enter passphrase for key for ssh as %s on %s"), op_backend->user, op_backend->host);
else
+ /* Translators: the first %s is the username, the second the host name */
prompt = g_strdup_printf (_("Enter password for ssh as %s on %s"), op_backend->user, op_backend->host);
else
- /* translators: %s here is the hostname */
if (strcmp (authtype, "publickey") == 0)
+ /* Translators: %s is the hostname */
prompt = g_strdup_printf (_("Enter passphrase for key for ssh on %s"), op_backend->host);
else
+ /* Translators: %s is the hostname */
prompt = g_strdup_printf (_("Enter password for ssh on %s"), op_backend->host);
if (!g_mount_source_ask_password (mount_source,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]