From 9980af289835021ef605f9f452d1f289145c6314 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 22 Jul 2009 22:44:56 +0000 Subject: (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. --- src/build_vehicle_gui.cpp | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/build_vehicle_gui.cpp') 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 }}; -- cgit v1.2.3-54-g00ecf