mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-21 16:30:19 +01:00
Added Arabic translation.
This commit is contained in:
parent
1428fb3770
commit
089ccbf549
5 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -85,6 +85,7 @@ LanguageMenuEntry options::LanguageMenu[]
|
|||
{L"Dansk", Languages::Danish},
|
||||
{L"Suomi", Languages::Finnish},
|
||||
{L"עִברִית", Languages::Hebrew},
|
||||
{L"اَلْعَرَبِيَّة", Languages::Arabic},
|
||||
};
|
||||
|
||||
void options::ReadOptions()
|
||||
|
|
|
@ -19,6 +19,7 @@ enum class Languages
|
|||
Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK),
|
||||
Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND),
|
||||
Hebrew = MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL),
|
||||
Arabic = MAKELANGID(LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA)
|
||||
};
|
||||
|
||||
struct LanguageMenuEntry
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
#define DLG_HIGHSCORES_EditName5 605
|
||||
#define Menu1_AlternativeRender 601
|
||||
#define Menu1_Language 700
|
||||
#define Menu1_LanguageMax 715
|
||||
#define Menu1_LanguageMax 716
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
|
|
|
@ -170,6 +170,7 @@ int winmain::WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||
switch (options::Options.Language)
|
||||
{
|
||||
case Languages::Hebrew:
|
||||
case Languages::Arabic:
|
||||
dwExStyle = WS_EX_LAYOUTRTL;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue