Adding RTL support for welcome.
Patch by Baruch Rutman.
CORE-7123 #resolve #comment Committed in revision 59056.
svn path=/trunk/; revision=59056
// IDS_CHECKTEXT "הראה חלון זה שוב"
// IDS_CLOSETEXT "יציאה"
END
-/* The topic pane needs to be in the right side because Hebrew is written in opposite of english */
/* Topic buttons */
STRINGTABLE DISCARDABLE
#include <winuser.h>
#include <reactos/version.h>
#include <tchar.h>
+#include <winnls.h>
#include "resource.h"
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpszCmdLine);
+ switch (GetUserDefaultUILanguage())
+ {
+ case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
+ SetProcessDefaultLayout(LAYOUT_RTL);
+ break;
+
+ default:
+ break;
+ }
+
hInstance = hInst;
/* Load icons */