Hi, Barry.
I've noticed, by the way, that official track viewer often crashes, when trying to reload just edited route - I need then to start it again.
I agree: it's time to rework track viewer, based on very old ORTS version's code.
To Chris and Looky:
Quote
a translation for decreasing daylight offset
Furthermore, orange color means, translation is not yet verified&confirmed, so it likely won't appear too.
I see, {0} mask is absent in translation currently.
Looky1173, on 24 August 2023 - 11:55 PM, said:
I managed to add a confirmation message when changing the daylight offset, but I couldn't get translations to work. I ran Update.bat in the Locales folder, which correctly added the new strings to localise in RunActivity.pot. Then, I opened the RunActivity hu.po file in Poedit, and updated it with Translation > Update from POT file. The new strings appeared as expected and I translated them to Hungarian. However, when I changed the OR language to Hungarian and ran RunActivity, the confirmation message was still in English (unlike everything else which was in Hungarian). What did I do wrong? Have I run the wrong bat files in the Locales folder, or missed to run some, or run them in the wrong order...?
You can run "update templates" first, when You don't want *.dlls to be changed, then (as it was correctly done) update *.po, using poedit, from new *.pot template, but AFTER translation and saving *.po, You NEED to run update *.dlls batch file to compile your translation into *dll-files (..\program\hu\runactivity.dll in given case will be created), which are then used by ORTS programs (runactivity in itis case) for getting translated interface strings text. Sorry for late answer.
Update.bat updates *.pot and ..\program\%language%\*.dlls simultaneously.