[gthumb] gth-load-file-data-task: changed the progress text again
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] gth-load-file-data-task: changed the progress text again
- Date: Mon, 4 Apr 2011 16:57:26 +0000 (UTC)
commit 0c9009529f77a0bd9045f328d50f7737b8d5192a
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Apr 4 18:56:29 2011 +0200
gth-load-file-data-task: changed the progress text again
use the same text used in the "find duplicates" dialog
gthumb/gth-load-file-data-task.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-load-file-data-task.c b/gthumb/gth-load-file-data-task.c
index 884acd4..6ab3301 100644
--- a/gthumb/gth-load-file-data-task.c
+++ b/gthumb/gth-load-file-data-task.c
@@ -90,6 +90,7 @@ static void
load_current_file (GthLoadFileDataTask *self)
{
GFile *file;
+ int n_remaining;
char *details;
GList *files;
@@ -101,8 +102,8 @@ load_current_file (GthLoadFileDataTask *self)
file = self->priv->current->data;
- /* For translators: This is a progress indicator, both numbers refer to files. For example: 12 of 154 */
- details = g_strdup_printf (_("%1$d of %2$d"), self->priv->n_files - self->priv->n_current, self->priv->n_files);
+ n_remaining = self->priv->n_files - self->priv->n_current;
+ details = g_strdup_printf (g_dngettext (NULL, "%d file remaining", "%d files remaining", n_remaining), n_remaining);
gth_task_progress (GTH_TASK (self),
_("Reading file information"),
details,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]