[evolution-data-server/gnome-3-2] Call gettext on the short descriptions of port numbers.
- From: Gabor Keleman <kelemeng src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-2] Call gettext on the short descriptions of port numbers.
- Date: Fri, 2 Dec 2011 20:30:56 +0000 (UTC)
commit 4d6c98ff5c610994ec5c495d6ba77f310e0daa4a
Author: Gabor Kelemen <kelemeng gnome hu>
Date: Fri Dec 2 19:30:01 2011 +0100
Call gettext on the short descriptions of port numbers.
https://bugzilla.gnome.org/show_bug.cgi?id=665421
camel/camel-provider.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index 751cf02..4155be8 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -229,6 +229,7 @@ camel_provider_register (CamelProvider *provider)
{
gint i;
CamelProviderConfEntry *conf;
+ CamelProviderPortEntry *port;
GList *l;
g_return_if_fail (provider != NULL);
@@ -265,8 +266,13 @@ camel_provider_register (CamelProvider *provider)
l = l->next;
}
- if (provider->port_entries)
+ if (provider->port_entries) {
provider->url_flags |= CAMEL_URL_NEED_PORT;
+ port = provider->port_entries;
+ for (i = 0; port[i].port != 0; i++)
+ if (port[i].desc)
+ port[i].desc = P_(port[i].desc);
+ }
else
provider->url_flags &= ~CAMEL_URL_NEED_PORT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]