From 2c244f3a0b9fc9202f6680ba3ce1143b151af845 Mon Sep 17 00:00:00 2001 From: Selo Date: Fri, 2 Sep 2011 02:02:39 +0200 Subject: [PATCH] FIX Fire-2919 Fixing [Current-Grid] on two specific places --- indra/newview/llappviewer.cpp | 6 ++++++ indra/newview/skins/default/xui/de/notifications.xml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 87a720c4e3..6dd7236b2e 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2646,6 +2646,8 @@ bool LLAppViewer::initConfiguration() //args["[APP_NAME]"] = LLTrans::getString("SECOND_LIFE"); //[FIX FIRE-2852] Changed function to find the right Gridname args["[APP_NAME]"] = LLGridManager::getInstance()->getGridLabel(); + //[FIX FIRE-2919] Making sure Current_grid has the right value + args["[CURRENT_GRID]"] = LLGridManager::getInstance()->getGridLabel(); splash_msg = LLTrans::getString("StartupLoading", args); LLSplashScreen::show(); LLSplashScreen::update(splash_msg); @@ -4082,11 +4084,15 @@ void LLAppViewer::forceDisconnect(const std::string& mesg) { // Tell users what happened args["ERROR_MESSAGE"] = big_reason; + //[FIX FIRE-2919] Making sure Current_grid has the right value + args["CURRENT_GRID"] = LLGridManager::getInstance()->getGridLabel(); LLNotificationsUtil::add("ErrorMessage", args, LLSD(), &finish_forced_disconnect); } else { args["MESSAGE"] = big_reason; + //[FIX FIRE-2919] Making sure Current_grid has the right value + args["CURRENT_GRID"] = LLGridManager::getInstance()->getGridLabel(); LLNotificationsUtil::add("YouHaveBeenLoggedOut", args, LLSD(), &finish_disconnect ); } } diff --git a/indra/newview/skins/default/xui/de/notifications.xml b/indra/newview/skins/default/xui/de/notifications.xml index ba2e547be9..f79397db71 100644 --- a/indra/newview/skins/default/xui/de/notifications.xml +++ b/indra/newview/skins/default/xui/de/notifications.xml @@ -1133,7 +1133,7 @@ Sie müssen eventuell ein neues Zuhause festlegen. Ihre Kleidung wird noch heruntergeladen. -Sie können [SECOND_LIFE] normal verwenden. Andere Benutzer können Sie korrekt dargestellt sehen. +Sie können [CURRENT_GRID] normal verwenden. Andere Benutzer können Sie korrekt dargestellt sehen.
@@ -1141,7 +1141,7 @@ Sie können [SECOND_LIFE] normal verwenden. Andere Benutzer können Sie korrekt Installation von [APP_NAME] vollständig abgeschlossen. -Falls Sie [SECOND_LIFE] zum ersten Mal verwenden, müssen Sie zuerst ein Konto erstellen, bevor Sie sich anmelden können. +Falls Sie [CURRENT_GRID] zum ersten Mal verwenden, müssen Sie zuerst ein Konto erstellen, bevor Sie sich anmelden können. Zurück zu [http://join.secondlife.com secondlife.com], um ein neues Konto zu erstellen?