aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-auth.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-24 13:23:27 +0800
committerDan Winship <danw@src.gnome.org>2000-10-24 13:23:27 +0800
commit360675f54b51d53ac99409077f2d31d96284fb9b (patch)
tree265d70af032473fbdf08d04695ed2a9b3c5b4a34 /camel/providers/nntp/camel-nntp-auth.c
parentbabd37f2f7b43ea61df0d320ac7344d18debae72 (diff)
downloadgsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.gz
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.bz2
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.lz
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.xz
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.zst
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.zip
lots of i18n fixes
svn path=/trunk/; revision=6143
Diffstat (limited to 'camel/providers/nntp/camel-nntp-auth.c')
-rw-r--r--camel/providers/nntp/camel-nntp-auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/nntp/camel-nntp-auth.c b/camel/providers/nntp/camel-nntp-auth.c
index 1a7402a339..1f1e6ab2d8 100644
--- a/camel/providers/nntp/camel-nntp-auth.c
+++ b/camel/providers/nntp/camel-nntp-auth.c
@@ -38,7 +38,7 @@ camel_nntp_auth_authenticate (CamelNNTPStore *store, CamelException *ex)
if (!service->url->authmech && !service->url->passwd) {
gchar *prompt;
- prompt = g_strdup_printf ("Please enter the NNTP password for %s@%s",
+ prompt = g_strdup_printf (_("Please enter the NNTP password for %s@%s"),
service->url->user, service->url->host);
service->url->passwd =
camel_session_query_authenticator (session,
@@ -59,13 +59,13 @@ camel_nntp_auth_authenticate (CamelNNTPStore *store, CamelException *ex)
if (resp == NNTP_AUTH_REJECTED) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
- "Server rejected username");
+ _("Server rejected username"));
goto done;
}
else if (resp != NNTP_AUTH_CONTINUE) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
- "Failed to send username to server");
+ _("Failed to send username to server"));
goto done;
}
@@ -74,7 +74,7 @@ camel_nntp_auth_authenticate (CamelNNTPStore *store, CamelException *ex)
if (resp == NNTP_AUTH_REJECTED) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,
- "Server rejected username/password");
+ _("Server rejected username/password"));
goto done;
}