From 2a49c27cba7172db83eeb2f5b8c07b425f5dec57 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 22 Mar 2012 11:57:45 -0500 Subject: [PATCH] change ScreenMapControllers warning to use strings instead --- .../_fallback/BGAnimations/ScreenMapControllers overlay.lua | 4 ++-- Themes/_fallback/Languages/en.ini | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/BGAnimations/ScreenMapControllers overlay.lua b/Themes/_fallback/BGAnimations/ScreenMapControllers overlay.lua index 1d051b9d7b..a03e07577d 100644 --- a/Themes/_fallback/BGAnimations/ScreenMapControllers overlay.lua +++ b/Themes/_fallback/BGAnimations/ScreenMapControllers overlay.lua @@ -9,13 +9,13 @@ t[#t+1] = Def.Quad { }; t[#t+1] = Def.ActorFrame { LoadFont("Common Normal") .. { - Text="WARNING!"; + Text=ScreenString("WarningHeader"); InitCommand=cmd(y,-70;diffuse,Color.Red); TweenOnCommand=cmd(diffusealpha,0;zoomx,2;zoomy,0;sleep,0.5;smooth,0.25;zoom,1;diffusealpha,1); TweenOffCommand=cmd(linear,0.5;diffusealpha,0); }; LoadFont("Common Normal") .. { - Text="Please ensure that you do not overwrite any important keymappings, such as:\n&MENULEFT; LEFT &MENURIGHT; RIGHT &MENUUP; UP &MENUDOWN; DOWN &START; START &BACK; BACK or &SELECT; SELECT. Do not apply keymappings that you do not know the function of or unmap important keys!"; + Text=ScreenString("WarningText"); InitCommand=cmd(y,10;wrapwidthpixels,SCREEN_WIDTH-48); TweenOnCommand=cmd(diffusealpha,0;sleep,0.5125;linear,0.125;diffusealpha,1); TweenOffCommand=cmd(linear,0.5;diffusealpha,0); diff --git a/Themes/_fallback/Languages/en.ini b/Themes/_fallback/Languages/en.ini index 2a9d0408f7..ad8397dec6 100644 --- a/Themes/_fallback/Languages/en.ini +++ b/Themes/_fallback/Languages/en.ini @@ -1447,6 +1447,8 @@ BodyText=The StepMania program source code is licensed under a permissive open-s HeaderText=Map Controllers InvalidButton=That key can not be mapped. %s slots=%s slots +WarningHeader=WARNING! +WarningText=Please ensure that you do not overwrite any important keymappings, such as:\n&MENULEFT; LEFT &MENURIGHT; RIGHT &MENUUP; UP &MENUDOWN; DOWN &START; START &BACK; BACK or &SELECT; SELECT. Do not apply keymappings that you do not know the function of or unmap important keys! [ScreenMapControllers2] Add Mapping=Add Mapping