diff options
author | Patric Stout <truebrain@openttd.org> | 2020-12-15 10:36:19 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2020-12-15 21:18:03 +0100 |
commit | f7b8e7e46c4864f518d7455c80946938e29077ba (patch) | |
tree | 3ba0353879b74282b823c719a0a191d96954401b | |
parent | ca65f19b03f28bd6a2283d740ca6ae449bdc01e7 (diff) | |
download | openttd-f7b8e7e46c4864f518d7455c80946938e29077ba.tar.xz |
Fix: prefix the Nth vehicle with "#" when ungrouped
This is for consistency; most other objects add a # to indicate
it is the Nth of that object, except for Trains / RVs / Ships /
Aircrafts.
This becomes painfully apparent with unnamed vehicles in groups,
which do get a "#".
-rw-r--r-- | regression/regression/result.txt | 2 | ||||
-rw-r--r-- | src/lang/english.txt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/regression/regression/result.txt b/regression/regression/result.txt index ab441256d..9ae029932 100644 --- a/regression/regression/result.txt +++ b/regression/regression/result.txt @@ -9075,7 +9075,7 @@ ERROR: IsEnd() is invalid as Begin() is never called --Accounting-- GetCosts(): -5947 Should be: -5947 - GetName(): Road Vehicle 1 + GetName(): Road Vehicle #1 SetName(): true GetName(): MyVehicleName CloneVehicle(): 13 diff --git a/src/lang/english.txt b/src/lang/english.txt index f08272d37..d3cf0de96 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -4732,10 +4732,10 @@ STR_INDUSTRY_NAME_SUGAR_MINE :Sugar Mine ##id 0x6000 STR_SV_EMPTY : STR_SV_UNNAMED :Unnamed -STR_SV_TRAIN_NAME :Train {COMMA} -STR_SV_ROAD_VEHICLE_NAME :Road Vehicle {COMMA} -STR_SV_SHIP_NAME :Ship {COMMA} -STR_SV_AIRCRAFT_NAME :Aircraft {COMMA} +STR_SV_TRAIN_NAME :Train #{COMMA} +STR_SV_ROAD_VEHICLE_NAME :Road Vehicle #{COMMA} +STR_SV_SHIP_NAME :Ship #{COMMA} +STR_SV_AIRCRAFT_NAME :Aircraft #{COMMA} STR_SV_STNAME :{STRING1} STR_SV_STNAME_NORTH :{STRING1} North |