From 67b4f8ea75e5b0a281099239e12f64b42c1cf2fb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Aug 2014 11:06:08 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 84aeef9950..784d54c3eb 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