From 92697659befc2c332963cad8339ba741fc77690e Mon Sep 17 00:00:00 2001 From: John Palomo Jr Date: Sun, 14 Feb 2016 05:09:49 -0500 Subject: [PATCH] Expose SafeCommand confirmation string to language. --- src/menu/optionmenuitems.h | 3 ++- wadsrc/static/language.enu | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/menu/optionmenuitems.h b/src/menu/optionmenuitems.h index 796e88c17..b4d54fd89 100644 --- a/src/menu/optionmenuitems.h +++ b/src/menu/optionmenuitems.h @@ -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; } }; diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index 06347beb9..1fbf83b08 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -2324,7 +2324,7 @@ OPTSTR_OPENAL = "OpenAL"; - +SAFEMESSAGE = "Do you really want to do this?"; MNU_COLORPICKER = "SELECT COLOR";