diff options
| -rw-r--r-- | indra/newview/llviewermenu.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llworld.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/strings.xml | 4 | 
4 files changed, 8 insertions, 4 deletions
| diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 1d58daba2c..5c40d02f8d 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -86,6 +86,7 @@  #include "lltoolmgr.h"  #include "lltoolpie.h"  #include "lltoolselectland.h" +#include "lltrans.h"  #include "llviewergenericmessage.h"  #include "llviewerhelp.h"  #include "llviewermenufile.h"	// init_menu_file() @@ -7047,7 +7048,7 @@ LLVOAvatar* find_avatar_from_object( const LLUUID& object_id )  void handle_disconnect_viewer(void *)  { -	LLAppViewer::instance()->forceDisconnect("Testing viewer disconnect"); +	LLAppViewer::instance()->forceDisconnect(LLTrans::getString("TestingDisconnect"));  }  void force_error_breakpoint(void *) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index eed3f25231..bd0012057c 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3080,7 +3080,7 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**)  			<< x << ":" << y   			<< " current pos " << gAgent.getPositionGlobal()  			<< LL_ENDL; -		LLAppViewer::instance()->forceDisconnect("You were sent to an invalid region."); +		LLAppViewer::instance()->forceDisconnect(LLTrans::getString("SentToInvalidRegion"));  		return;  	} diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index d7e5b464a6..19f303ab88 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -45,6 +45,7 @@  #include "llhttpnode.h"  #include "llregionhandle.h"  #include "llsurface.h" +#include "lltrans.h"  #include "llviewercamera.h"  #include "llviewertexture.h"  #include "llviewertexturelist.h" @@ -258,7 +259,7 @@ void LLWorld::removeRegion(const LLHost &host)  		llwarns << "gFrameTimeSeconds " << gFrameTimeSeconds << llendl;  		llwarns << "Disabling region " << regionp->getName() << " that agent is in!" << llendl; -		LLAppViewer::instance()->forceDisconnect("You have been disconnected from the region you were in."); +		LLAppViewer::instance()->forceDisconnect(LLTrans::getString("YouHaveBeenDisconnected"));  		return;  	} diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 707a830622..da39f13726 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -56,7 +56,9 @@  	<string name="SavingSettings">Saving your settings...</string>  	<string name="LoggingOut">Logging out...</string>  	<string name="ShuttingDown">Shutting down...</string> - +	<string name="YouHaveBeenDisconnected">You have been disconnected from the region you were in.</string> +	<string name="SentToInvalidRegion">You were sent to an invalid region.</string> +	<string name="TestingDisconnect">Testing viewer disconnect</string>  	<!-- Tooltip, lltooltipview.cpp -->  	<string name="TooltipPerson">Person</string><!-- Object under mouse pointer is an avatar --> | 
