[gtk+] GtkProgressBar: Mark the default text for translation



commit 67b4f8ea75e5b0a281099239e12f64b42c1cf2fb
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 22 11:06:08 2014 -0400

    GtkProgressBar: Mark the default text for translation
    
    At the same time, use a small space before %.
    This matches what is done in GtkCellRendererProgress.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735192

 gtk/gtkprogressbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 84aeef9..784d54c 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -441,7 +441,7 @@ get_current_text (GtkProgressBar *pbar)
   if (priv->text)
     return g_strdup (priv->text);
   else
-    return g_strdup_printf ("%.0f %%", priv->fraction * 100.0);
+    return g_strdup_printf (C_("progress bar label", "%.0f %%"), priv->fraction * 100.0);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]