17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 14:20:21 +01:00

feat(editor): a slip is selected, slid and deleted whole: any track of it picked shows all of it selected, editor_mode::slip_of finding its switches by its record, the tracks between them and its four ends. Dragged along, the slip moves along its first track with the straights out to the joints of its template and its crossing track, as far as that one goes on into tracks with their ends free, the straights of its first track before it and past it lengthened and shortened, a metre of them kept; one bent into a curve isn't slid, nor one whose crossing track is joined on beyond it. Deleted, it leaves its two tracks crossing from end to end in its place, kept in the scenery as a crossing Skrz, as a switch leaves its main track; Shift+Del takes all of it, Ctrl+Z brings it back. Selftest: a Rkp laid with its crossing track slid 5 m on and 3 m back, the joints of its template with it, walked through; deleted into a crossing Skrz 1:9 walked through, back with Ctrl+Z; a Rkpd at a crossing of straights with free ends slid 2 m, deleted into a crossing

This commit is contained in:
maj00r
2026-10-27 19:40:56 +01:00
parent 7b11db566e
commit 667e433af9
5 changed files with 383 additions and 1 deletions

View File

@@ -12432,3 +12432,15 @@ msgstr "wygięty w łuk, tylko w torze bocznym (11.4 pkt 4b)"
msgid "Rkp or Rkpd at a crossing of two straights at its skos, or bent into a curve of a side track"
msgstr "Rozjazd krzyżowy pojedynczy (Rkp) albo podwójny (Rkpd) na skrzyżowaniu dwóch prostych pod jego skosem albo wygięty w łuk toru bocznego"
msgid "The slip is replaced by its two tracks crossing, Shift+Del removes all of it"
msgstr "Rozjazd krzyżowy zastąpiony skrzyżowaniem jego dwóch torów, Shift+Del usuwa wszystko"
msgid "A slip bent into a curve isn't slid along it: delete it and lay it again"
msgstr "Rozjazdu krzyżowego wygiętego w łuk nie przesuwa się wzdłuż: usuń go i połóż od nowa"
msgid "The crossing track of the slip is joined on beyond it: the slip stays where the two tracks cross"
msgstr "Tor przecinający rozjazdu krzyżowego jest dalej połączony: rozjazd zostaje tam, gdzie tory się przecinają"
msgid "Slip %s moved %.2f m along its track, its crossing track with it"
msgstr "Rozjazd krzyżowy %s przesunięty o %.2f m wzdłuż toru, razem z torem przecinającym"