17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 09:17:28 +01:00

feat(editor): the branch of a switch leads into the free end of a track: when the angles match the switch slides so its branch lies on the track's line, otherwise an arc of the switch radius right after the switch turns into it (with a straight between for a parallel track); works while placing a switch (drag toward the end) and when dragging from the branch end of a placed one, the track is shortened when it reaches past the branch; self-test switchlink / branchlink

This commit is contained in:
maj00r
2026-10-11 23:53:18 +02:00
parent f1a3bde00f
commit 0a73550c8d
6 changed files with 522 additions and 2 deletions

View File

@@ -5455,3 +5455,30 @@ msgstr "Zwrotnica %s: napęd %s, teraz po lewej"
msgid "Switch %s without a drive now"
msgstr "Zwrotnica %s jest teraz bez napędu"
msgid "The branch leads into %s with an R %.0f m curve"
msgstr "Odgałęzienie wchodzi w %s łukiem R %.0f m"
msgid "The branch leads straight into %s"
msgstr "Odgałęzienie wchodzi w %s prostą"
msgid ", the switch moved %.2f m"
msgstr ", rozjazd przesunięty o %.2f m"
msgid ", %s shortened %.2f m"
msgstr ", %s skrócony o %.2f m"
msgid "The branch can't lead into %s: the tracks are %.2f m too close for this switch with its curve"
msgstr "Odgałęzienie nie wejdzie w %s: tory są o %.2f m za blisko dla tego rozjazdu z łukiem"
msgid "The branch can't lead into %s"
msgstr "Odgałęzienie nie wejdzie w %s"
msgid "%s would have to be shortened by %.2f m, it's too short or not straight"
msgstr "%s trzeba by skrócić o %.2f m, a jest za krótki albo nie jest prosty"
msgid "The switch would have to move %.1f m, off the straight it stands on"
msgstr "Rozjazd musiałby się przesunąć o %.1f m, poza prostą, na której stoi"
msgid "The switch would have to move %.1f m, there's no plain track for it there"
msgstr "Rozjazd musiałby się przesunąć o %.1f m, a tam nie ma zwykłego toru"