diff --git a/data/lang/ui-core/en.json b/data/lang/ui-core/en.json index 75c62398d6..75ad23e4e7 100644 --- a/data/lang/ui-core/en.json +++ b/data/lang/ui-core/en.json @@ -505,7 +505,7 @@ }, "D_DAYS_LEFT": { "description": "", - "message": "Days left: %d" + "message": "Time left:" }, "ECONOMY_TRADE": { "description": "", diff --git a/data/pigui/modules/info-view/04-missions.lua b/data/pigui/modules/info-view/04-missions.lua index 55d5801ba1..6c258c99a5 100644 --- a/data/pigui/modules/info-view/04-missions.lua +++ b/data/pigui/modules/info-view/04-missions.lua @@ -102,7 +102,6 @@ local function makeMissionRows() end local playerSystem = Game.system or Game.player:GetHyperspaceTarget():GetStarSystem() - local days = math.max(0, (mission.due - Game.time) / (24*60*60)) -- Use AU for interplanetary, LY for interstellar distances local dist, dist_display @@ -123,7 +122,7 @@ local function makeMissionRows() mission:GetTypeDescription(), mission.client.name, locationName .. dist_display, - ui.Format.Date(mission.due) .."\n".. string.format(l.D_DAYS_LEFT, days), + ui.Format.Date(mission.due) .."\n".. l.D_DAYS_LEFT .." ".. ui.Format.Duration(mission.due - Game.time, 2), ui.Format.Money(mission.reward), }