From 303bc1f32c9bbc5d23dcc712a3c8dff31a338aa6 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 1 Mar 2010 16:25:17 -0600 Subject: Adding translation comments. --- src/indicator-datetime.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index e0793d9..d1a2db4 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -253,10 +253,16 @@ guess_label_size (IndicatorDatetime * self) GtkStyle * style = gtk_widget_get_style(GTK_WIDGET(self->priv->label)); PangoContext * context = gtk_widget_get_pango_context(GTK_WIDGET(self->priv->label)); + /* TRANSLATORS: This string is used for measuring the size of + the font used for showing the time and is not shown to the + user anywhere. */ gchar * am_str = g_strdup_printf(_("%d%d:%d%d AM"), FAT_NUMBER, FAT_NUMBER, FAT_NUMBER, FAT_NUMBER); gint am_width = measure_string(style, context, am_str); g_free(am_str); + /* TRANSLATORS: This string is used for measuring the size of + the font used for showing the time and is not shown to the + user anywhere. */ gchar * pm_str = g_strdup_printf(_("%d%d:%d%d PM"), FAT_NUMBER, FAT_NUMBER, FAT_NUMBER, FAT_NUMBER); gint pm_width = measure_string(style, context, pm_str); g_free(pm_str); -- cgit v1.2.3