small tweaks for translation

This commit is contained in:
dborth 2010-03-19 00:51:57 +00:00
parent 3622168167
commit a126568d04

View File

@ -2103,7 +2103,7 @@ static int MenuSettingsMappings()
trigA.SetSimpleTrigger(-1, WPAD_BUTTON_A | WPAD_CLASSIC_BUTTON_A, PAD_BUTTON_A); trigA.SetSimpleTrigger(-1, WPAD_BUTTON_A | WPAD_CLASSIC_BUTTON_A, PAD_BUTTON_A);
GuiText snesBtnTxt("SNES Controller", 22, (GXColor){0, 0, 0, 255}); GuiText snesBtnTxt("SNES Controller", 22, (GXColor){0, 0, 0, 255});
snesBtnTxt.SetWrap(true, btnLargeOutline.GetWidth()-50); snesBtnTxt.SetWrap(true, btnLargeOutline.GetWidth()-40);
GuiImage snesBtnImg(&btnLargeOutline); GuiImage snesBtnImg(&btnLargeOutline);
GuiImage snesBtnImgOver(&btnLargeOutlineOver); GuiImage snesBtnImgOver(&btnLargeOutlineOver);
GuiImage snesBtnIcon(&iconSNESController); GuiImage snesBtnIcon(&iconSNESController);
@ -2137,7 +2137,7 @@ static int MenuSettingsMappings()
superscopeBtn.SetEffectGrow(); superscopeBtn.SetEffectGrow();
GuiText mouseBtnTxt("SNES Mouse", 22, (GXColor){0, 0, 0, 255}); GuiText mouseBtnTxt("SNES Mouse", 22, (GXColor){0, 0, 0, 255});
mouseBtnTxt.SetWrap(true, btnLargeOutline.GetWidth()-70); mouseBtnTxt.SetWrap(true, btnLargeOutline.GetWidth()-55);
GuiImage mouseBtnImg(&btnLargeOutline); GuiImage mouseBtnImg(&btnLargeOutline);
GuiImage mouseBtnImgOver(&btnLargeOutlineOver); GuiImage mouseBtnImgOver(&btnLargeOutlineOver);
GuiImage mouseBtnIcon(&iconMouse); GuiImage mouseBtnIcon(&iconMouse);
@ -2546,7 +2546,7 @@ static int MenuSettingsMappingsMap()
titleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP); titleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
titleTxt.SetPosition(50,30); titleTxt.SetPosition(50,30);
sprintf(menuSubtitle, "%s - %s", ctrlName[mapMenuCtrlSNES], ctrlrName[mapMenuCtrl]); sprintf(menuSubtitle, "%s - %s", gettext(ctrlName[mapMenuCtrlSNES]), gettext(ctrlrName[mapMenuCtrl]));
GuiText subtitleTxt(menuSubtitle, 20, (GXColor){255, 255, 255, 255}); GuiText subtitleTxt(menuSubtitle, 20, (GXColor){255, 255, 255, 255});
subtitleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP); subtitleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
subtitleTxt.SetPosition(50,60); subtitleTxt.SetPosition(50,60);