[gthumb] fixed strings marked as translatable but not translated



commit c365386f1d435fd756dad8693b2dd0289477adcb
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Aug 24 10:46:31 2010 +0200

    fixed strings marked as translatable but not translated
    
    [bug #627532]

 extensions/slideshow/callbacks.c        |    2 +-
 extensions/webalbums/dlg-web-exporter.c |    2 +-
 gthumb/dlg-sort-order.c                 |    2 +-
 gthumb/gth-metadata-chooser.c           |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/extensions/slideshow/callbacks.c b/extensions/slideshow/callbacks.c
index eeeb81e..2ab065d 100644
--- a/extensions/slideshow/callbacks.c
+++ b/extensions/slideshow/callbacks.c
@@ -53,7 +53,7 @@ static const char *ui_info =
 
 static GtkActionEntry action_entries[] = {
 	{ "View_Slideshow", "x-office-presentation",
-	  "_Slideshow", "F5",
+	  N_("_Slideshow"), "F5",
 	  N_("View as a slideshow"),
 	  G_CALLBACK (gth_browser_activate_action_view_slideshow) }
 };
diff --git a/extensions/webalbums/dlg-web-exporter.c b/extensions/webalbums/dlg-web-exporter.c
index 27bcf84..04280a9 100644
--- a/extensions/webalbums/dlg-web-exporter.c
+++ b/extensions/webalbums/dlg-web-exporter.c
@@ -427,7 +427,7 @@ dlg_web_exporter (GthBrowser *browser,
 		gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("sort_liststore")), &iter);
 		gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("sort_liststore")), &iter,
 				    SORT_TYPE_COLUMN_DATA, sort_type,
-				    SORT_TYPE_COLUMN_NAME, sort_type->display_name,
+				    SORT_TYPE_COLUMN_NAME, _(sort_type->display_name),
 				    -1);
 	}
 	g_list_free (sort_types);
diff --git a/gthumb/dlg-sort-order.c b/gthumb/dlg-sort-order.c
index 83747c0..00d34e6 100644
--- a/gthumb/dlg-sort-order.c
+++ b/gthumb/dlg-sort-order.c
@@ -136,7 +136,7 @@ dlg_sort_order (GthBrowser *browser)
 		gtk_list_store_append (selection_model, &iter);
 		gtk_list_store_set (selection_model, &iter,
 				    SELECTION_COLUMN_DATA, sort_type,
-				    SELECTION_COLUMN_NAME, sort_type->display_name,
+				    SELECTION_COLUMN_NAME, _(sort_type->display_name),
 				    -1);
 	}
 	g_list_free (sort_types);
diff --git a/gthumb/gth-metadata-chooser.c b/gthumb/gth-metadata-chooser.c
index 72c4619..de849b3 100644
--- a/gthumb/gth-metadata-chooser.c
+++ b/gthumb/gth-metadata-chooser.c
@@ -480,7 +480,7 @@ gth_metadata_chooser_set_selection (GthMetadataChooser *self,
 			gtk_list_store_append (store, &iter);
 			gtk_list_store_set (store, &iter,
 					    WEIGHT_COLUMN, PANGO_WEIGHT_BOLD,
-					    NAME_COLUMN, category->display_name,
+					    NAME_COLUMN, _(category->display_name),
 					    ID_COLUMN, category->id,
 					    SORT_ORDER_COLUMN, category->sort_order * CATEGORY_SIZE,
 					    USED_COLUMN, FALSE,
@@ -494,7 +494,7 @@ gth_metadata_chooser_set_selection (GthMetadataChooser *self,
 		gtk_list_store_append (store, &iter);
 		gtk_list_store_set (store, &iter,
 				    WEIGHT_COLUMN, PANGO_WEIGHT_NORMAL,
-				    NAME_COLUMN, name,
+				    NAME_COLUMN, _(name),
 				    ID_COLUMN, info->id,
 				    SORT_ORDER_COLUMN, (category->sort_order * CATEGORY_SIZE) + info->sort_order,
 				    USED_COLUMN, FALSE,



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