diff options
author | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
commit | fdf944fb0355249d73c4e25ee86e9ffd378e7d4b (patch) | |
tree | 2e5c51fe0e6d5757f984721e01cc097801d927e7 /linden/indra/newview/llimview.cpp | |
parent | Rebranded Windows-specific installer/support files. (diff) | |
parent | Updated source to SL version 1.21.6. (diff) | |
download | meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.zip meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.gz meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.bz2 meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.xz |
Merge branch 'merge-1.21.6' into rebranding
Conflicts:
linden/indra/newview/installers/windows/installer_template.nsi
linden/indra/newview/llappviewer.cpp
Diffstat (limited to 'linden/indra/newview/llimview.cpp')
-rw-r--r-- | linden/indra/newview/llimview.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/linden/indra/newview/llimview.cpp b/linden/indra/newview/llimview.cpp index 309e479..21d8e1f 100644 --- a/linden/indra/newview/llimview.cpp +++ b/linden/indra/newview/llimview.cpp | |||
@@ -157,10 +157,10 @@ BOOL LLFloaterIM::postBuild() | |||
157 | { | 157 | { |
158 | // IM session initiation warnings | 158 | // IM session initiation warnings |
159 | sOnlyUserMessage = getString("only_user_message"); | 159 | sOnlyUserMessage = getString("only_user_message"); |
160 | sOfflineMessage = getUIString("offline_message"); | 160 | sOfflineMessage = getString("offline_message"); |
161 | sMutedMessage = getUIString("muted_message"); | 161 | sMutedMessage = getString("muted_message"); |
162 | 162 | ||
163 | sInviteMessage = getUIString("invite_message"); | 163 | sInviteMessage = getString("invite_message"); |
164 | 164 | ||
165 | if ( sErrorStringsMap.find("generic") == sErrorStringsMap.end() ) | 165 | if ( sErrorStringsMap.find("generic") == sErrorStringsMap.end() ) |
166 | { | 166 | { |
@@ -216,12 +216,6 @@ BOOL LLFloaterIM::postBuild() | |||
216 | } | 216 | } |
217 | 217 | ||
218 | 218 | ||
219 | if ( sEventStringsMap.end() == sEventStringsMap.find("mute") ) | ||
220 | { | ||
221 | sEventStringsMap["mute"] = | ||
222 | getString("mute_agent_event"); | ||
223 | } | ||
224 | |||
225 | if ( sForceCloseSessionMap.end() == | 219 | if ( sForceCloseSessionMap.end() == |
226 | sForceCloseSessionMap.find("removed") ) | 220 | sForceCloseSessionMap.find("removed") ) |
227 | { | 221 | { |
@@ -525,7 +519,7 @@ void LLIMMgr::addSystemMessage(const LLUUID& session_id, const std::string& mess | |||
525 | { | 519 | { |
526 | LLFloaterChat* floaterp = LLFloaterChat::getInstance(); | 520 | LLFloaterChat* floaterp = LLFloaterChat::getInstance(); |
527 | 521 | ||
528 | message = floaterp->getUIString(message_name); | 522 | message = floaterp->getString(message_name); |
529 | message.setArgList(args); | 523 | message.setArgList(args); |
530 | 524 | ||
531 | LLChat chat(message); | 525 | LLChat chat(message); |
@@ -537,7 +531,7 @@ void LLIMMgr::addSystemMessage(const LLUUID& session_id, const std::string& mess | |||
537 | LLFloaterIMPanel* floaterp = findFloaterBySession(session_id); | 531 | LLFloaterIMPanel* floaterp = findFloaterBySession(session_id); |
538 | if (floaterp) | 532 | if (floaterp) |
539 | { | 533 | { |
540 | message = floaterp->getUIString(message_name); | 534 | message = floaterp->getString(message_name); |
541 | message.setArgList(args); | 535 | message.setArgList(args); |
542 | 536 | ||
543 | gIMMgr->addMessage(session_id, LLUUID::null, SYSTEM_FROM, message.getString()); | 537 | gIMMgr->addMessage(session_id, LLUUID::null, SYSTEM_FROM, message.getString()); |