fixed EXT-6363 [HARD CODED] "Login Failed." is hardcoded

moved out "Login failed." to strings.xml

Reviewed by Q at https://codereview.productengine.com/secondlife/r/27/

--HG--
branch : product-engine
master
Igor Borovkov 2010-03-16 14:49:20 +02:00
parent 04e692b3f1
commit 5675afccbb
2 changed files with 2 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ bool idle_startup()
if(STATE_LOGIN_PROCESS_RESPONSE == LLStartUp::getStartupState())
{
std::ostringstream emsg;
emsg << "Login failed.\n";
emsg << LLTrans::getString("LoginFailed") << "\n";
if(LLLoginInstance::getInstance()->authFailure())
{
LL_INFOS("LLStartup") << "Login failed, LLLoginInstance::getResponse(): "

View File

@ -47,6 +47,7 @@
<string name="LoginConnectingToRegion">Connecting to region...</string>
<string name="LoginDownloadingClothing">Downloading clothing...</string>
<string name="LoginFailedNoNetwork">Network Error: Could not establish connection, please check your network connection.</string>
<string name="LoginFailed">Login failed.</string>
<string name="Quit">Quit</string>
<string name="create_account_url">http://join.secondlife.com/</string>