mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-14 22:08:04 +01:00
Added incomplete Polish translation.
Removed unused dialogs. Fixed char sprintf in control. Ref #28.
This commit is contained in:
parent
d0c1ac60b6
commit
a65c40fe32
5 changed files with 4 additions and 2 deletions
Binary file not shown.
|
@ -3912,7 +3912,7 @@ void control::SelectMissionController(int code, TPinballComponent* caller)
|
||||||
if (light_on(&control_lite56_tag))
|
if (light_on(&control_lite56_tag))
|
||||||
{
|
{
|
||||||
auto missionText = pinball::
|
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);
|
wsprintfW(Buffer, pinball::get_rc_Wstring(106, 0), missionText);
|
||||||
control_mission_text_box_tag.Component->Display(Buffer, -1.0);
|
control_mission_text_box_tag.Component->Display(Buffer, -1.0);
|
||||||
if (light_on(&control_lite318_tag))
|
if (light_on(&control_lite318_tag))
|
||||||
|
|
|
@ -74,6 +74,7 @@ LanguageMenuEntry options::LanguageMenu[]
|
||||||
{L"Русский", Languages::Russian},
|
{L"Русский", Languages::Russian},
|
||||||
{L"简化字", Languages::SimplifiedChinese},
|
{L"简化字", Languages::SimplifiedChinese},
|
||||||
{L"正體字", Languages::TraditionalChinese},
|
{L"正體字", Languages::TraditionalChinese},
|
||||||
|
{L"Polski", Languages::Polish},
|
||||||
};
|
};
|
||||||
|
|
||||||
void options::ReadOptions()
|
void options::ReadOptions()
|
||||||
|
|
|
@ -8,6 +8,7 @@ enum class Languages
|
||||||
Russian = MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT),
|
Russian = MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT),
|
||||||
TraditionalChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL),
|
TraditionalChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL),
|
||||||
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
|
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
|
||||||
|
Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND),
|
||||||
};
|
};
|
||||||
|
|
||||||
struct LanguageMenuEntry
|
struct LanguageMenuEntry
|
||||||
|
|
|
@ -242,7 +242,7 @@
|
||||||
#define DLG_HIGHSCORES_EditName5 605
|
#define DLG_HIGHSCORES_EditName5 605
|
||||||
#define Menu1_AlternativeRender 601
|
#define Menu1_AlternativeRender 601
|
||||||
#define Menu1_Language 700
|
#define Menu1_Language 700
|
||||||
#define Menu1_LanguageMax 704
|
#define Menu1_LanguageMax 705
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue