diff options
author | Ushveen Kaur <kushveen@novell.com> | 2006-09-12 19:31:32 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2006-09-12 19:31:32 +0800 |
commit | 3ef49256dbac5c363990b8beb7e006aaffff6165 (patch) | |
tree | a8b8c6b14e1fc4c2942f0f0bfdcdb2bd17c44c6d /widgets/misc | |
parent | 4ff87c20f35caf118501e71411098042d2cb9e29 (diff) | |
download | gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar.gz gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar.bz2 gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar.lz gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar.xz gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.tar.zst gsoc2013-evolution-3ef49256dbac5c363990b8beb7e006aaffff6165.zip |
** Fix for bug #325614
2006-09-12 Ushveen Kaur <kushveen@novell.com>
** Fix for bug #325614
* e-task-widget.c (e_task_widget_update) : Translator comment
added.
svn path=/trunk/; revision=32759
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-task-widget.c | 4 |
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); } |