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:
1893
lang/editor_pl.po
Normal file
1893
lang/editor_pl.po
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user