From d2284bbd36ba0a7440bcf81781c585e7dd9325bb Mon Sep 17 00:00:00 2001 From: SoftCoder Date: Sat, 18 Jan 2014 16:31:01 -0800 Subject: [PATCH] - bug fix when changing language and showing hint button on game load --- source/glest_game/facilities/logger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/glest_game/facilities/logger.cpp b/source/glest_game/facilities/logger.cpp index 1a8fb84b6..24c9b5b46 100644 --- a/source/glest_game/facilities/logger.cpp +++ b/source/glest_game/facilities/logger.cpp @@ -135,6 +135,10 @@ void Logger::loadGameHints(string filePathEnglish,string filePathTranslation,boo gameHintsTranslation.load(filePathTranslation,clearList); showNextHint(); + Lang &lang = Lang::getInstance(); + buttonNextHint.setText(lang.getString("ShowNextHint","",true)); + buttonCancel.setText(lang.getString("Cancel")); + GraphicComponent::applyAllCustomProperties("Loading"); SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); }