mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-20 16:14:52 +02:00
feat(editor): switch templates for the rail of the selected track, their names translated, shorter hints
- the template list shows the templates of the rail the selected track is laid with (railprofile s60/uic60: 60E1, s49: 49E1, s42: S42), a box shows them all - the words of the catalogue names are translated (movable nose, long, gauge, blades outside), the kind of a slip or a crossing its type says already is left out - shorter hints of the switch tool, of More and of the missing drives
This commit is contained in:
@@ -289,7 +289,7 @@ bool editor_mode::render_switch_drive_choice()
|
||||
scan_switch_drives();
|
||||
if (tool.drives.empty())
|
||||
{
|
||||
ImGui::TextDisabled("%s", STR_C("No switch drive models in the scenery data"));
|
||||
ImGui::TextDisabled("%s", STR_C("No switch drive models"));
|
||||
return false;
|
||||
}
|
||||
auto const label = [&](int const Index) { return Index < 0 ? std::string{STR_C("no drive")} : tool.drives[Index].name; };
|
||||
|
||||
Reference in New Issue
Block a user