[gnumeric] fixed functions category localization for external plugins



commit 0ac61fdc9fb82e542dca2011453f4eaeac4c542f
Author: Jean Brefort <jean brefort normalesup org>
Date:   Thu Aug 13 15:28:02 2009 +0200

    fixed functions category localization for external plugins

 ChangeLog        |    5 +++++
 src/gnm-plugin.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ec3d2ea..c3a63a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-13  Jean Brefort  <jean brefort normalesup org>
+
+	* src/gnm-plugin.c (plugin_service_function_group_read_xml): get "lang"
+	property instead of "xml:lang" since the namespace is dropped.
+
 2009-08-05  Morten Welinder  <terra gnome org>
 
 	* src/GNOME_Gnumeric-gtk.xml.in: Add VUndo and VRedo.  See bug
diff --git a/src/gnm-plugin.c b/src/gnm-plugin.c
index de06310..295b65a 100644
--- a/src/gnm-plugin.c
+++ b/src/gnm-plugin.c
@@ -75,7 +75,7 @@ plugin_service_function_group_read_xml (GOPluginService *service, xmlNode *tree,
 	if (translated_category_node != NULL) {
 		gchar *lang;
 
-		lang = xml_node_get_cstr (translated_category_node, "xml:lang");
+		lang = xml_node_get_cstr (translated_category_node, "lang");
 		if (lang != NULL) {
 			xmlChar *val;
 



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