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)
|
||||
{
|
||||
mControllerButtons.mA = "#{sSelect}";
|
||||
mControllerButtons.mA = "#{Interface:Select}";
|
||||
mControllerButtons.mB = "#{Interface:Cancel}";
|
||||
mControllerButtons.mX = "#{sCreate}";
|
||||
mControllerButtons.mY = "#{sMagicEffects}";
|
||||
mControllerButtons.mR3 = "#{sInfo}";
|
||||
mControllerButtons.mX = "#{Interface:Create}";
|
||||
mControllerButtons.mY = "#{Interface:MagicEffects}";
|
||||
mControllerButtons.mR3 = "#{Interface:Info}";
|
||||
}
|
||||
|
||||
center();
|
||||
|
@ -60,9 +60,9 @@ namespace MWGui
|
||||
|
||||
if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
mControllerButtons.mLStick = "#{sMouse}";
|
||||
mControllerButtons.mA = "#{sSelect}";
|
||||
mControllerButtons.mB = "#{sBack}";
|
||||
mControllerButtons.mLStick = "#{Interface:Mouse}";
|
||||
mControllerButtons.mA = "#{Interface:Select}";
|
||||
mControllerButtons.mB = "#{Interface:Back}";
|
||||
}
|
||||
|
||||
updateBirths();
|
||||
@ -78,13 +78,13 @@ namespace MWGui
|
||||
{
|
||||
okButton->setCaption(
|
||||
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sNext", {})));
|
||||
mControllerButtons.mX = "#{sNext}";
|
||||
mControllerButtons.mX = "#{Interface:Next}";
|
||||
}
|
||||
else if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
okButton->setCaption(
|
||||
MyGUI::UString(MWBase::Environment::get().getWindowManager()->getGameSettingString("sDone", {})));
|
||||
mControllerButtons.mX = "#{sDone}";
|
||||
mControllerButtons.mX = "#{Interface:Done}";
|
||||
}
|
||||
else
|
||||
okButton->setCaption(
|
||||
|
@ -66,8 +66,8 @@ namespace MWGui
|
||||
MyGUI::IntCoord(0, 0, (64 - 7) * scale, mNextPageButton->getSize().height * scale));
|
||||
}
|
||||
|
||||
mControllerButtons.mL1 = "#{sPrev}";
|
||||
mControllerButtons.mR1 = "#{sNext}";
|
||||
mControllerButtons.mL1 = "#{Interface:Prev}";
|
||||
mControllerButtons.mR1 = "#{Interface:Next}";
|
||||
mControllerButtons.mB = "#{Interface:Close}";
|
||||
|
||||
center();
|
||||
@ -224,7 +224,7 @@ namespace MWGui
|
||||
|
||||
ControllerButtons* BookWindow::getControllerButtons()
|
||||
{
|
||||
mControllerButtons.mA = mTakeButton->getVisible() ? "#{sTake}" : "";
|
||||
mControllerButtons.mA = mTakeButton->getVisible() ? "#{Interface:Take}" : {};
|
||||
return &mControllerButtons;
|
||||
}
|
||||
|
||||
|
@ -6,4 +6,13 @@ OK: "sOK"
|
||||
Off: "sOff"
|
||||
On: "sOn"
|
||||
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"
|
||||
Close: "Close"
|
||||
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