1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-22 00:40:18 +01:00

Added Arabic translation.

This commit is contained in:
Muzychenko Andrey 2021-10-31 17:03:32 +03:00
parent 1428fb3770
commit 089ccbf549
5 changed files with 4 additions and 1 deletions

View file

@ -85,6 +85,7 @@ LanguageMenuEntry options::LanguageMenu[]
{L"Dansk", Languages::Danish}, {L"Dansk", Languages::Danish},
{L"Suomi", Languages::Finnish}, {L"Suomi", Languages::Finnish},
{L"עִברִית", Languages::Hebrew}, {L"עִברִית", Languages::Hebrew},
{L"اَلْعَرَبِيَّة", Languages::Arabic},
}; };
void options::ReadOptions() void options::ReadOptions()

View file

@ -19,6 +19,7 @@ enum class Languages
Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK), Danish = MAKELANGID(LANG_DANISH, SUBLANG_DANISH_DENMARK),
Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND), Finnish = MAKELANGID(LANG_FINNISH, SUBLANG_FINNISH_FINLAND),
Hebrew = MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL), Hebrew = MAKELANGID(LANG_HEBREW, SUBLANG_HEBREW_ISRAEL),
Arabic = MAKELANGID(LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA)
}; };
struct LanguageMenuEntry struct LanguageMenuEntry

View file

@ -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 715 #define Menu1_LanguageMax 716
// Next default values for new objects // Next default values for new objects
// //

View file

@ -170,6 +170,7 @@ int winmain::WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
switch (options::Options.Language) switch (options::Options.Language)
{ {
case Languages::Hebrew: case Languages::Hebrew:
case Languages::Arabic:
dwExStyle = WS_EX_LAYOUTRTL; dwExStyle = WS_EX_LAYOUTRTL;
break; break;
default: default: