summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-22 22:44:56 +0000
committerrubidium <rubidium@openttd.org>2009-07-22 22:44:56 +0000
commit9980af289835021ef605f9f452d1f289145c6314 (patch)
tree9323d8321200ad88360bed0848859f31ba8143b4 /src/build_vehicle_gui.cpp
parent2962d8f0fc12699e2e952128c8f85b297c79e6b8 (diff)
downloadopenttd-9980af289835021ef605f9f452d1f289145c6314.tar.xz
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r--src/build_vehicle_gui.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index 6213f884d..d65d96b13 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -354,49 +354,49 @@ static EngList_SortTypeFunction * const _sorter[][10] = {{
static const StringID _sort_listing[][11] = {{
/* Trains */
- STR_ENGINE_SORT_ENGINE_ID,
- STR_ENGINE_SORT_COST,
+ STR_SORT_BY_ENGINE_ID,
+ STR_SORT_BY_COST,
STR_SORT_BY_MAX_SPEED,
- STR_ENGINE_SORT_POWER,
- STR_ENGINE_SORT_INTRO_DATE,
+ STR_SORT_BY_POWER,
+ STR_SORT_BY_INTRO_DATE,
STR_SORT_BY_DROPDOWN_NAME,
- STR_ENGINE_SORT_RUNNING_COST,
- STR_ENGINE_SORT_POWER_VS_RUNNING_COST,
+ STR_SORT_BY_RUNNING_COST,
+ STR_SORT_BY_POWER_VS_RUNNING_COST,
STR_SORT_BY_RELIABILITY,
- STR_ENGINE_SORT_CARGO_CAPACITY,
+ STR_SORT_BY_CARGO_CAPACITY,
INVALID_STRING_ID
}, {
/* Road vehicles */
- STR_ENGINE_SORT_ENGINE_ID,
- STR_ENGINE_SORT_COST,
+ STR_SORT_BY_ENGINE_ID,
+ STR_SORT_BY_COST,
STR_SORT_BY_MAX_SPEED,
- STR_ENGINE_SORT_INTRO_DATE,
+ STR_SORT_BY_INTRO_DATE,
STR_SORT_BY_DROPDOWN_NAME,
- STR_ENGINE_SORT_RUNNING_COST,
+ STR_SORT_BY_RUNNING_COST,
STR_SORT_BY_RELIABILITY,
- STR_ENGINE_SORT_CARGO_CAPACITY,
+ STR_SORT_BY_CARGO_CAPACITY,
INVALID_STRING_ID
}, {
/* Ships */
- STR_ENGINE_SORT_ENGINE_ID,
- STR_ENGINE_SORT_COST,
+ STR_SORT_BY_ENGINE_ID,
+ STR_SORT_BY_COST,
STR_SORT_BY_MAX_SPEED,
- STR_ENGINE_SORT_INTRO_DATE,
+ STR_SORT_BY_INTRO_DATE,
STR_SORT_BY_DROPDOWN_NAME,
- STR_ENGINE_SORT_RUNNING_COST,
+ STR_SORT_BY_RUNNING_COST,
STR_SORT_BY_RELIABILITY,
- STR_ENGINE_SORT_CARGO_CAPACITY,
+ STR_SORT_BY_CARGO_CAPACITY,
INVALID_STRING_ID
}, {
/* Aircraft */
- STR_ENGINE_SORT_ENGINE_ID,
- STR_ENGINE_SORT_COST,
+ STR_SORT_BY_ENGINE_ID,
+ STR_SORT_BY_COST,
STR_SORT_BY_MAX_SPEED,
- STR_ENGINE_SORT_INTRO_DATE,
+ STR_SORT_BY_INTRO_DATE,
STR_SORT_BY_DROPDOWN_NAME,
- STR_ENGINE_SORT_RUNNING_COST,
+ STR_SORT_BY_RUNNING_COST,
STR_SORT_BY_RELIABILITY,
- STR_ENGINE_SORT_CARGO_CAPACITY,
+ STR_SORT_BY_CARGO_CAPACITY,
INVALID_STRING_ID
}};