aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);