From 089ccbf5497e1ff5289d5ddf77014032687fab52 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Sun, 31 Oct 2021 17:03:32 +0300 Subject: [PATCH] Added Arabic translation. --- SpaceCadetPinball/SpaceCadetPinball.rc | Bin 512962 -> 548652 bytes SpaceCadetPinball/options.cpp | 1 + SpaceCadetPinball/options.h | 1 + SpaceCadetPinball/resource.h | 2 +- SpaceCadetPinball/winmain.cpp | 1 + 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SpaceCadetPinball/SpaceCadetPinball.rc b/SpaceCadetPinball/SpaceCadetPinball.rc index 8cc6b0fc8d24146c4969708e72d189de5c679b69..8e64eb448fc510b95ff831ec5bd988ff68bc2344 100644 GIT binary patch delta 5201 zcmeHLZD?E989w*w>L~SW)yq61)ZpG&wxlSsEcqj`vdzf)vZ6V*Nz!zTwXwTV7;LVS zwxd5n>;`w~#t2z1^?|NqO4d@wMp2m$W!!7t?p90x zwx=S)GA@qFvP{ULbVUNKlFU(T>6)`LF^ow?jLl%IB8MPblqoq1xpDl*Wp#Uu^L%43 zEe2kR#xNx=j^LqDT7`H56Vg&;!_MGlQHD3&;559=$s_Vb><=|IkFwHD;Qxy)-b`u zl~vhI=h#5IhzTG8!^E$Sz`Wl5ivTd80d++Ut+=30mHk2Be3&CfI00ehh62Y_X1`O6 z9EO>MJPcE=@TY5i&7MJZ^S5#i*u+H+R`R>bY|6l9H$^7lF~bD{Usk<+&P2F^Cvh>Z zb8=kUe03IveZ%RELn;p!>yY~lOqZGyNJJfD zCSjdYUT5-QtaS7m=5hz$NW&;Xh5^>mxV-uh3T+{@q9w3AYe z=dE&|@sadTX~Gg!bt~KFu=Rzw|s$&Lgj#JKnT^@`dWaR$7X z6H9Ap@hF!4Sy2&R!|#GPgVsqgho!%WPX(L7qu37S@xOqUD=y&MK4V6d@Toxdw5URI z4((IB$eqyJN=ekTOxc&nv>87Q6AMsq7lYo+(D0Xxt0$po7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^utfT;MAn zS8&rZZ*W{uLYwS0*-Qa>p2f^OJ@`WK%%FdF=BYUj4Q72sNm1uqu$otrmp_wE>l(W>(+BaTu|J62^DE# gTAfF6tMOesYsYq8_3il@P@Py0e9*e`QE0;c5B>s8&j0`b delta 29 lcmZ3pPw~)l`Gyw87N!>F7M2#)7Pc+yeHXX?h~Y3{0syd%3nTyl diff --git a/SpaceCadetPinball/options.cpp b/SpaceCadetPinball/options.cpp index 2c491dd..b8643b6 100644 --- a/SpaceCadetPinball/options.cpp +++ b/SpaceCadetPinball/options.cpp @@ -85,6 +85,7 @@ LanguageMenuEntry options::LanguageMenu[] {L"Dansk", Languages::Danish}, {L"Suomi", Languages::Finnish}, {L"עִברִית", Languages::Hebrew}, + {L"اَلْعَرَبِيَّة", Languages::Arabic}, }; void options::ReadOptions() diff --git a/SpaceCadetPinball/options.h b/SpaceCadetPinball/options.h index c8d9940..9b21d33 100644 --- a/SpaceCadetPinball/options.h +++ b/SpaceCadetPinball/options.h @@ -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 diff --git a/SpaceCadetPinball/resource.h b/SpaceCadetPinball/resource.h index 739a6b0..452d1db 100644 --- a/SpaceCadetPinball/resource.h +++ b/SpaceCadetPinball/resource.h @@ -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 // diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index bee1d0c..9df09c9 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -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: