aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-task-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-task-widget.c')
-rw-r--r--widgets/misc/e-task-widget.c4
1 files changed, 3 insertions, 1 deletions
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);
}