mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-15 06:26:38 +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.mX = "#{OMWEngine:JournalQuests}";
|
||||
mControllerButtons.mY = "#{sTopics}";
|
||||
mControllerButtons.mY = "#{Interface:Topics}";
|
||||
|
||||
mQuestMode = false;
|
||||
mAllQuests = false;
|
||||
|
@ -696,10 +696,23 @@ namespace
|
|||
|
||||
MWGui::ControllerButtons* getControllerButtons() override
|
||||
{
|
||||
mControllerButtons.mB = mOptionsMode || mStates.size() > 1 ? "#{sBack}" : "#{Interface:Close}";
|
||||
mControllerButtons.mL1 = mOptionsMode ? "" : "#{sPrev}";
|
||||
mControllerButtons.mR1 = mOptionsMode ? "" : "#{sNext}";
|
||||
mControllerButtons.mR3 = mOptionsMode && mQuestMode ? "#{OMWEngine:JournalShowAll}" : "";
|
||||
if (mOptionsMode || mStates.size() > 1)
|
||||
mControllerButtons.mB = "#{Interface:Back}";
|
||||
else
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,4 +24,5 @@ Select: "sSelect"
|
|||
Soul: "sSoulGem"
|
||||
Take: "sTake"
|
||||
TakeAll: "sTakeAll"
|
||||
Topics: "sTopics"
|
||||
Yes: "sYes"
|
||||
|
|
|
@ -50,4 +50,5 @@ Select: "Auswählen"
|
|||
Soul: "Seele"
|
||||
Take: "Nehmen"
|
||||
TakeAll: "Alles nehmen"
|
||||
Topics: "Themen"
|
||||
Yes: "Ja"
|
||||
|
|
|
@ -41,4 +41,5 @@ Select: "Select"
|
|||
Soul: "Soul"
|
||||
Take: "Take"
|
||||
TakeAll: "Take All"
|
||||
Topics: "Topics"
|
||||
Yes: "Yes"
|
||||
|
|
|
@ -41,4 +41,5 @@ Select: "Sélectionner"
|
|||
Soul: "Ame"
|
||||
Take: "Prendre"
|
||||
TakeAll: "Tout prendre"
|
||||
Topics: "Sujets"
|
||||
Yes: "Oui"
|
||||
|
|
|
@ -39,4 +39,5 @@ Select: "Wybierz"
|
|||
Soul: "Dusza"
|
||||
Take: "Weź"
|
||||
TakeAll: "Weź wszystko"
|
||||
Topics: "Tematy"
|
||||
Yes: "Tak"
|
||||
|
|
|
@ -38,4 +38,5 @@ Select: "Выбрать"
|
|||
Soul: "Душа"
|
||||
Take: "Взять"
|
||||
TakeAll: "Взять все"
|
||||
Topics: "Темы"
|
||||
Yes: "Да"
|
||||
|
|
Loading…
Reference in a new issue