X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_view.c;h=2600bfa588cad5f4d7f38d905f09d2f20634ed54;hb=0fd2e472759ead47a740ed047368defbde4626ff;hp=004a6550b78533ff3ac48c69df0d045241cf6e41;hpb=c27e730a913cb5cd2fdd7ab6825b84892b832bf4;p=citadel.git 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");