From 0fd2e472759ead47a740ed047368defbde4626ff Mon Sep 17 00:00:00 2001 From: ich Date: Tue, 10 Aug 2010 19:17:56 +0000 Subject: [PATCH] ... and this point is now: added translatable alt tags --- webcit/calendar_view.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 004a6550b..2600bfa58 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -581,7 +581,7 @@ void calendar_month_view(int year, int month, int day) { localtime_r(&previous_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"previous\"\n"); + wc_printf("\"%s\"\n", _("previous")); wc_strftime(colheader_label, sizeof colheader_label, "%B", &starting_tm); wc_printf("  " @@ -593,7 +593,7 @@ void calendar_month_view(int year, int month, int day) { localtime_r(&next_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"next\"\n"); + wc_printf("\"%s\"\n", _("next")); wc_printf("\n"); @@ -718,7 +718,7 @@ void calendar_brief_month_view(int year, int month, int day) { localtime_r(&previous_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"previous\"\n"); + wc_printf("\"%s\"\n", _("previous")); wc_strftime(month_label, sizeof month_label, "%B", &tm); wc_printf("  " @@ -730,7 +730,7 @@ void calendar_brief_month_view(int year, int month, int day) { localtime_r(&next_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"next\"\n"); + wc_printf("\"%s\"\n", _("next")); wc_printf("\n"); @@ -1318,8 +1318,8 @@ void calendar_day_view(int year, int month, int day) { wc_printf(""); wc_printf("", tomorrow.year, tomorrow.month, tomorrow.day); - wc_printf("\"next\"\n"); + wc_printf("\"%s\"\n", _("next")); wc_printf(""); wc_printf("\n"); -- 2.39.2