diff options
author | rbuj <[email protected]> | 2020-11-09 18:56:42 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 19:33:49 +0200 |
commit | f04a6d19d9fc6801033eba561c43d3f58fb7a2b5 (patch) | |
tree | 7af661b8a281655be2fdb5c05bc97cd6d6e92738 /src | |
parent | d1d5876c576a041823149d50694f114be232130f (diff) | |
download | caja-f04a6d19d9fc6801033eba561c43d3f58fb7a2b5.tar.bz2 caja-f04a6d19d9fc6801033eba561c43d3f58fb7a2b5.tar.xz |
Fix i18n in backgrounds and emblems dialog
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-property-browser.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c index 56b8d439..c029ad90 100644 --- a/src/caja-property-browser.c +++ b/src/caja-property-browser.c @@ -2071,13 +2071,13 @@ make_properties_from_xml_node (CajaPropertyBrowser *property_browser, } color = xmlNodeGetContent (child_node); - name = eel_xml_get_property_translated (child_node, "name"); + name = xmlGetProp (child_node, "name"); /* make the image from the color spec */ pixbuf = make_color_drag_image (property_browser, color, FALSE); /* make the tile from the pixmap and name */ - new_property = labeled_image_new (name, pixbuf, color, PANGO_SCALE_LARGE); + new_property = labeled_image_new (_(name), pixbuf, color, PANGO_SCALE_LARGE); gtk_container_add (GTK_CONTAINER (property_browser->details->content_table), new_property); gtk_widget_show (new_property); @@ -2266,14 +2266,14 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser) { path = xmlGetProp (cur_node, "path"); mode = xmlGetProp (cur_node, "mode"); - description = eel_xml_get_property_translated (cur_node, "description"); + description = xmlGetProp (cur_node, "description"); type = xmlGetProp (cur_node, "type"); make_category (property_browser, path, mode, cur_node, - description); + _(description)); caja_property_browser_set_drag_type (property_browser, type); xmlFree (path); @@ -2284,12 +2284,12 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser) if (!got_categories) { - display_name = eel_xml_get_property_translated (cur_node, "display_name"); + display_name = xmlGetProp (cur_node, "display_name"); image = xmlGetProp (cur_node, "image"); make_category_link (property_browser, name, - display_name, + _(display_name), image, &group); |