[gthumb] metadata category names WON'T show translated strings



commit 3ac33b7ddf21b9d6d71504aab2b0910f9612e0e8
Author: Jiro Matsuzawa <jmatsuzawa gnome org>
Date:   Fri Apr 13 10:22:42 2012 +0200

    metadata category names WON'T show translated strings
    
    [bug #674033]

 extensions/rename_series/gth-template-selector.c |    2 +-
 gthumb/gth-file-properties.c                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/rename_series/gth-template-selector.c b/extensions/rename_series/gth-template-selector.c
index c066f37..ef6bc0b 100644
--- a/extensions/rename_series/gth-template-selector.c
+++ b/extensions/rename_series/gth-template-selector.c
@@ -267,7 +267,7 @@ gth_template_selector_construct (GthTemplateSelector *self,
 			gtk_tree_store_set (tree_store,
 					    &iter,
 					    ATTRIBUTE_ID_COLUMN, category->id,
-					    ATTRIBUTE_NAME_COLUMN, category->display_name,
+					    ATTRIBUTE_NAME_COLUMN, _(category->display_name),
 					    ATTRIBUTE_SORT_ORDER_COLUMN, category->sort_order,
 					    -1);
 
diff --git a/gthumb/gth-file-properties.c b/gthumb/gth-file-properties.c
index c3fec28..8737cb1 100644
--- a/gthumb/gth-file-properties.c
+++ b/gthumb/gth-file-properties.c
@@ -152,7 +152,7 @@ gth_file_properties_real_set_file (GthPropertyView *base,
 			gtk_list_store_set (self->priv->tree_model, &iter,
 					    WEIGHT_COLUMN, PANGO_WEIGHT_BOLD,
 					    ID_COLUMN, category->id,
-					    DISPLAY_NAME_COLUMN, category->display_name,
+					    DISPLAY_NAME_COLUMN, _(category->display_name),
 					    POS_COLUMN, category->sort_order * CATEGORY_SIZE,
 					    -1);
 			g_hash_table_insert (category_hash, g_strdup (info->category), category);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]