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
This commit is contained in:
Matthias Clasen 2014-08-22 11:06:08 -04:00
parent b3e1bb1654
commit 67b4f8ea75

View File

@ -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