aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-06 05:08:45 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-06 05:08:45 +0800
commit4d126fb6748040e58f4d47966f4f832e66814811 (patch)
treeeb4cc1f949aead9d0b4fde11de22881932c1be68 /camel/providers/imap
parent944083d8b9805f6d352dac2f09c04f641b84fbc9 (diff)
downloadgsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar.gz
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar.bz2
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar.lz
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar.xz
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.tar.zst
gsoc2013-evolution-4d126fb6748040e58f4d47966f4f832e66814811.zip
i18n'd some strings in here.
2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_connect): i18n'd some strings in here. * providers/smtp/camel-smtp-transport.c (smtp_connect): Keep trying to authenticate until either we succeed or until the user cancels. svn path=/trunk/; revision=8561
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-store.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 26cfeb765f..ec65d499b3 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -404,9 +404,8 @@ imap_connect (CamelService *service, CamelException *ex)
if (service->url->authmech) {
if (!g_hash_table_lookup (store->authtypes, service->url->authmech)) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
- "IMAP server %s does not "
- "support requested "
- "authentication type %s",
+ _("IMAP server %s does not support requested "
+ "authentication type %s"),
service->url->host,
service->url->authmech);
camel_service_disconnect (service, TRUE, NULL);
@@ -416,8 +415,7 @@ imap_connect (CamelService *service, CamelException *ex)
authtype = camel_sasl_authtype (service->url->authmech);
if (!authtype) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
- "No support for "
- "authentication type %s",
+ _("No support for authentication type %s"),
service->url->authmech);
camel_service_disconnect (service, TRUE, NULL);
return FALSE;
@@ -460,7 +458,7 @@ imap_connect (CamelService *service, CamelException *ex)
if (!service->url->passwd) {
camel_exception_set (ex, CAMEL_EXCEPTION_USER_CANCEL,
- "You didn\'t enter a password.");
+ _("You didn't enter a password."));
camel_service_disconnect (service, TRUE, NULL);
return FALSE;
}