17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 16:19:13 +01:00

feat(editor): a switch laid with no track there, and no switch laid by a click: a press on the ground with a switch armed lays the switch there, its start where it was pressed, the direction of its main track taken from the drag once it's 4 m long and held, the drag sideways then giving the side of the diverging track, back by the start the direction free again; pressed by a free end within 5 m it goes on from that end in its direction and grade, joined to it. Its ends are left free to lay on from, styled after the track it goes on from or as the lay tool lays its tracks (editor_track::create_switch with a path_style). A press let go within 10 pixels places no switch, a slip at a crossing included, which was laid at once on the press: it's laid once dragged, its straights shown meanwhile. The hints and the panel tell of both. Selftest switchfree: Rz 60E1-300-1:9 on the ground with its four ends free, from the free end of a straight joined and walked through; a click on a straight laid none, a drag laid z1

This commit is contained in:
maj00r
2026-10-27 19:33:23 +01:00
parent 1340017be3
commit f8a12107a0
12 changed files with 342 additions and 15 deletions

View File

@@ -12315,3 +12315,54 @@ msgid_plural "The drives of %zu switches are moved to the tips of their blades"
msgstr[0] "Napęd %zu rozjazdu przestawiony na ostrza iglic"
msgstr[1] "Napędy %zu rozjazdów przestawione na ostrza iglic"
msgstr[2] "Napędy %zu rozjazdów przestawione na ostrza iglic"
msgid "Press and drag: a switch going on from this free end, sideways its side"
msgstr "Wciśnij i przeciągnij: rozjazd od tego wolnego końca, w bok jego strona"
msgid "Press and drag: a switch with no track, along the direction of its main track, then sideways its side"
msgstr "Wciśnij i przeciągnij: rozjazd bez toru, wzdłuż kierunek toru zasadniczego, potem w bok jego strona"
msgid "Drag along the main track of the switch, then sideways to the side of the diverging one"
msgstr "Przeciągnij wzdłuż toru zasadniczego rozjazdu, potem w bok na stronę toru zwrotnego"
msgid "Switch %s laid on from %s, its other ends free: lay on from them"
msgstr "Rozjazd %s ułożony od %s, pozostałe końce wolne: kładź od nich dalej"
msgid "Switch %s laid with no track, its ends free: lay on from them"
msgstr "Rozjazd %s ułożony bez toru, końce wolne: kładź od nich dalej"
msgid "Press and drag: this double slip is replaced by the one chosen"
msgstr "Wciśnij i przeciągnij: ten rozjazd krzyżowy zostanie zastąpiony wybranym"
msgid "Press and drag: it goes here"
msgstr "Wciśnij i przeciągnij: stanie tutaj"
msgid "Press+drag at a crossing"
msgstr "Wciśnij i przeciągnij na skrzyżowaniu"
msgid "of two straights"
msgstr "dwóch prostych"
msgid "Press+drag on the ground"
msgstr "Wciśnij i przeciągnij na terenie"
msgid "a switch with no track, on from a free end near it"
msgstr "rozjazd bez toru, od pobliskiego wolnego końca"
msgid "the direction of the main track, held from 4 m on"
msgstr "kierunek toru zasadniczego, od 4 m zatrzaśnięty"
msgid "Back to the start"
msgstr "Z powrotem do początku"
msgid "the direction free again"
msgstr "kierunek znów wolny"
msgid "Drag at a crossing"
msgstr "Przeciągnij na skrzyżowaniu"
msgid "Drag at a crossing of two straights"
msgstr "Przeciągnij na skrzyżowaniu dwóch prostych"
msgid "Drag at a crossing of two straights, on the side of the tracks to join"
msgstr "Przeciągnij na skrzyżowaniu dwóch prostych, po stronie torów do połączenia"