1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:45:32 +00:00

translated journal notification

This commit is contained in:
scrawl 2012-05-01 21:49:00 +02:00
parent 53e77d4196
commit e4b057be30

View file

@ -6,6 +6,8 @@
#include "../mwgui/window_manager.hpp"
#include "../mwgui/messagebox.hpp"
#include "../mwworld/world.hpp"
namespace MWDialogue
{
Quest& Journal::getQuest (const std::string& id)
@ -38,7 +40,7 @@ namespace MWDialogue
quest.addEntry (entry, *MWBase::Environment::get().getWorld()); // we are doing slicing on purpose here
std::vector<std::string> empty;
std::string notification = "Your Journal has been updated.";
std::string notification = MWBase::Environment::get().getWorld()->getStore().gameSettings.search("sJournalEntry")->str;
MWBase::Environment::get().getWindowManager()->messageBox (notification, empty);
}