mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-07 16:30:56 +00:00
Expose dialogue and enchanting actions to l10n
This commit is contained in:
parent
0b99fafd01
commit
d3f2607d34
4 changed files with 21 additions and 9 deletions
|
|
@ -90,7 +90,7 @@ namespace MWGui
|
|||
mBribe1000Button->eventMouseButtonClick += MyGUI::newDelegate(this, &PersuasionDialog::onPersuade);
|
||||
|
||||
mDisableGamepadCursor = Settings::gui().mControllerMenus;
|
||||
mControllerButtons.mA = "#{sSelect}";
|
||||
mControllerButtons.mA = "#{Interface:Select}";
|
||||
mControllerButtons.mB = "#{Interface:Cancel}";
|
||||
}
|
||||
|
||||
|
|
@ -387,9 +387,9 @@ namespace MWGui
|
|||
+= MyGUI::newDelegate(this, &DialogueWindow::onWindowResize);
|
||||
|
||||
mControllerScrollWidget = mHistory->getParent();
|
||||
mControllerButtons.mA = "#{sAsk}";
|
||||
mControllerButtons.mB = "#{sGoodbye}";
|
||||
mControllerButtons.mRStick = "#{sScrollup}";
|
||||
mControllerButtons.mA = "#{Interface:Ask}";
|
||||
mControllerButtons.mB = "#{Interface:Goodbye}";
|
||||
mControllerButtons.mRStick = "#{Interface:ScrollUp}";
|
||||
}
|
||||
|
||||
void DialogueWindow::onTradeComplete()
|
||||
|
|
|
|||
|
|
@ -60,11 +60,11 @@ namespace MWGui
|
|||
mTypeButton->eventMouseButtonClick += MyGUI::newDelegate(this, &EnchantingDialog::onTypeButtonClicked);
|
||||
mName->eventEditSelectAccept += MyGUI::newDelegate(this, &EnchantingDialog::onAccept);
|
||||
|
||||
mControllerButtons.mA = "#{sSelect}";
|
||||
mControllerButtons.mA = "#{Interface:Select}";
|
||||
mControllerButtons.mB = "#{Interface:Cancel}";
|
||||
mControllerButtons.mY = "#{OMWEngine:EnchantType}";
|
||||
mControllerButtons.mL1 = "#{sItem}";
|
||||
mControllerButtons.mR1 = "#{sSoulGem}";
|
||||
mControllerButtons.mL1 = "#{Interface:Item}";
|
||||
mControllerButtons.mR1 = "#{Interface:SoulGem}";
|
||||
}
|
||||
|
||||
void EnchantingDialog::onOpen()
|
||||
|
|
@ -158,7 +158,7 @@ namespace MWGui
|
|||
mEnchanting.setSelfEnchanting(false);
|
||||
mEnchanting.setEnchanter(ptr);
|
||||
mBuyButton->setCaptionWithReplacing("#{sBuy}");
|
||||
mControllerButtons.mX = "#{sBuy}";
|
||||
mControllerButtons.mX = "#{Interface:Buy}";
|
||||
mChanceLayout->setVisible(false);
|
||||
mPtr = ptr;
|
||||
setSoulGem(MWWorld::Ptr());
|
||||
|
|
@ -170,7 +170,7 @@ namespace MWGui
|
|||
mEnchanting.setSelfEnchanting(true);
|
||||
mEnchanting.setEnchanter(MWMechanics::getPlayer());
|
||||
mBuyButton->setCaptionWithReplacing("#{sCreate}");
|
||||
mControllerButtons.mX = "#{sCreate}";
|
||||
mControllerButtons.mX = "#{Interface:Create}";
|
||||
mChanceLayout->setVisible(Settings::game().mShowEnchantChance);
|
||||
mPtr = MWMechanics::getPlayer();
|
||||
setSoulGem(ptr);
|
||||
|
|
|
|||
|
|
@ -19,3 +19,9 @@ Take: "sTake"
|
|||
TakeAll: "sTakeAll"
|
||||
Inventory: "sInventory"
|
||||
DisposeOfCorpse: "sDisposeofCorpse"
|
||||
Ask: "sAsk"
|
||||
Goodbye: "sGoodbye"
|
||||
ScrollUp: "sScrollup"
|
||||
Item: "sItem"
|
||||
SoulGem: "sSoulGem"
|
||||
Buy: "sBuy"
|
||||
|
|
|
|||
|
|
@ -36,3 +36,9 @@ Take: "Take"
|
|||
TakeAll: "Take All"
|
||||
Inventory: "Inventory"
|
||||
DisposeOfCorpse: "Dispose of Corpse"
|
||||
Ask: "Ask"
|
||||
Goodbye: "Goodbye"
|
||||
ScrollUp: "Scroll Up"
|
||||
Item: "Item"
|
||||
SoulGem: "Soul Gem"
|
||||
Buy: "Buy"
|
||||
|
|
|
|||
Loading…
Reference in a new issue