1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-21 16:30:19 +01:00

Added incomplete Polish translation.

Removed unused dialogs.
Fixed char sprintf in control.
Ref #28.
This commit is contained in:
Muzychenko Andrey 2021-10-27 09:22:53 +03:00
parent d0c1ac60b6
commit a65c40fe32
5 changed files with 4 additions and 2 deletions

View file

@ -3912,7 +3912,7 @@ void control::SelectMissionController(int code, TPinballComponent* caller)
if (light_on(&control_lite56_tag))
{
auto missionText = pinball::
get_rc_string(MissionRcArray[control_lite56_tag.Component->MessageField - 2], 1);
get_rc_Wstring(MissionRcArray[control_lite56_tag.Component->MessageField - 2], 1);
wsprintfW(Buffer, pinball::get_rc_Wstring(106, 0), missionText);
control_mission_text_box_tag.Component->Display(Buffer, -1.0);
if (light_on(&control_lite318_tag))

View file

@ -74,6 +74,7 @@ LanguageMenuEntry options::LanguageMenu[]
{L"Русский", Languages::Russian},
{L"简化字", Languages::SimplifiedChinese},
{L"正體字", Languages::TraditionalChinese},
{L"Polski", Languages::Polish},
};
void options::ReadOptions()

View file

@ -8,6 +8,7 @@ enum class Languages
Russian = MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT),
TraditionalChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL),
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND),
};
struct LanguageMenuEntry

View file

@ -242,7 +242,7 @@
#define DLG_HIGHSCORES_EditName5 605
#define Menu1_AlternativeRender 601
#define Menu1_Language 700
#define Menu1_LanguageMax 704
#define Menu1_LanguageMax 705
// Next default values for new objects
//