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

feat(editor): Polish translation of the track editor, loaded from lang/editor_<lang>.po next to the simulator translation

This commit is contained in:
maj00r
2026-10-05 01:21:11 +02:00
parent b07050fa52
commit 220fd0f37e
2 changed files with 1898 additions and 0 deletions

1893
lang/editor_pl.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -30,6 +30,11 @@ void locale::init()
while (parse_translation(stream));
// texts of the scenery editor, kept apart from the translation of the simulator
std::fstream editor("lang/editor_" + Global.asLang + ".po", std::ios_base::in | std::ios_base::binary);
if (editor.is_open())
while (parse_translation(editor));
WriteLog("translation: " + std::to_string(lang_mapping.size()) + " strings loaded");
}