Expose SafeCommand confirmation string to language.

This commit is contained in:
John Palomo Jr 2016-02-14 05:09:49 -05:00 committed by Christoph Oelckers
parent c557c463e4
commit 92697659be
2 changed files with 3 additions and 2 deletions

View file

@ -121,7 +121,8 @@ public:
bool Activate()
{
M_StartMessage("Do you really want to do this?", 0);
const char *msg = GStrings("SAFEMESSAGE");
if (msg) M_StartMessage(msg, 0);
return true;
}
};

View file

@ -2324,7 +2324,7 @@ OPTSTR_OPENAL = "OpenAL";
SAFEMESSAGE = "Do you really want to do this?";
MNU_COLORPICKER = "SELECT COLOR";