[gnumeric] Fixed textdomain for the component.



commit bec442f3332bcf5ee73f98d16fca552a7869d601
Author: Jean Brefort <jean brefort normalesup org>
Date:   Thu May 20 07:41:10 2010 +0200

    Fixed textdomain for the component.

 component/gnumeric.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/component/gnumeric.c b/component/gnumeric.c
index ef4bdb0..ab3142b 100644
--- a/component/gnumeric.c
+++ b/component/gnumeric.c
@@ -265,7 +265,8 @@ go_plugin_init (GOPlugin *plugin, GOCmdContext *cc)
 	GTypeModule *module;
 	char const *env_var;
 	GSList *dir_list;
-	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+	bindtextdomain (GETTEXT_PACKAGE, gnm_locale_dir ());
+	bindtextdomain (GETTEXT_PACKAGE "-functions", gnm_locale_dir ());
 #ifdef ENABLE_NLS
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]