[gvfs] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Fix translator comments
- Date: Sat, 28 Jan 2017 00:17:38 +0000 (UTC)
commit 63b8827cb197962cf0c11f15e4ece64e6b8b21a6
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:16:52 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
daemon/gvfsafpserver.c | 2 +-
daemon/gvfsbackendgphoto2.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/daemon/gvfsafpserver.c b/daemon/gvfsafpserver.c
index a86ede0..4864560 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 88e2389..d4d46a5 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]