aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-info.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-11-27 01:22:34 +0800
committerDan Winship <danw@src.gnome.org>2002-11-27 01:22:34 +0800
commit6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0 (patch)
tree94407f654941860067dc36195ac96a1284649f47 /shell/e-component-info.c
parent57d76d9b31a0ff48f2134d11737818a74fdf6c8a (diff)
downloadgsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar.gz
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar.bz2
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar.lz
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar.xz
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.tar.zst
gsoc2013-evolution-6c0ba6d1f6d2a89ea011b5c9d671c941f8d324c0.zip
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
Diffstat (limited to 'shell/e-component-info.c')
-rw-r--r--shell/e-component-info.c7
1 files changed, 0 insertions, 7 deletions
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;