mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-15 17:46:37 +00:00
Use l10n for journal gamepad actions
This commit is contained in:
parent
1dbd5fd571
commit
cac8d59db9
7 changed files with 24 additions and 5 deletions
|
@ -226,7 +226,7 @@ namespace
|
||||||
|
|
||||||
mControllerButtons.mA = "#{Interface:Select}";
|
mControllerButtons.mA = "#{Interface:Select}";
|
||||||
mControllerButtons.mX = "#{OMWEngine:JournalQuests}";
|
mControllerButtons.mX = "#{OMWEngine:JournalQuests}";
|
||||||
mControllerButtons.mY = "#{sTopics}";
|
mControllerButtons.mY = "#{Interface:Topics}";
|
||||||
|
|
||||||
mQuestMode = false;
|
mQuestMode = false;
|
||||||
mAllQuests = false;
|
mAllQuests = false;
|
||||||
|
@ -696,10 +696,23 @@ namespace
|
||||||
|
|
||||||
MWGui::ControllerButtons* getControllerButtons() override
|
MWGui::ControllerButtons* getControllerButtons() override
|
||||||
{
|
{
|
||||||
mControllerButtons.mB = mOptionsMode || mStates.size() > 1 ? "#{sBack}" : "#{Interface:Close}";
|
if (mOptionsMode || mStates.size() > 1)
|
||||||
mControllerButtons.mL1 = mOptionsMode ? "" : "#{sPrev}";
|
mControllerButtons.mB = "#{Interface:Back}";
|
||||||
mControllerButtons.mR1 = mOptionsMode ? "" : "#{sNext}";
|
else
|
||||||
mControllerButtons.mR3 = mOptionsMode && mQuestMode ? "#{OMWEngine:JournalShowAll}" : "";
|
mControllerButtons.mB = "#{Interface:Close}";
|
||||||
|
|
||||||
|
mControllerButtons.mL1.clear();
|
||||||
|
mControllerButtons.mR1.clear();
|
||||||
|
mControllerButtons.mR3.clear();
|
||||||
|
if (!mOptionsMode)
|
||||||
|
{
|
||||||
|
mControllerButtons.mL1 = "#{Interface:Prev}";
|
||||||
|
mControllerButtons.mR1 = "#{Interface:Next}";
|
||||||
|
}
|
||||||
|
else if (mQuestMode)
|
||||||
|
{
|
||||||
|
mControllerButtons.mR3 = "#{OMWEngine:JournalShowAll}";
|
||||||
|
}
|
||||||
return &mControllerButtons;
|
return &mControllerButtons;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,4 +24,5 @@ Select: "sSelect"
|
||||||
Soul: "sSoulGem"
|
Soul: "sSoulGem"
|
||||||
Take: "sTake"
|
Take: "sTake"
|
||||||
TakeAll: "sTakeAll"
|
TakeAll: "sTakeAll"
|
||||||
|
Topics: "sTopics"
|
||||||
Yes: "sYes"
|
Yes: "sYes"
|
||||||
|
|
|
@ -50,4 +50,5 @@ Select: "Auswählen"
|
||||||
Soul: "Seele"
|
Soul: "Seele"
|
||||||
Take: "Nehmen"
|
Take: "Nehmen"
|
||||||
TakeAll: "Alles nehmen"
|
TakeAll: "Alles nehmen"
|
||||||
|
Topics: "Themen"
|
||||||
Yes: "Ja"
|
Yes: "Ja"
|
||||||
|
|
|
@ -41,4 +41,5 @@ Select: "Select"
|
||||||
Soul: "Soul"
|
Soul: "Soul"
|
||||||
Take: "Take"
|
Take: "Take"
|
||||||
TakeAll: "Take All"
|
TakeAll: "Take All"
|
||||||
|
Topics: "Topics"
|
||||||
Yes: "Yes"
|
Yes: "Yes"
|
||||||
|
|
|
@ -41,4 +41,5 @@ Select: "Sélectionner"
|
||||||
Soul: "Ame"
|
Soul: "Ame"
|
||||||
Take: "Prendre"
|
Take: "Prendre"
|
||||||
TakeAll: "Tout prendre"
|
TakeAll: "Tout prendre"
|
||||||
|
Topics: "Sujets"
|
||||||
Yes: "Oui"
|
Yes: "Oui"
|
||||||
|
|
|
@ -39,4 +39,5 @@ Select: "Wybierz"
|
||||||
Soul: "Dusza"
|
Soul: "Dusza"
|
||||||
Take: "Weź"
|
Take: "Weź"
|
||||||
TakeAll: "Weź wszystko"
|
TakeAll: "Weź wszystko"
|
||||||
|
Topics: "Tematy"
|
||||||
Yes: "Tak"
|
Yes: "Tak"
|
||||||
|
|
|
@ -38,4 +38,5 @@ Select: "Выбрать"
|
||||||
Soul: "Душа"
|
Soul: "Душа"
|
||||||
Take: "Взять"
|
Take: "Взять"
|
||||||
TakeAll: "Взять все"
|
TakeAll: "Взять все"
|
||||||
|
Topics: "Темы"
|
||||||
Yes: "Да"
|
Yes: "Да"
|
||||||
|
|
Loading…
Reference in a new issue