aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
authorJacek Antonelli2010-02-26 00:52:08 -0600
committerJacek Antonelli2010-02-26 02:03:34 -0600
commitf2e5b843f93522e9644cf6f1ffaeb78ab9561634 (patch)
tree601a6bb211148a2804605c02ec2a3cc238d759c6 /linden/indra/llui
parentFixed a rare crash from textures with too many components. (diff)
downloadmeta-impy-f2e5b843f93522e9644cf6f1ffaeb78ab9561634.zip
meta-impy-f2e5b843f93522e9644cf6f1ffaeb78ab9561634.tar.gz
meta-impy-f2e5b843f93522e9644cf6f1ffaeb78ab9561634.tar.bz2
meta-impy-f2e5b843f93522e9644cf6f1ffaeb78ab9561634.tar.xz
Rebranded new notifications system for all languages.
Changed "Second Life" to "Imprudence", etc. Some URLs and SL-specific things have not been rebranded. Added foundation for dynamically rebranding grid names later.
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/llnotifications.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/llui/llnotifications.cpp b/linden/indra/llui/llnotifications.cpp
index 6b7dd0a..58ec511 100644
--- a/linden/indra/llui/llnotifications.cpp
+++ b/linden/indra/llui/llnotifications.cpp
@@ -601,8 +601,14 @@ void LLNotification::init(const std::string& template_name, const LLSD& form_ele
601 if (!mTemplatep) return; 601 if (!mTemplatep) return;
602 602
603 // add default substitutions 603 // add default substitutions
604 // TODO: change this to read from the translatable strings file! 604 mSubstitutions["[SECOND_LIFE]"] = LLNotifications::instance().getGlobalString("SECOND_LIFE");
605 mSubstitutions["SECOND_LIFE"] = "Second Life"; 605 mSubstitutions["[VIEWER_NAME]"] = LLNotifications::instance().getGlobalString("VIEWER_NAME");
606 mSubstitutions["[VIEWER_SITE]"] = LLNotifications::instance().getGlobalString("VIEWER_SITE");
607
608 // TODO: set these based on which grid the user is connected to.
609 mSubstitutions["[GRID_NAME]"] = LLNotifications::instance().getGlobalString("SECOND_LIFE");
610 mSubstitutions["[GRID_SITE]"] = LLNotifications::instance().getGlobalString("SECOND_LIFE_SITE");
611
606 mSubstitutions["_URL"] = getURL(); 612 mSubstitutions["_URL"] = getURL();
607 mSubstitutions["_NAME"] = template_name; 613 mSubstitutions["_NAME"] = template_name;
608 // TODO: something like this so that a missing alert is sensible: 614 // TODO: something like this so that a missing alert is sensible: