From c9f2b2b418e16379638b0718bfa262e87c881b42 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 12 Aug 2007 03:51:54 +0000 Subject: [PATCH] Allow localization. --- .../Themes/default/BGAnimations/ScreenCaution overlay.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/Themes/default/BGAnimations/ScreenCaution overlay.lua b/stepmania/Themes/default/BGAnimations/ScreenCaution overlay.lua index 36d826a507..3aef203c9d 100644 --- a/stepmania/Themes/default/BGAnimations/ScreenCaution overlay.lua +++ b/stepmania/Themes/default/BGAnimations/ScreenCaution overlay.lua @@ -1,12 +1,12 @@ local t = Def.ActorFrame { LoadFont("blaster") .. { - Text="CAUTION!"; + Text=THEME:GetString( "ScreenCaution", "Caution" ); InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_TOP+60;diffuse,1,0,0,1;zoom,1.5;diffusebottomedge,0.25,0,0,1;shadowlength,0); }; LoadFont("_zeroesthree") .. { - Text="For safety purposes, play with the lights on\nand keep the dance platform a safe distance\nfrom your TV or monitor as well as any other\nfurniture at all times.\nDo not allow pets, children, or other spectators\non the dance platform during gameplay.\nBe aware of the platform\'s position at all times."; - InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;horizalign,center;shadowlength,0); + Text=THEME:GetString( "ScreenCaution", "CautionText" ); + InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;horizalign,center;shadowlength,0;wrapwidthpixels,SCREEN_WIDTH-80); }; };