summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-08-22 11:06:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-09-29 23:05:22 -0400
commit67b4f8ea75e5b0a281099239e12f64b42c1cf2fb (patch)
tree65cfea6a8c49027bf51baaf8fb6fc57b98e43760
parentb3e1bb165457b90573aab6b635599de6ffcb4682 (diff)
downloadgtk+-67b4f8ea75e5b0a281099239e12f64b42c1cf2fb.tar.gz
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
-rw-r--r--gtk/gtkprogressbar.c2
1 files changed, 1 insertions, 1 deletions
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