From 6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 26 Nov 2002 17:22:34 +0000 Subject: e_get_language_list now returns language codes that actually work with * e-shell-settings-dialog.c (page_new): e_get_language_list now returns language codes that actually work with oaf, making the _()s here redundant. * e-component-info.c (get_i18n_value): Remove code to turn "fr_FR" into "fr", since e_get_language_list will return both now. svn path=/trunk/; revision=18928 --- shell/e-component-info.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'shell/e-component-info.c') diff --git a/shell/e-component-info.c b/shell/e-component-info.c index 8cb93d5c09..a89647c8a1 100644 --- a/shell/e-component-info.c +++ b/shell/e-component-info.c @@ -115,13 +115,6 @@ get_i18n_value (xmlNode *parent_node, language_id = (const char *) p->data; node = lookup_node_for_language (parent_node, node_name, language_id); - if (node == NULL && language_id[2] == '_') { - char short_language_id[3]; - - strncpy (short_language_id, language_id, 2); - node = lookup_node_for_language (parent_node, node_name, short_language_id); - } - if (node != NULL) { xmlChar *xml_value; char *glib_value; -- cgit v1.2.3