[gthumb: 9/9] Fixed translatable string format
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 9/9] Fixed translatable string format
- Date: Sat, 29 Jan 2011 11:02:25 +0000 (UTC)
commit f2b21ac2ef3635ed8a992159585694a8955d4298
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jan 29 11:58:59 2011 +0100
Fixed translatable string format
[bug #640808]
extensions/search/gth-search-task.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/extensions/search/gth-search-task.c b/extensions/search/gth-search-task.c
index 4f00ec7..dedc483 100644
--- a/extensions/search/gth-search-task.c
+++ b/extensions/search/gth-search-task.c
@@ -173,11 +173,14 @@ done_func (GObject *object,
static void
update_secondary_text (GthSearchTask *task)
{
+ char *format_str;
char *msg;
- msg = g_strdup_printf (_("Files found until now: %" G_GSIZE_FORMAT), task->priv->n_files);
+ format_str = g_strdup_printf ("%"G_GSIZE_FORMAT, task->priv->n_files);
+ msg = g_strdup_printf (_("Files found until now: %s"), format_str);
gth_embedded_dialog_set_secondary_text (GTH_EMBEDDED_DIALOG (task->priv->dialog), msg);
+ g_free (format_str);
g_free (msg);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]