From 3ef49256dbac5c363990b8beb7e006aaffff6165 Mon Sep 17 00:00:00 2001 From: Ushveen Kaur Date: Tue, 12 Sep 2006 11:31:32 +0000 Subject: ** Fix for bug #325614 2006-09-12 Ushveen Kaur ** Fix for bug #325614 * e-task-widget.c (e_task_widget_update) : Translator comment added. svn path=/trunk/; revision=32759 --- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-task-widget.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index c756597875..a6c99bddc5 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2006-09-12 Ushveen Kaur + + ** Fix for bug #325614 + + * e-task-widget.c (e_task_widget_update) : Translator comment + added. + 2006-09-07 Hiroyuki Ikezoe ** Fixes bug #341099. diff --git a/widgets/misc/e-task-widget.c b/widgets/misc/e-task-widget.c index c7621d61fc..f382670cd5 100644 --- a/widgets/misc/e-task-widget.c +++ b/widgets/misc/e-task-widget.c @@ -205,11 +205,13 @@ e_task_widget_update (ETaskWidget *task_widget, priv = task_widget->priv; if (completion < 0.0) { + /* For Translator only: %s is status message that is displayed (eg "moving items", "updating objects") */ text = g_strdup_printf (_("%s (...)"), information); } else { int percent_complete; - percent_complete = (int) (completion * 100.0 + .5); + /* For Translator only: %s is status message that is displayed (eg "moving items", "updating objects"); + %d is a number between 0 and 100, describing the percentage of operation complete */ text = g_strdup_printf (_("%s (%d%% complete)"), information, percent_complete); } -- cgit v1.2.3