[gthumb] translate the property name in the property view
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] translate the property name in the property view
- Date: Fri, 20 Aug 2010 15:51:35 +0000 (UTC)
commit cb3b453e9c1c2ef666a0601983e57aafce9f0bbf
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Aug 20 17:50:48 2010 +0200
translate the property name in the property view
gthumb/gth-file-properties.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-file-properties.c b/gthumb/gth-file-properties.c
index c7d037b..f18d98a 100644
--- a/gthumb/gth-file-properties.c
+++ b/gthumb/gth-file-properties.c
@@ -134,7 +134,7 @@ gth_file_properties_real_set_file (GthPropertyView *base,
g_free (value);
value = tmp_value;
}
- tooltip = g_markup_printf_escaped ("%s: %s", info->display_name, value);
+ tooltip = g_markup_printf_escaped ("%s: %s", _(info->display_name), value);
category = g_hash_table_lookup (category_hash, info->category);
if (category == NULL) {
@@ -154,7 +154,7 @@ gth_file_properties_real_set_file (GthPropertyView *base,
&iter,
WEIGHT_COLUMN, PANGO_WEIGHT_NORMAL,
ID_COLUMN, info->id,
- DISPLAY_NAME_COLUMN, info->display_name,
+ DISPLAY_NAME_COLUMN, _(info->display_name),
VALUE_COLUMN, value,
TOOLTIP_COLUMN, tooltip,
POS_COLUMN, (category->sort_order * CATEGORY_SIZE) + info->sort_order,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]