← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~kelemeng/indicator-datetime/737326 into lp:indicator-datetime

 

Gabor Kelemen has proposed merging lp:~kelemeng/indicator-datetime/737326 into lp:indicator-datetime.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  Bug #737326 in Indicator Date and Time: "date and time in the menu should be localized"
  https://bugs.launchpad.net/indicator-datetime/+bug/737326

For more details, see:
https://code.launchpad.net/~kelemeng/indicator-datetime/737326/+merge/54213
-- 
https://code.launchpad.net/~kelemeng/indicator-datetime/737326/+merge/54213
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/datetime-service.c'
--- src/datetime-service.c	2011-03-16 21:47:51 +0000
+++ src/datetime-service.c	2011-03-21 14:16:37 +0000
@@ -252,8 +252,8 @@
 		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);


Follow ups