You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a train has cargo from a station that was removed, its cargo window says 'cargo from an unknown destination', which is incorrect (especially when we get paxdest in trunk).
See 'unknown_destination.png'.
To fix, I added a {SRC_STATION} string expansion. This expands to the station name in its argument or to the added string STR_UNKNOWN_SOURCE
See attached patch file.
Also attached a screen shot with the fixed output.
No idea what WT2 was. Turned out to be web-translator2. Google is sooo good :)
Another solution could be to change 'unknown destination' to 'unknown station'. That has the advantage of getting rid of the idea of a direction (and also of changing the WT2 maybe).
The big down-side imho is that 'station' is quite specific. We may want to create a 'unknown waypoint' string as well (currently also user of 'unknown destination') and 'unknown roadstop' and unknown 'busstation' are around the corner (didn't verify).
Given that station is invalid, is there any hope that you can retrieve the station-type?
Alberth opened the ticket and wrote:
Attachments
Reported version: 0.6.2
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/2214
The text was updated successfully, but these errors were encountered: