diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-11-13 02:32:36 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-11-13 02:32:36 +0300 |
commit | 870a2e7a589ab93f0cda779ae882d30e9e18c1cc (patch) | |
tree | 2d925746a3cabb1431774c5f00a5714c6d4b3c8a /src/remmina_sftp_client.c | |
parent | 7c635923deb41cf287b7bb9cb047613e2d38bf04 (diff) |
Adding comments for translators
Diffstat (limited to 'src/remmina_sftp_client.c')
-rw-r--r-- | src/remmina_sftp_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/remmina_sftp_client.c b/src/remmina_sftp_client.c index 872234d96..8370c7824 100644 --- a/src/remmina_sftp_client.c +++ b/src/remmina_sftp_client.c @@ -167,6 +167,7 @@ remmina_sftp_client_thread_download_file(RemminaSFTPClient *client, RemminaSFTP if (tmp && tmp != buf) { *tmp = '\0'; if (g_mkdir_with_parents(buf, 0755) < 0) { + /// TRANSLATORS: The placeholder %s is a directory path remmina_sftp_client_thread_set_error(client, task, _("Error creating directory %s."), buf); return FALSE; } @@ -174,6 +175,7 @@ remmina_sftp_client_thread_download_file(RemminaSFTPClient *client, RemminaSFTP local_file = g_fopen(local_path, "ab"); if (!local_file) { + /// TRANSLATORS: The placeholder %s is a file path remmina_sftp_client_thread_set_error(client, task, _("Error creating file %s."), local_path); return FALSE; } @@ -194,6 +196,7 @@ remmina_sftp_client_thread_download_file(RemminaSFTPClient *client, RemminaSFTP fclose(local_file); local_file = g_fopen(local_path, "wb"); if (!local_file) { + /// TRANSLATORS: The placeholder %s is a file path remmina_sftp_client_thread_set_error(client, task, _("Error creating file %s."), local_path); return FALSE; } @@ -211,6 +214,7 @@ remmina_sftp_client_thread_download_file(RemminaSFTPClient *client, RemminaSFTP if (!remote_file) { fclose(local_file); + /// TRANSLATORS: The placeholders %s are a file path and a server name remmina_sftp_client_thread_set_error(client, task, _("Error opening file %s on server. %s"), remote_path, ssh_get_error(REMMINA_SSH(client->sftp)->session)); return FALSE; |