[libgdata] Fix translator comments



commit b262909695437f02ecda557b701bec3a397aa70b
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sat Jan 28 01:32:37 2017 +0100

    Fix translator comments
    
    They need to be exactly one line above a string to show up in .po files.

 gdata/gdata-client-login-authorizer.c |    2 +-
 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 a02ad89..0586115 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 96ed4ee..85bec2f 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]