diff --git a/src/C4Game.cpp b/src/C4Game.cpp index 16051631..95cf2fef 100644 --- a/src/C4Game.cpp +++ b/src/C4Game.cpp @@ -2409,7 +2409,7 @@ bool C4Game::InitGame(C4Group &hGroup, C4ScenarioSection *section, bool fLoadSky auto group = std::make_unique(); if (!group->Open(def.getFile())) { - LogFatal(C4ResStrTableKey::IDS_ERR_OPENRES, def.getFile(), group->GetError()); + LogFatal(C4ResStrTableKey::IDS_ERR_LOAD_OPENRES, def.getFile(), group->GetError()); return false; } diff --git a/src/C4GraphicsSystem.cpp b/src/C4GraphicsSystem.cpp index 6e6703cc..c49bfe06 100644 --- a/src/C4GraphicsSystem.cpp +++ b/src/C4GraphicsSystem.cpp @@ -518,7 +518,7 @@ bool C4GraphicsSystem::SaveScreenshot(bool fSaveAll) } else { - Log(C4ResStrTableKey::IDS_PRC_SCREENSHOTERR, Config.AtExeRelativePath(Config.AtScreenshotPath(szFilename))); + Log(C4ResStrTableKey::IDS_PRC_SCREENSHOTERROR, Config.AtExeRelativePath(Config.AtScreenshotPath(szFilename))); } // return success diff --git a/src/C4ResStrTable.txt b/src/C4ResStrTable.txt index ef0b15c0..2921f4a3 100644 --- a/src/C4ResStrTable.txt +++ b/src/C4ResStrTable.txt @@ -447,6 +447,7 @@ IDS_ERR_JOINPLR_NOFILE=1 IDS_ERR_JOINPLR_NOLOCALCLIENT=2 IDS_ERR_JOINQUEUEPLRS=1 IDS_ERR_LEAGUEERRORREPORTINGUNEXP=1 +IDS_ERR_LOAD_OPENRES=2 IDS_ERR_LOAD_PARAMETERS=0 IDS_ERR_LOAD_PLRINFO=1 IDS_ERR_LOAD_RECR_NOEXTRACT=2 @@ -466,7 +467,6 @@ IDS_ERR_NORECORD=0 IDS_ERR_NOTCONNECTEDTOSERVER=0 IDS_ERR_NOTONACHANNEL=0 IDS_ERR_OPENFILE=2 -IDS_ERR_OPENRES=2 IDS_ERR_PLAYERSTOOLONG=1 IDS_ERR_PLEASESELECTAFILEFIRST=0 IDS_ERR_PLRNAME_EMPTY=0 @@ -1021,7 +1021,7 @@ IDS_PRC_RESUMEREMOVEPLRS=1 IDS_PRC_SAVEPLR=1 IDS_PRC_SCEOWNDEFS=0 IDS_PRC_SCREENSHOT=1 -IDS_PRC_SCREENSHOTERR=1 +IDS_PRC_SCREENSHOTERROR=1 IDS_PRC_START=0 IDS_PRC_STARTABORTED=0 IDS_PRC_SYNCPLRS=0