mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00:00
Added incomplete Polish translation.
Removed unused dialogs. Fixed char sprintf in control. Ref #28.
This commit is contained in:
parent
d0c1ac60b6
commit
a65c40fe32
Binary file not shown.
@ -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))
|
||||
|
@ -74,6 +74,7 @@ LanguageMenuEntry options::LanguageMenu[]
|
||||
{L"Русский", Languages::Russian},
|
||||
{L"简化字", Languages::SimplifiedChinese},
|
||||
{L"正體字", Languages::TraditionalChinese},
|
||||
{L"Polski", Languages::Polish},
|
||||
};
|
||||
|
||||
void options::ReadOptions()
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user