diff --git a/gui.lua b/gui.lua index 7586240..9ce3de5 100644 --- a/gui.lua +++ b/gui.lua @@ -72,9 +72,9 @@ function calendar.show_calendar(player_name, settings, wanted_months, wanted_yea caption = calendar._translate(caption_format[2], caption_format[1], unpack(args)) else if settings.ordinal then - caption = S("Month @1, year @2", wanted_dmonths, wanted_dyears) + caption = S("@1, year @2", calendar.month_names[wanted_months+1], wanted_dyears) else - caption = S("@1 months, @2 years", wanted_dmonths, wanted_dyears) + caption = S("@1, @2 years", calendar.month_names[wanted_months+1], wanted_dyears) end end if caption ~= "" then