aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-01 16:25:17 -0600
committerTed Gould <ted@gould.cx>2010-03-01 16:25:17 -0600
commit303bc1f32c9bbc5d23dcc712a3c8dff31a338aa6 (patch)
tree859eed3790abbc9e8effb50e8fcdccb80c43a841 /src/indicator-datetime.c
parent6c63187e2ce841ccac0cb1c2ed1b838c77b42ff5 (diff)
downloadayatana-indicator-datetime-303bc1f32c9bbc5d23dcc712a3c8dff31a338aa6.tar.gz
ayatana-indicator-datetime-303bc1f32c9bbc5d23dcc712a3c8dff31a338aa6.tar.bz2
ayatana-indicator-datetime-303bc1f32c9bbc5d23dcc712a3c8dff31a338aa6.zip
Adding translation comments.
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c6
1 files changed, 6 insertions, 0 deletions
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);