aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-task-widget.c4
2 files changed, 10 insertions, 1 deletions
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 <kushveen@novell.com>
+
+ ** Fix for bug #325614
+
+ * e-task-widget.c (e_task_widget_update) : Translator comment
+ added.
+
2006-09-07 Hiroyuki Ikezoe <poincare@ikezoe.net>
** 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);
}