[gnome-online-accounts] identity: Don't translate an error message that's not meant for users



commit c142c6a3192f181c6f5066e515051a0ffe7ee01a
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue May 30 20:29:13 2017 +0200

    identity: Don't translate an error message that's not meant for users
    
    It should never happen unless the caller misused the
    org.gnome.Identity.Manager API. Therefore, this error is only used for
    an assertion and never presented to the user.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686131

 src/goaidentity/goaidentityservice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index b0ec13d..71526e5 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -364,7 +364,7 @@ goa_identity_service_handle_sign_in (GoaIdentityServiceManager *manager,
           g_dbus_method_invocation_return_error (invocation,
                                                  GOA_IDENTITY_MANAGER_ERROR,
                                                  GOA_IDENTITY_MANAGER_ERROR_ACCESSING_CREDENTIALS,
-                                                 _("initial secret passed before secret key exchange"));
+                                                 "initial secret passed before secret key exchange");
           return TRUE;
         }
 


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