[evolution-exchange] Bug #629118 - Translation not working in "Add Account" dialog
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Bug #629118 - Translation not working in "Add Account" dialog
- Date: Thu, 9 Sep 2010 10:07:26 +0000 (UTC)
commit e33c1984d44d96d424e6151cbcdd983254d7f459
Author: Milan Crha <mcrha redhat com>
Date: Thu Sep 9 12:06:27 2010 +0200
Bug #629118 - Translation not working in "Add Account" dialog
camel/camel-exchange-provider.c | 3 +--
configure.ac | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-exchange-provider.c b/camel/camel-exchange-provider.c
index 83f1986..7dcfcfd 100644
--- a/camel/camel-exchange-provider.c
+++ b/camel/camel-exchange-provider.c
@@ -167,6 +167,7 @@ camel_provider_module_init (void)
{
gint i;
+ exchange_provider.translation_domain = (gchar *) GETTEXT_PACKAGE;
exchange_provider.object_types[CAMEL_PROVIDER_STORE] = camel_exchange_store_get_type ();
exchange_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_exchange_transport_get_type ();
exchange_provider.authtypes = g_list_prepend (g_list_prepend (NULL, &camel_exchange_password_authtype), &camel_exchange_ntlm_authtype);
@@ -176,8 +177,6 @@ camel_provider_module_init (void)
bindtextdomain (GETTEXT_PACKAGE, CONNECTOR_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- exchange_provider.translation_domain = (gchar *) GETTEXT_PACKAGE;
- exchange_provider.translation_domain = (gchar *) GETTEXT_PACKAGE;
/* 'auth_types' is not used anywhere else, it's there just for localization of the 'al_auth' */
for (i = 0; auth_types [i]; i++) {
diff --git a/configure.ac b/configure.ac
index 9cacaf7..63c5b9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,7 +160,7 @@ GETTEXT_PACKAGE=evolution-exchange-$BASE_VERSION
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
-localedir='$(prefix)/$(DATADIRNAME)/local'
+localedir='$(prefix)/$(DATADIRNAME)/locale'
AC_SUBST(localedir)
dnl **********************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]