[gnome-settings-daemon] i18n: fix an untranslatable string (#639290)
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] i18n: fix an untranslatable string (#639290)
- Date: Tue, 18 Jan 2011 00:16:07 +0000 (UTC)
commit 821fa0b23f0476fc6cf322f6368a5ef76a2bbe8b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jan 18 01:14:38 2011 +0100
i18n: fix an untranslatable string (#639290)
plugins/housekeeping/gsd-ldsm-trash-empty.c | 9 +++++++--
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 b19c6d9..641add4 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]