mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 18:14:13 +00:00
Temporary fix for broken Objective dialog formatting (f866039e813b539)
This commit is contained in:
parent
307192c147
commit
ae6b8f97f2
@ -69,8 +69,7 @@ local function generate_objectives(cfg)
|
||||
if turn_limit >= current_turn then
|
||||
local turn_count = turn_limit - current_turn + 1
|
||||
turn_counter = _("(this turn left)", "(%d turns left)", turn_count)
|
||||
turn_counter = tostring(turn_counter):format(turn_count)
|
||||
turn_counter = "<span foreground='white'><small> " .. turn_counter .. "</small></span>"
|
||||
turn_counter = tostring("<span foreground='white'><small> " .. turn_counter .. "</small></span>"):format(turn_count)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user