aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2011-03-21 15:13:07 +0100
committerGabor Kelemen <kelemeng@gnome.hu>2011-03-21 15:13:07 +0100
commit13c3a183a9e32d5e0e115038d4bb62c26b0d81db (patch)
tree4402bdc2acfbf06d345f29f199ab02bdb0e5a9a4 /src/datetime-service.c
parent847357e2b3d41d10b8971c9714326def74dcbc61 (diff)
downloadayatana-indicator-datetime-13c3a183a9e32d5e0e115038d4bb62c26b0d81db.tar.gz
ayatana-indicator-datetime-13c3a183a9e32d5e0e115038d4bb62c26b0d81db.tar.bz2
ayatana-indicator-datetime-13c3a183a9e32d5e0e115038d4bb62c26b0d81db.zip
Mark date format string as translatable, and add translator comment.
Fixes: LP:737326
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 615010c..8b5e5b6 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -252,8 +252,8 @@ update_datetime (gpointer user_data)
return FALSE;
}
- /* Note: may require some localization tweaks */
- strftime(longstr, 128, "%A, %e %B %Y", ltime);
+ /* Translators: strftime(3) style date format on top of the menu when you click on the clock */
+ strftime(longstr, 128, _("%A, %e %B %Y"), ltime);
gchar * utf8 = g_locale_to_utf8(longstr, -1, NULL, NULL, NULL);
dbusmenu_menuitem_property_set(date, DBUSMENU_MENUITEM_PROP_LABEL, utf8);