diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2017-01-28 01:16:52 +0100 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2017-01-28 01:17:28 +0100 |
commit | 63b8827cb197962cf0c11f15e4ece64e6b8b21a6 (patch) | |
tree | df0e343af09417b3800f76b206a2e95793e43208 | |
parent | cd4f923ba11d06e3ac917f95cd33987d80987c0a (diff) | |
download | gvfs-63b8827cb197962cf0c11f15e4ece64e6b8b21a6.tar.gz |
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
-rw-r--r-- | daemon/gvfsafpserver.c | 2 | ||||
-rw-r--r-- | daemon/gvfsbackendgphoto2.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/daemon/gvfsafpserver.c b/daemon/gvfsafpserver.c index a86ede0f..48645604 100644 --- a/daemon/gvfsafpserver.c +++ b/daemon/gvfsafpserver.c @@ -193,8 +193,8 @@ dhx2_login (GVfsAfpServer *server, if (strlen (password) > 256) { - /* Translators: %d is a constant, currently hardcoded to 256 */ g_set_error (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, + /* Translators: %d is a constant, currently hardcoded to 256 */ ngettext ("The server doesn’t support passwords longer than %d character.", "The server doesn’t support passwords longer than %d characters.", 256), 256); diff --git a/daemon/gvfsbackendgphoto2.c b/daemon/gvfsbackendgphoto2.c index 88e23893..d4d46a55 100644 --- a/daemon/gvfsbackendgphoto2.c +++ b/daemon/gvfsbackendgphoto2.c @@ -474,27 +474,27 @@ get_error_from_gphoto2 (const char *message, int rc) { case GP_ERROR_FILE_EXISTS: case GP_ERROR_DIRECTORY_EXISTS: - /* Translator: %s represents a more specific error message and %d the specific error code */ error = g_error_new (G_IO_ERROR, + /* Translator: %s represents a more specific error message and %d the specific error code */ G_IO_ERROR_EXISTS, _("%s: %d: Directory or file exists"), message, rc); break; case GP_ERROR_FILE_NOT_FOUND: case GP_ERROR_DIRECTORY_NOT_FOUND: - /* Translator: %s represents a more specific error message and %d the specific error code */ error = g_error_new (G_IO_ERROR, + /* Translator: %s represents a more specific error message and %d the specific error code */ G_IO_ERROR_NOT_FOUND, _("%s: %d: No such file or directory"), message, rc); break; case GP_ERROR_PATH_NOT_ABSOLUTE: - /* Translator: %s represents a more specific error message and %d the specific error code */ error = g_error_new (G_IO_ERROR, + /* Translator: %s represents a more specific error message and %d the specific error code */ G_IO_ERROR_INVALID_FILENAME, _("%s: %d: Invalid filename"), message, rc); break; case GP_ERROR_NOT_SUPPORTED: - /* Translator: %s represents a more specific error message and %d the specific error code */ error = g_error_new (G_IO_ERROR, + /* Translator: %s represents a more specific error message and %d the specific error code */ G_IO_ERROR_NOT_SUPPORTED, _("%s: %d: Not Supported"), message, rc); break; |