From f04a6d19d9fc6801033eba561c43d3f58fb7a2b5 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 9 Nov 2020 18:56:42 +0100 Subject: Fix i18n in backgrounds and emblems dialog --- libcaja-private/caja-customization-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcaja-private') diff --git a/libcaja-private/caja-customization-data.c b/libcaja-private/caja-customization-data.c index b95cc366..1b9e6608 100644 --- a/libcaja-private/caja-customization-data.c +++ b/libcaja-private/caja-customization-data.c @@ -485,11 +485,11 @@ load_name_map_hash_table (CajaCustomizationData *data) { char *filename, *display_name; - display_name = eel_xml_get_property_translated (current_node, "display_name"); + display_name = xmlGetProp (current_node, "display_name"); filename = xmlGetProp (current_node, "filename"); if (display_name && filename) { - g_hash_table_replace (data->name_map_hash, g_strdup (filename), g_strdup (display_name)); + g_hash_table_replace (data->name_map_hash, g_strdup (filename), g_strdup (_(display_name))); } xmlFree (filename); xmlFree (display_name); -- cgit v1.2.1