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

feat(editor): Alt while laying turns the straight to 1:9, 1:6.6... of a straight track

Besides the steps of 15 degrees, Alt snaps the laid straight to the
ratios of the switches (1:4.8 to 1:26.5) of the straight track the
straight crosses, or of one within 30 m of where it starts; the label at
the cursor says which ratio to which track. The first click with Alt
within 2 m of a straight track puts the start on its axis, so a branch
or a crossing at 1:9 starts exactly on the track.
This commit is contained in:
maj00r
2026-10-19 18:48:54 +02:00
parent 438cb4ea3a
commit 907068c69c
6 changed files with 106 additions and 17 deletions

View File

@@ -4590,14 +4590,14 @@ msgstr "K: podziel tutaj"
msgid "Shift+click a straight"
msgstr "Shift+LPM na prostej"
msgid "the direction in steps of 15 degrees"
msgstr "kierunek co 15 stopni"
msgid "the direction in steps of 15 degrees, or 1:9, 1:6.6... to a straight track"
msgstr "kierunek co 15 stopni albo 1:9, 1:6,6… do prostego toru"
msgid "Alt held while laying"
msgstr "Wciśnięty Alt w trakcie układania"
msgid "The direction in steps of 15 degrees"
msgstr "Kierunek co 15 stopni"
msgid "The direction in steps of 15 degrees, or 1:9, 1:6.6... to a straight track; the first click with Alt goes onto the axis of the track"
msgstr "Kierunek co 15 stopni albo 1:9, 1:6,6… do prostego toru; pierwszy klik z Altem trafia w oś toru"
msgid "Shift+LMB on a track in L"
msgstr "Shift+LPM na torze przy układaniu (L)"
@@ -5376,8 +5376,8 @@ msgstr "Promień łuku, gdy układasz dalej od końca toru"
msgid "The shape: arc then straight, straight then arc, arc, straight"
msgstr "Kształt: łuk i prosta, prosta i łuk, sam łuk, prosta"
msgid "Held: the direction turns in steps of 15 degrees"
msgstr "Trzymany: kierunek zmienia się co 15 stopni"
msgid "Held: the direction turns in steps of 15 degrees, or to 1:9, 1:6.6... to a straight track it starts by or crosses"
msgstr "Trzymany: kierunek zmienia się co 15 stopni albo na 1:9, 1:6,6… do prostego toru, przy którym się zaczyna albo który przecina"
msgid "Type the length of the next piece, Enter lays it"
msgstr "Wpisz długość następnego kawałka, Enter go układa"
@@ -9934,3 +9934,12 @@ msgstr "Klik: ten rozjazd krzyżowy zostanie zastąpiony wybranym"
msgid "Click: it goes here"
msgstr "Klik: stanie tutaj"
msgid "1:%g to %s"
msgstr "1:%g do %s"
msgid "parallel to %s"
msgstr "równolegle do %s"
msgid "%.0f deg to %s"
msgstr "%.0f° do %s"