summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-customization-data.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-09 18:56:42 +0100
committerraveit65 <[email protected]>2020-11-11 15:50:20 +0100
commit40f061c638ae125fc6a4170807fa890362050e0f (patch)
treee89d6d7a2a5544cab45e62efaeba57f444b61229 /libcaja-private/caja-customization-data.c
parent02375fa336ce11c0cc5949691babc03d9bfb9023 (diff)
downloadcaja-40f061c638ae125fc6a4170807fa890362050e0f.tar.bz2
caja-40f061c638ae125fc6a4170807fa890362050e0f.tar.xz
Fix i18n in backgrounds and emblems dialog
Diffstat (limited to 'libcaja-private/caja-customization-data.c')
-rw-r--r--libcaja-private/caja-customization-data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-customization-data.c b/libcaja-private/caja-customization-data.c
index ebd0b029..dded5f65 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);