summaryrefslogtreecommitdiff
path: root/plugins/housekeeping
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-01-18 01:14:38 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2011-01-18 01:14:38 +0100
commit821fa0b23f0476fc6cf322f6368a5ef76a2bbe8b (patch)
tree24f287d2eb9ef423384bfdcaae9cd60372ca29c8 /plugins/housekeeping
parentf6ca3147e5ce2319c167cb77af06f116e2f20a7e (diff)
downloadgnome-settings-daemon-821fa0b23f0476fc6cf322f6368a5ef76a2bbe8b.tar.gz
i18n: fix an untranslatable string (#639290)
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r--plugins/housekeeping/gsd-ldsm-trash-empty.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/housekeeping/gsd-ldsm-trash-empty.c b/plugins/housekeeping/gsd-ldsm-trash-empty.c
index b19c6d9a..641add4f 100644
--- a/plugins/housekeeping/gsd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/gsd-ldsm-trash-empty.c
@@ -89,13 +89,18 @@ trash_empty_update_dialog (gpointer user_data)
gchar *text;
gchar *tmp;
gchar *markup;
+ gchar *deleted_str, *total_str;
GFile *parent;
- text = g_strdup_printf (_("Removing item %"G_GSIZE_FORMAT" of %"G_GSIZE_FORMAT),
- deleted, total);
+ deleted_str = g_strdup_printf ("%"G_GSIZE_FORMAT, deleted);
+ total_str = g_strdup_printf ("%"G_GSIZE_FORMAT, total);
+ text = g_strdup_printf (_("Removing item %s of %s"),
+ deleted_str, total_str);
gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progressbar), text);
g_free (text);
+ g_free (deleted_str);
+ g_free (total_str);
if (deleted > total)
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (progressbar), 1.0);