Fix RTL glitch

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-04-25 14:07:45 +00:00
parent 0c792a7f15
commit 1cb64e3bbf

View File

@@ -46,10 +46,12 @@ AddDeviceDialog::AddDeviceDialog() : ModalDialog(0.90f, 0.80f)
core::rect<s32> text_area( 15, 15, m_area.getWidth()-15, y_bottom-15 );
IGUIStaticText* b = GUIEngine::getGUIEnv()->addStaticText( _("To add a new Gamepad/Joystick device, simply start SuperTuxKart with it connected and it will appear in the list.\n\nTo add a keyboard config, you can use the button below, HOWEVER please note that most keyboards only support a limited amount of simultaneous keypresses and are thus inappropriate for multiplayer gameplay. (You can, however, connect multiple keyboards to the computer. Remember that everyone still needs different keybindings in this case.)"),
core::stringw msg = _("To add a new Gamepad/Joystick device, simply start SuperTuxKart with it connected and it will appear in the list.\n\nTo add a keyboard config, you can use the button below, HOWEVER please note that most keyboards only support a limited amount of simultaneous keypresses and are thus inappropriate for multiplayer gameplay. (You can, however, connect multiple keyboards to the computer. Remember that everyone still needs different keybindings in this case.)");
IGUIStaticText* b = GUIEngine::getGUIEnv()->addStaticText(msg,
text_area, false , true , // border, word warp
m_irrlicht_window);
b->setTabStop(false);
b->setRightToLeft(translations->isRTLLanguage());
{