comparison libpurple/certificate.c @ 19495:5aaff16e9fbb

- Reword some dialogs
author William Ehlhardt <williamehlhardt@gmail.com>
date Mon, 20 Aug 2007 03:53:28 +0000
parents 6e0521bb0853
children 004c3e257bd0
comparison
equal deleted inserted replaced
19494:280c6ec32ca6 19495:5aaff16e9fbb
1238 1238
1239 /* Prompt the user to authenticate the certificate */ 1239 /* Prompt the user to authenticate the certificate */
1240 /* TODO: Provide the user with more guidance about why he is 1240 /* TODO: Provide the user with more guidance about why he is
1241 being prompted */ 1241 being prompted */
1242 /* vrq will be completed by user_auth */ 1242 /* vrq will be completed by user_auth */
1243 msg = g_strdup_printf(_("The certificate given by %s has a " 1243 msg = g_strdup_printf(_("The certificate presented by \"%s\" "
1244 "name on it of %s instead. This could " 1244 "claims to be from \"%s\" instead. "
1245 "mean that you are not connecting to " 1245 "This could mean that you are not "
1246 "the service you want to."), 1246 "connecting to the service you "
1247 "believe you are."),
1247 vrq->subject_name, sn); 1248 vrq->subject_name, sn);
1248 1249
1249 x509_tls_cached_user_auth(vrq,msg); 1250 x509_tls_cached_user_auth(vrq,msg);
1250 1251
1251 g_free(sn); 1252 g_free(sn);
1334 /* TODO: This error message makes my eyes cross, and I wrote it */ 1335 /* TODO: This error message makes my eyes cross, and I wrote it */
1335 gchar * secondary = 1336 gchar * secondary =
1336 g_strdup_printf(_("The certificate chain presented by " 1337 g_strdup_printf(_("The certificate chain presented by "
1337 "%s does not have a valid digital " 1338 "%s does not have a valid digital "
1338 "signature from the Certificate " 1339 "signature from the Certificate "
1339 "Authority it claims to have one " 1340 "Authority from which it claims to "
1340 "from."), 1341 "have a signature from."),
1341 vrq->subject_name); 1342 vrq->subject_name);
1342 1343
1343 purple_notify_error(NULL, /* TODO: Probably wrong */ 1344 purple_notify_error(NULL, /* TODO: Probably wrong */
1344 _("SSL Certificate Error"), 1345 _("SSL Certificate Error"),
1345 _("Invalid certificate authority" 1346 _("Invalid certificate authority"