From 3965fd4abaeaa50e58c59d50db9478efb03b53bd Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 16 Jan 2009 10:35:15 +0000 Subject: Add missing brakets around the percentage in progress messages. See bug 2009-01-16 Carlos Garcia Campos * shell/ev-window.c: (window_open_file_copy_progress_cb): Add missing brakets around the percentage in progress messages. See bug #567910. svn path=/trunk/; revision=3341 --- (limited to 'shell') diff --git a/shell/ev-window.c b/shell/ev-window.c index 1ec9fe9..9c63904 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1721,9 +1721,9 @@ window_open_file_copy_progress_cb (goffset n_bytes, if (!ev_window->priv->message_area) return; - + fraction = n_bytes / (gdouble)total_bytes; - status = g_strdup_printf (_("Downloading document %d%%"), + status = g_strdup_printf (_("Downloading document (%d%%)"), (gint)(fraction * 100)); ev_progress_message_area_set_status (EV_PROGRESS_MESSAGE_AREA (ev_window->priv->message_area), -- cgit v0.9.1