mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-13 06:15:36 -04:00
Expose alchemy, birthsign and book actions to l10n
This commit is contained in:
parent
0c95d62e89
commit
cc541ec0eb
@ -94,11 +94,11 @@ namespace MWGui
|
|||||||
|
|
||||||
if (Settings::gui().mControllerMenus)
|
if (Settings::gui().mControllerMenus)
|
||||||
{
|
{
|
||||||
mControllerButtons.mA = "#{sSelect}";
|
mControllerButtons.mA = "#{Interface:Select}";
|
||||||
mControllerButtons.mB = "#{Interface:Cancel}";
|
mControllerButtons.mB = "#{Interface:Cancel}";
|
||||||
mControllerButtons.mX = "#{sCreate}";
|
mControllerButtons.mX = "#{Interface:Create}";
|
||||||
mControllerButtons.mY = "#{sMagicEffects}";
|
mControllerButtons.mY = "#{Interface:MagicEffects}";
|
||||||
mControllerButtons.mR3 = "#{sInfo}";
|
mControllerButtons.mR3 = "#{Interface:Info}";
|
||||||
}
|
}
|
||||||
|
|
||||||
center();
|
center();
|
||||||
|
@ -60,9 +60,9 @@ namespace MWGui
|
|||||||
|
|
||||||
if (Settings::gui().mControllerMenus)
|
if (Settings::gui().mControllerMenus)
|
||||||
{
|
{
|
||||||
mControllerButtons.mLStick = "#{sMouse}";
|
mControllerButtons.mLStick = "#{Interface:Mouse}";
|
||||||
mControllerButtons.mA = "#{sSelect}";
|
mControllerButtons.mA = "#{Interface:Select}";
|
||||||
mControllerButtons.mB = "#{sBack}";
|
mControllerButtons.mB = "#{Interface:Back}";
|
||||||
}
|
}
|
||||||
|
|
||||||
updateBirths();
|
updateBirths();
|
||||||
@ -78,13 +78,13 @@ namespace MWGui
|
|||||||
{
|
{
|
||||||
okButton->setCaption(
|
okButton->setCaption(
|
||||||
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sNext", {})));
|
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sNext", {})));
|
||||||
mControllerButtons.mX = "#{sNext}";
|
mControllerButtons.mX = "#{Interface:Next}";
|
||||||
}
|
}
|
||||||
else if (Settings::gui().mControllerMenus)
|
else if (Settings::gui().mControllerMenus)
|
||||||
{
|
{
|
||||||
okButton->setCaption(
|
okButton->setCaption(
|
||||||
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sDone", {})));
|
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sDone", {})));
|
||||||
mControllerButtons.mX = "#{sDone}";
|
mControllerButtons.mX = "#{Interface:Done}";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
okButton->setCaption(
|
okButton->setCaption(
|
||||||
|
@ -66,8 +66,8 @@ namespace MWGui
|
|||||||
MyGUI::IntCoord(0, 0, (64 - 7) * scale, mNextPageButton->getSize().height * scale));
|
MyGUI::IntCoord(0, 0, (64 - 7) * scale, mNextPageButton->getSize().height * scale));
|
||||||
}
|
}
|
||||||
|
|
||||||
mControllerButtons.mL1 = "#{sPrev}";
|
mControllerButtons.mL1 = "#{Interface:Prev}";
|
||||||
mControllerButtons.mR1 = "#{sNext}";
|
mControllerButtons.mR1 = "#{Interface:Next}";
|
||||||
mControllerButtons.mB = "#{Interface:Close}";
|
mControllerButtons.mB = "#{Interface:Close}";
|
||||||
|
|
||||||
center();
|
center();
|
||||||
@ -224,7 +224,7 @@ namespace MWGui
|
|||||||
|
|
||||||
ControllerButtons* BookWindow::getControllerButtons()
|
ControllerButtons* BookWindow::getControllerButtons()
|
||||||
{
|
{
|
||||||
mControllerButtons.mA = mTakeButton->getVisible() ? "#{sTake}" : "";
|
mControllerButtons.mA = mTakeButton->getVisible() ? "#{Interface:Take}" : {};
|
||||||
return &mControllerButtons;
|
return &mControllerButtons;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,4 +6,13 @@ OK: "sOK"
|
|||||||
Off: "sOff"
|
Off: "sOff"
|
||||||
On: "sOn"
|
On: "sOn"
|
||||||
Yes: "sYes"
|
Yes: "sYes"
|
||||||
|
Select: "sSelect"
|
||||||
|
Create: "sCreate"
|
||||||
|
MagicEffects: "sMagicEffects"
|
||||||
|
Info: "sInfo"
|
||||||
|
Next: "sNext"
|
||||||
|
Back: "sBack"
|
||||||
|
Mouse: "sMouse"
|
||||||
|
Done: "sDone"
|
||||||
|
Prev: "sPrev"
|
||||||
|
Take: "sTake"
|
||||||
|
@ -23,3 +23,13 @@ OK: "OK"
|
|||||||
Cancel: "Cancel"
|
Cancel: "Cancel"
|
||||||
Close: "Close"
|
Close: "Close"
|
||||||
Copy: "Copy"
|
Copy: "Copy"
|
||||||
|
Select: "Select"
|
||||||
|
Create: "Create"
|
||||||
|
MagicEffects: "Magic Effects"
|
||||||
|
Info: "Info"
|
||||||
|
Next: "Next"
|
||||||
|
Back: "Back"
|
||||||
|
Mouse: "Mouse"
|
||||||
|
Done: "Done"
|
||||||
|
Prev: "Prev"
|
||||||
|
Take: "Take"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user