summaryrefslogtreecommitdiff
path: root/src/caja-property-browser.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 /src/caja-property-browser.c
parent02375fa336ce11c0cc5949691babc03d9bfb9023 (diff)
downloadcaja-40f061c638ae125fc6a4170807fa890362050e0f.tar.bz2
caja-40f061c638ae125fc6a4170807fa890362050e0f.tar.xz
Fix i18n in backgrounds and emblems dialog
Diffstat (limited to 'src/caja-property-browser.c')
-rw-r--r--src/caja-property-browser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 957792f8..a12ca187 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);