diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2017-01-28 01:32:37 +0100 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2017-01-28 01:32:37 +0100 |
commit | b262909695437f02ecda557b701bec3a397aa70b (patch) | |
tree | 3533f1c6d6d910ed6dfe3a0b2df91fe9cc6b5a19 | |
parent | 2c4b9f8a7d767474e02bf65d38fa422bb5c83669 (diff) | |
download | libgdata-b262909695437f02ecda557b701bec3a397aa70b.tar.gz |
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
-rw-r--r-- | gdata/gdata-client-login-authorizer.c | 2 | ||||
-rw-r--r-- | gdata/gdata-commentable.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gdata/gdata-client-login-authorizer.c b/gdata/gdata-client-login-authorizer.c index a02ad890..05861152 100644 --- a/gdata/gdata-client-login-authorizer.c +++ b/gdata/gdata-client-login-authorizer.c @@ -783,8 +783,8 @@ authenticate (GDataClientLoginAuthorizer *self, GDataAuthorizationDomain *domain g_free (captcha_uri); if (new_captcha_answer == NULL || *new_captcha_answer == '\0') { - /* Translators: see http://en.wikipedia.org/wiki/CAPTCHA for information about CAPTCHAs */ g_set_error_literal (error, GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR, GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_CAPTCHA_REQUIRED, + /* Translators: see http://en.wikipedia.org/wiki/CAPTCHA for information about CAPTCHAs */ _("A CAPTCHA must be filled out to log in.")); goto login_error; } diff --git a/gdata/gdata-commentable.c b/gdata/gdata-commentable.c index 96ed4eeb..85bec2fd 100644 --- a/gdata/gdata-commentable.c +++ b/gdata/gdata-commentable.c @@ -256,9 +256,9 @@ gdata_commentable_query_comments_async (GDataCommentable *self, GDataService *se /* The URI can be NULL when no comments and thus no feedLink is present in a GDataCommentable */ if (uri == NULL) { - /* Translators: This is an error message for if a user attempts to retrieve comments from an entry (such as a video) which doesn't - * support comments. */ g_simple_async_result_set_error (result, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_FORBIDDEN, + /* Translators: This is an error message for if a user attempts to retrieve comments from an entry + * (such as a video) which doesn't support comments. */ _("This entry does not support comments.")); g_simple_async_result_complete_in_idle (result); g_object_unref (result); @@ -429,9 +429,9 @@ gdata_commentable_insert_comment_async (GDataCommentable *self, GDataService *se /* The URI can be NULL when no comments and thus no feedLink is present in a GDataCommentable */ if (uri == NULL) { - /* Translators: This is an error message for if a user attempts to add a comment to an entry (such as a video) which doesn't support - * comments. */ g_simple_async_result_set_error (result, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_FORBIDDEN, + /* Translators: This is an error message for if a user attempts to add a comment to an entry + * (such as a video) which doesn't support comments. */ _("Comments may not be added to this entry.")); g_simple_async_result_complete_in_idle (result); g_object_unref (result); @@ -589,8 +589,8 @@ gdata_commentable_delete_comment_async (GDataCommentable *self, GDataService *se g_assert (iface->is_comment_deletable != NULL); if (iface->is_comment_deletable (self, comment_) == FALSE) { - /* Translators: This is an error message for if a user attempts to delete a comment they're not allowed to delete. */ g_simple_async_result_set_error (result, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_FORBIDDEN, + /* Translators: This is an error message for if a user attempts to delete a comment they're not allowed to delete. */ _("This comment may not be deleted.")); g_simple_async_result_complete_in_idle (result); g_object_unref (result); |