summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2022-10-13 17:34:40 +0000
committerMichael Catanzaro <mcatanzaro@gnome.org>2022-10-13 17:34:40 +0000
commit526e01c134949ce25f00d13f260f7a41ed12a9c4 (patch)
tree8bcc5455492484c0a3c663447ff69f582bd2db0a
parentec4261d696ba3711e66eff037f6f809b0fa6ed1e (diff)
parent77594888fa7a854676ec8a014a5575ffe0b90771 (diff)
downloadgnome-online-accounts-526e01c134949ce25f00d13f260f7a41ed12a9c4.tar.gz
Merge branch 'wip/rishi/kerberos-identity-renew-errors-remove-redundancy-and-null' into 'master'
kerberos-identity: Clarify and remove redundancy from the renewal errors See merge request GNOME/gnome-online-accounts!105
-rw-r--r--src/goaidentity/goakerberosidentity.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/goaidentity/goakerberosidentity.c b/src/goaidentity/goakerberosidentity.c
index 45d54f4..57ab616 100644
--- a/src/goaidentity/goakerberosidentity.c
+++ b/src/goaidentity/goakerberosidentity.c
@@ -1430,7 +1430,7 @@ goa_kerberos_identity_renew (GoaKerberosIdentity *self, GError **error)
g_set_error (error,
GOA_IDENTITY_ERROR,
GOA_IDENTITY_ERROR_CREDENTIALS_UNAVAILABLE,
- _("Could not renew identity: Not signed in"));
+ _("Not signed in"));
goto out;
}
@@ -1440,7 +1440,8 @@ goa_kerberos_identity_renew (GoaKerberosIdentity *self, GError **error)
set_and_prefix_error_from_krb5_error_code (self,
error,
GOA_IDENTITY_ERROR_CREDENTIALS_UNAVAILABLE,
- error_code, _("Could not renew identity: "));
+ error_code,
+ _("Could not get the default principal: "));
goto out;
}
@@ -1453,7 +1454,7 @@ goa_kerberos_identity_renew (GoaKerberosIdentity *self, GError **error)
error,
GOA_IDENTITY_ERROR_RENEWING,
error_code,
- _("Could not get new credentials to renew identity %s: "),
+ _("Could not get renewed credentials from the KDC for identity %s: "),
name);
goto free_principal;
}