]> www.fi.muni.cz Git - evince.git/commitdiff
Use brakets around the percentage in progress messages. See bug #567910.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 16 Jan 2009 08:37:45 +0000 (08:37 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Fri, 16 Jan 2009 08:37:45 +0000 (08:37 +0000)
2009-01-16  Carlos Garcia Campos  <carlosgc@gnome.org>

* shell/ev-window.c: (reload_remote_copy_progress_cb),
(window_save_file_copy_progress_cb):

Use brakets around the percentage in progress messages. See bug
#567910.

svn path=/trunk/; revision=3336

ChangeLog
shell/ev-window.c

index f7da9d5cd5ff06addc05c1d578c9b6f76abe8006..050576f170f586f88da6f39b0dff94aa3132eeb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-16  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: (reload_remote_copy_progress_cb),
+       (window_save_file_copy_progress_cb):
+
+       Use brakets around the percentage in progress messages. See bug
+       #567910.
+       
 2009-01-16  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-window.c: (reload_remote_copy_ready_cb):
index 43450d356c47d005e8cffffdeed303da0cecace2..1ec9fe9d4f2474f33ab3c31c29341a52c2bd8663 100644 (file)
@@ -1906,7 +1906,7 @@ reload_remote_copy_progress_cb (goffset   n_bytes,
                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),
@@ -2433,15 +2433,15 @@ window_save_file_copy_progress_cb (goffset n_bytes,
 
        switch (save_type) {
        case EV_SAVE_DOCUMENT:
-               status = g_strdup_printf (_("Uploading document %d%%"),
+               status = g_strdup_printf (_("Uploading document (%d%%)"),
                                          (gint)(fraction * 100));
                break;
        case EV_SAVE_ATTACHMENT:
-               status = g_strdup_printf (_("Uploading attachment %d%%"),
+               status = g_strdup_printf (_("Uploading attachment (%d%%)"),
                                          (gint)(fraction * 100));
                break;
        case EV_SAVE_IMAGE:
-               status = g_strdup_printf (_("Uploading image %d%%"),
+               status = g_strdup_printf (_("Uploading image (%d%%)"),
                                          (gint)(fraction * 100));
                break;
        default: