aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/gncal-day-panel.c6
-rw-r--r--calendar/gncal-week-view.c5
-rw-r--r--calendar/gui/gncal-day-panel.c6
-rw-r--r--calendar/gui/gncal-week-view.c5
-rw-r--r--calendar/gui/month-view.c5
-rw-r--r--calendar/gui/year-view.c2
-rw-r--r--calendar/month-view.c5
-rw-r--r--calendar/year-view.c2
8 files changed, 22 insertions, 14 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));
diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c
index 41b2596016..fcfe34aec3 100644
--- a/calendar/gncal-week-view.c
+++ b/calendar/gncal-week-view.c
@@ -7,6 +7,7 @@
*/
#include <config.h>
+#include <gnome.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gncal-week-view.h"
@@ -230,11 +231,11 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week)
week_end = time_add_day (week_start, 6);
t = localtime (&week_start);
- strftime (buf, sizeof (buf), "%a %b %d %Y - ", t);
+ strftime (buf, sizeof (buf), _("%a %b %d %Y - "), t);
len = strlen (buf);
t = localtime (&week_end);
- strftime (buf + len, sizeof (buf) - len, "%a %b %d %Y", t);
+ strftime (buf + len, sizeof (buf) - len, _("%a %b %d %Y"), t);
gtk_label_set (GTK_LABEL (wview->label), buf);
}
diff --git a/calendar/gui/gncal-day-panel.c b/calendar/gui/gncal-day-panel.c
index ba6ac2bdfe..57df9acc3b 100644
--- a/calendar/gui/gncal-day-panel.c
+++ b/calendar/gui/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));
diff --git a/calendar/gui/gncal-week-view.c b/calendar/gui/gncal-week-view.c
index 41b2596016..fcfe34aec3 100644
--- a/calendar/gui/gncal-week-view.c
+++ b/calendar/gui/gncal-week-view.c
@@ -7,6 +7,7 @@
*/
#include <config.h>
+#include <gnome.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gncal-week-view.h"
@@ -230,11 +231,11 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week)
week_end = time_add_day (week_start, 6);
t = localtime (&week_start);
- strftime (buf, sizeof (buf), "%a %b %d %Y - ", t);
+ strftime (buf, sizeof (buf), _("%a %b %d %Y - "), t);
len = strlen (buf);
t = localtime (&week_end);
- strftime (buf + len, sizeof (buf) - len, "%a %b %d %Y", t);
+ strftime (buf + len, sizeof (buf) - len, _("%a %b %d %Y"), t);
gtk_label_set (GTK_LABEL (wview->label), buf);
}
diff --git a/calendar/gui/month-view.c b/calendar/gui/month-view.c
index 2759dada2f..3d695492ba 100644
--- a/calendar/gui/month-view.c
+++ b/calendar/gui/month-view.c
@@ -6,6 +6,7 @@
*/
#include <config.h>
+#include <gnome.h>
#include <libgnomeui/gnome-canvas-text.h>
#include "eventedit.h"
#include "layout.h"
@@ -84,7 +85,7 @@ do_quick_view_popup (MonthView *mv, GdkEventButton *event, int day)
list = calendar_get_events_in_range (mv->calendar->cal, day_begin_time, day_end_time);
- strftime (date_str, sizeof (date_str), "%a %b %d %Y", localtime (&day_begin_time));
+ strftime (date_str, sizeof (date_str), _("%a %b %d %Y"), localtime (&day_begin_time));
qv = quick_view_new (mv->calendar, date_str, list);
quick_view_do_popup (QUICK_VIEW (qv), event);
@@ -751,7 +752,7 @@ month_view_set (MonthView *mv, time_t month)
mv->year = tm->tm_year + 1900;
mv->month = tm->tm_mon;
- strftime (buf, 100, "%B %Y", tm);
+ strftime (buf, 100, _("%B %Y"), tm);
gnome_canvas_item_set (mv->title,
"text", buf,
diff --git a/calendar/gui/year-view.c b/calendar/gui/year-view.c
index a8bc79e6fe..efd22a475f 100644
--- a/calendar/gui/year-view.c
+++ b/calendar/gui/year-view.c
@@ -304,7 +304,7 @@ do_quick_view_popup (YearView *yv, GdkEventButton *event, int year, int month, i
list = calendar_get_events_in_range (yv->calendar->cal, day_start, day_end);
- strftime (date_str, sizeof (date_str), "%a %b %d %Y", localtime (&day_start));
+ strftime (date_str, sizeof (date_str), _("%a %b %d %Y"), localtime (&day_start));
qv = quick_view_new (yv->calendar, date_str, list);
quick_view_do_popup (QUICK_VIEW (qv), event);
diff --git a/calendar/month-view.c b/calendar/month-view.c
index 2759dada2f..3d695492ba 100644
--- a/calendar/month-view.c
+++ b/calendar/month-view.c
@@ -6,6 +6,7 @@
*/
#include <config.h>
+#include <gnome.h>
#include <libgnomeui/gnome-canvas-text.h>
#include "eventedit.h"
#include "layout.h"
@@ -84,7 +85,7 @@ do_quick_view_popup (MonthView *mv, GdkEventButton *event, int day)
list = calendar_get_events_in_range (mv->calendar->cal, day_begin_time, day_end_time);
- strftime (date_str, sizeof (date_str), "%a %b %d %Y", localtime (&day_begin_time));
+ strftime (date_str, sizeof (date_str), _("%a %b %d %Y"), localtime (&day_begin_time));
qv = quick_view_new (mv->calendar, date_str, list);
quick_view_do_popup (QUICK_VIEW (qv), event);
@@ -751,7 +752,7 @@ month_view_set (MonthView *mv, time_t month)
mv->year = tm->tm_year + 1900;
mv->month = tm->tm_mon;
- strftime (buf, 100, "%B %Y", tm);
+ strftime (buf, 100, _("%B %Y"), tm);
gnome_canvas_item_set (mv->title,
"text", buf,
diff --git a/calendar/year-view.c b/calendar/year-view.c
index a8bc79e6fe..efd22a475f 100644
--- a/calendar/year-view.c
+++ b/calendar/year-view.c
@@ -304,7 +304,7 @@ do_quick_view_popup (YearView *yv, GdkEventButton *event, int year, int month, i
list = calendar_get_events_in_range (yv->calendar->cal, day_start, day_end);
- strftime (date_str, sizeof (date_str), "%a %b %d %Y", localtime (&day_start));
+ strftime (date_str, sizeof (date_str), _("%a %b %d %Y"), localtime (&day_start));
qv = quick_view_new (yv->calendar, date_str, list);
quick_view_do_popup (QUICK_VIEW (qv), event);