diff options
author | Claude Paroz <claude@2xlibre.net> | 2010-08-05 23:20:18 +0200 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2010-08-05 23:20:23 +0200 |
commit | c647b518bbf6910591f7272ab6811412babff5ab (patch) | |
tree | 38f8b4055e48a101b71e0de8be6c1ed435aaa79d | |
parent | 21d652832e506d2edc808dedcc5e7cff064725a3 (diff) | |
download | gvfs-c647b518bbf6910591f7272ab6811412babff5ab.tar.gz |
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.
-rw-r--r-- | daemon/gvfsbackendsftp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c index 401484d0..76ce64b0 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, |