Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedAredah committed Jul 24, 2023
1 parent 5e47fc4 commit 51c7781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/NeTrainSim/traindefinition/traintypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace TrainTypes {
/** The car type map */
static const std::map<std::string, CarType> carTypeMap = {
{"Cargo Car", CarType::cargo},
{"Fuel Tank", CarType::dieselTender},
{"Diesel Tender", CarType::dieselTender},
{"Battery Tender", CarType::batteryTender},
{"Hydrogen Tender", CarType::hydrogenFuelCell},
{"Biodiesel Tender", CarType::biodieselTender}
Expand Down Expand Up @@ -247,7 +247,7 @@ namespace TrainTypes {
"Diesel Locomotive",
"Electric Locomotive",
"Biodiesel Locomotive",
"Diesel-Electric Locomotive",
"Diesel-Battery Locomotive",
"Diesel-Hybrid Locomotive",
"Hydrogen-Hybrid Locomotive",
"Biodiesel-Hybrid Locomotive"
Expand All @@ -269,7 +269,7 @@ namespace TrainTypes {
{"Diesel Locomotive", PowerType::diesel},
{"Electric Locomotive", PowerType::electric},
{"Biodiesel Locomotive", PowerType::biodiesel},
{"Diesel-Electric Locomotive", PowerType::dieselElectric},
{"Diesel-Battery Locomotive", PowerType::dieselElectric},
{"Diesel-Hyprid Locomotive", PowerType::dieselHybrid},
{"Hydrogen-Hyprid Locomotive", PowerType::hydrogenHybrid},
{"biodiesel-Hyprid Locomotive", PowerType::biodieselHybrid}
Expand Down
4 changes: 2 additions & 2 deletions src/NeTrainSimGUI/gui/netrainsimmainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>Train Cars:</string>
<string>Train Vehicles:</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -1839,7 +1839,7 @@
<x>0</x>
<y>0</y>
<width>1318</width>
<height>25</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuNeTrainSim">
Expand Down

0 comments on commit 51c7781

Please sign in to comment.