Change gui caption

master
Wuzzy 2020-08-28 15:04:11 +02:00
parent c83e5ce1b2
commit 494f21f18f
1 changed files with 2 additions and 2 deletions

View File

@ -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