In NewGamePopup.cpp and Sim.cpp, synced the default starting airports with each other, changed the default airport in English (and "Polnisch! Krank!", I love this original comment xD) to Berlin since it's spelled the same in both languages, changed the Dutch airport to Amsterdam while I'm here.
In NewGamePopup.cpp, in OnChar, deduped the whitelist check by putting it before all ifs.
In Sim.cpp, added Polish spellings of cities for New York, Rio, Tokio mission.
I want to make the Polish translation work with Polish diacritics, which requires small changes in CStdRaum::OnChar, KLACKER::PrintAt, NewGamePopup::OnChar, Options::OnChar, GerToUpper, GerToLower.
However, it requires a rewrite of the input system because currently it receives keys, not characters. To paraphrase myself from Discord: you type a character by pressing RAlt+a. The game receives SDLK_RALT, SDLK_RALT and a. In Polish keyboard, this is ą. In the international US keyboard, it's á.
In NewGamePopup.cpp and Sim.cpp, synced the default starting airports with each other, changed the default airport in English (and "Polnisch! Krank!", I love this original comment xD) to Berlin since it's spelled the same in both languages, changed the Dutch airport to Amsterdam while I'm here. In NewGamePopup.cpp, in OnChar, deduped the whitelist check by putting it before all ifs. In Sim.cpp, added Polish spellings of cities for New York, Rio, Tokio mission.
I want to make the Polish translation work with Polish diacritics, which requires small changes in CStdRaum::OnChar, KLACKER::PrintAt, NewGamePopup::OnChar, Options::OnChar, GerToUpper, GerToLower.
However, it requires a rewrite of the input system because currently it receives keys, not characters. To paraphrase myself from Discord: you type a character by pressing RAlt+a. The game receives SDLK_RALT, SDLK_RALT and a. In Polish keyboard, this is ą. In the international US keyboard, it's á.