diff options
| author | Michael <[email protected]> | 2017-02-18 10:37:11 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-18 10:37:11 -0500 |
| commit | 9b8d5861a954610713ae66a53d2ac067991d9b68 (patch) | |
| tree | e550f758e52ec8ca12357d91c9fa13907e70c4f3 /ShiftOS_TheReturn/Infobox.cs | |
| parent | 30823a0778614d0f9fd6f82b5d9eb03aab41280d (diff) | |
| download | shiftos_thereturn-9b8d5861a954610713ae66a53d2ac067991d9b68.tar.gz shiftos_thereturn-9b8d5861a954610713ae66a53d2ac067991d9b68.tar.bz2 shiftos_thereturn-9b8d5861a954610713ae66a53d2ac067991d9b68.zip | |
WHOA LUA STUFF :dancer:
Diffstat (limited to 'ShiftOS_TheReturn/Infobox.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Infobox.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Infobox.cs b/ShiftOS_TheReturn/Infobox.cs index 8854b88..3e8fa30 100644 --- a/ShiftOS_TheReturn/Infobox.cs +++ b/ShiftOS_TheReturn/Infobox.cs @@ -57,16 +57,22 @@ namespace ShiftOS.Engine /// <param name="message">Infobox message</param> public static void Show(string title, string message) { + title = Localization.Parse(title); + message = Localization.Parse(message); _infobox.Open(title, message); } public static void PromptText(string title, string message, Action<string> callback) { + title = Localization.Parse(title); + message = Localization.Parse(message); _infobox.PromptText(title, message, callback); } public static void PromptYesNo(string title, string message, Action<bool> callback) { + title = Localization.Parse(title); + message = Localization.Parse(message); _infobox.PromptYesNo(title, message, callback); } |
