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

fix(editor): the hectometre posts write the km at the point on a line of its own under the kilometrage of the line, the wrapped text broke the number at its comma

This commit is contained in:
maj00r
2026-10-22 14:42:42 +02:00
parent 192dfd2035
commit a217c9ba75
2 changed files with 7 additions and 3 deletions

View File

@@ -615,7 +615,8 @@ void hekto_tool::render_options()
}; };
if (false == tool.line.empty()) if (false == tool.line.empty())
{ {
ImGui::TextWrapped("%s", format(STR_C("The km of line %s, as the Kilometrage tool sets them, its jumps too: km %s at the point"), tool.line.c_str(), kilometrage::text(tool.km).c_str()).c_str()); ImGui::TextWrapped("%s", format(STR_C("The km of line %s, as the Kilometrage tool sets them, its jumps too"), tool.line.c_str()).c_str());
ImGui::TextDisabled("%s", format(STR_C("km %s at the point"), kilometrage::text(tool.km).c_str()).c_str());
if (ImGui::SmallButton(STR_C("Give the km here instead"))) if (ImGui::SmallButton(STR_C("Give the km here instead")))
{ {
tool.own_km = true; tool.own_km = true;

View File

@@ -10786,8 +10786,11 @@ msgstr "%s, z kilometrażu linii %s"
msgid "The km of the middle of the station, as the Kilometrage tool sets them for the line, the jumps too: the block signals of the lines are numbered after them" msgid "The km of the middle of the station, as the Kilometrage tool sets them for the line, the jumps too: the block signals of the lines are numbered after them"
msgstr "Kilometr środka stacji z kilometrażu linii ustalonego w narzędziu Kilometraż, z uskokami: według niego numeruje się semafory SBL" msgstr "Kilometr środka stacji z kilometrażu linii ustalonego w narzędziu Kilometraż, z uskokami: według niego numeruje się semafory SBL"
msgid "The km of line %s, as the Kilometrage tool sets them, its jumps too: km %s at the point" msgid "The km of line %s, as the Kilometrage tool sets them, its jumps too"
msgstr "Kilometraż linii %s z narzędzia Kilometraż, razem z uskokami: km %s w punkcie" msgstr "Kilometraż linii %s z narzędzia Kilometraż, razem z uskokami"
msgid "km %s at the point"
msgstr "km %s w punkcie"
msgid "Give the km here instead" msgid "Give the km here instead"
msgstr "Podaj kilometr tutaj" msgstr "Podaj kilometr tutaj"