mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
parent
b3e1bb1654
commit
67b4f8ea75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user