mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-02 07:21:07 +00:00
Merge pull request #1265 from akortunov/develop
Use "sLevel" GMST instead of hardcoded text in load game menu
This commit is contained in:
commit
fc56fc0b81
@ -7,6 +7,7 @@
|
|||||||
#include <MyGUI_ImageBox.h>
|
#include <MyGUI_ImageBox.h>
|
||||||
#include <MyGUI_ListBox.h>
|
#include <MyGUI_ListBox.h>
|
||||||
#include <MyGUI_InputManager.h>
|
#include <MyGUI_InputManager.h>
|
||||||
|
#include <MyGUI_LanguageManager.h>
|
||||||
|
|
||||||
#include <osgDB/ReadFile>
|
#include <osgDB/ReadFile>
|
||||||
#include <osg/Texture2D>
|
#include <osg/Texture2D>
|
||||||
@ -168,9 +169,9 @@ namespace MWGui
|
|||||||
className = "?"; // From an older savegame format that did not support custom classes properly.
|
className = "?"; // From an older savegame format that did not support custom classes properly.
|
||||||
}
|
}
|
||||||
|
|
||||||
title << " (Level " << it->getSignature().mPlayerLevel << " " << className << ")";
|
title << " (#{sLevel} " << it->getSignature().mPlayerLevel << " " << MyGUI::TextIterator::toTagsString(className) << ")";
|
||||||
|
|
||||||
mCharacterSelection->addItem (title.str());
|
mCharacterSelection->addItem (MyGUI::LanguageManager::getInstance().replaceTags(title.str()));
|
||||||
|
|
||||||
if (mCurrentCharacter == &*it ||
|
if (mCurrentCharacter == &*it ||
|
||||||
(!mCurrentCharacter && !mSaving && directory==Misc::StringUtils::lowerCase (
|
(!mCurrentCharacter && !mSaving && directory==Misc::StringUtils::lowerCase (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user