From 9b9e36886c0b0d135a1640418566dca43ce16d96 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 15 Oct 2012 14:37:59 -0700 Subject: Forgot to localize names of months and weekdays We marked the strings for translation, but then didn't actually call the translation function on them. Our dates are still not truely localized as we have hand written code for the date / time handling that constructs the dates according to US fashion as [Weekday], [Month] [Day of Month], [Year] [hh:mm] Signed-off-by: Dirk Hohndel --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index cdf95638a..3f43f4561 100644 --- a/main.c +++ b/main.c @@ -36,7 +36,7 @@ const char *weekday(int wday) /*++GETTEXT: these are three letter days - we allow up to six code bytes */ N_("Sun"), N_("Mon"), N_("Tue"), N_("Wed"), N_("Thu"), N_("Fri"), N_("Sat") }; - return wday_array[wday]; + return _(wday_array[wday]); } const char *monthname(int mon) @@ -46,7 +46,7 @@ const char *monthname(int mon) N_("Jan"), N_("Feb"), N_("Mar"), N_("Apr"), N_("May"), N_("Jun"), N_("Jul"), N_("Aug"), N_("Sep"), N_("Oct"), N_("Nov"), N_("Dec"), }; - return month_array[mon]; + return _(month_array[mon]); } /* -- cgit v1.2.3-70-g09d2