aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-22 16:33:14 -0500
committerTed Gould <ted@gould.cx>2011-03-22 16:33:14 -0500
commitea287c1955268f063d7ec700e13d52c16fcff4cb (patch)
tree960547bd18f5e0dfeade9ef057a39acc6ec534a8
parent1cf7b6cd0da42b4a90e695907de0c53613822558 (diff)
parent13c3a183a9e32d5e0e115038d4bb62c26b0d81db (diff)
downloadayatana-indicator-datetime-ea287c1955268f063d7ec700e13d52c16fcff4cb.tar.gz
ayatana-indicator-datetime-ea287c1955268f063d7ec700e13d52c16fcff4cb.tar.bz2
ayatana-indicator-datetime-ea287c1955268f063d7ec700e13d52c16fcff4cb.zip
Translator comments and making the string translatable
-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);