Add a translator hint. (#163889)

2005-01-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
	Add a translator hint.  (#163889)
This commit is contained in:
Matthias Clasen 2005-01-14 13:53:31 +00:00 committed by Matthias Clasen
parent 61ededc855
commit afc970df72
4 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
Add a translator hint. (#163889)
* configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
is an enum value, not a define. Pointed out by Tommi Komulainen.
* gtk/gtkcalendar.c (gtk_calendar_init): Adapt.

View File

@ -1,5 +1,8 @@
2005-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
Add a translator hint. (#163889)
* configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
is an enum value, not a define. Pointed out by Tommi Komulainen.
* gtk/gtkcalendar.c (gtk_calendar_init): Adapt.

View File

@ -1,5 +1,8 @@
2005-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
Add a translator hint. (#163889)
* configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
is an enum value, not a define. Pointed out by Tommi Komulainen.
* gtk/gtkcalendar.c (gtk_calendar_init): Adapt.

View File

@ -232,6 +232,7 @@ gtk_cell_renderer_progress_set_value (GtkCellRendererProgress *cellprogress,
if (cellprogress->priv->text)
text = g_strdup (cellprogress->priv->text);
else
/* do not translate the part before the | */
text = g_strdup_printf (Q_("progress bar label|%d %%"),
cellprogress->priv->value);