aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-panel.c
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@src.gnome.org>1999-02-25 02:53:31 +0800
committerPablo Saratxaga <pablo@src.gnome.org>1999-02-25 02:53:31 +0800
commit928eecf161ff14c7baeb87142f096e262edf582d (patch)
treef1089542f1011b6eb8cb73b4d2de8d3295856cf0 /calendar/gncal-day-panel.c
parent6b377084249ce3ada26cf168cf1a975d877ff151 (diff)
downloadgsoc2013-evolution-928eecf161ff14c7baeb87142f096e262edf582d.tar.gz
gsoc2013-evolution-928eecf161ff14c7baeb87142f096e262edf582d.tar.zst
gsoc2013-evolution-928eecf161ff14c7baeb87142f096e262edf582d.zip
Updated spanish language file;
and some i18n improvements svn path=/trunk/; revision=692
Diffstat (limited to 'calendar/gncal-day-panel.c')
-rw-r--r--calendar/gncal-day-panel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gncal-day-panel.c b/calendar/gncal-day-panel.c
index ba6ac2bdfe..57df9acc3b 100644
--- a/calendar/gncal-day-panel.c
+++ b/calendar/gncal-day-panel.c
@@ -5,6 +5,8 @@
* Author: Federico Mena <quartic@gimp.org>
*/
+#include <config.h>
+#include <gnome.h>
#include <gtk/gtkhseparator.h>
#include "gncal-day-panel.h"
#include "main.h"
@@ -209,7 +211,7 @@ update (GncalDayPanel *dpanel, int update_fullday, iCalObject *ico, int flags)
}
gncal_todo_update (dpanel->todo, ico, flags);
- strftime (buf, sizeof (buf), "%a %b %d %Y", localtime (&dpanel->start_of_day));
+ strftime (buf, sizeof (buf), _("%a %b %d %Y"), localtime (&dpanel->start_of_day));
gtk_label_set (GTK_LABEL (dpanel->date_label), buf);
}
@@ -236,7 +238,7 @@ gncal_day_panel_set (GncalDayPanel *dpanel, time_t start_of_day)
return;
tm = *localtime (&dpanel->start_of_day);
- strftime (buf, sizeof (buf), "%a %b %d %Y", &tm);
+ strftime (buf, sizeof (buf), _("%a %b %d %Y"), &tm);
gtk_label_set (GTK_LABEL (dpanel->date_label), buf);
gncal_full_day_set_bounds (dpanel->fullday, dpanel->start_of_day, time_day_end (dpanel->start_of_day));