diff options
Diffstat (limited to 'linden/indra/newview/lltoolpie.cpp')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 0aa7d10..55692d1 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file lltoolpie.cpp | 2 | * @file lltoolpie.cpp |
3 | * @brief LLToolPie class implementation | 3 | * @brief LLToolPie class implementation |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 7 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
@@ -307,12 +310,12 @@ BOOL LLToolPie::pickAndShowMenu(S32 x, S32 y, MASK mask, BOOL always_show) | |||
307 | LLString name = avatar->getFullname(); | 310 | LLString name = avatar->getFullname(); |
308 | if (gMuteListp->isMuted(avatar->getID(), name)) | 311 | if (gMuteListp->isMuted(avatar->getID(), name)) |
309 | { | 312 | { |
310 | gMenuHolder->childSetText("Avatar Mute", "Unmute"); | 313 | gMenuHolder->childSetText("Avatar Mute", LLString("Unmute")); // *TODO:Translate |
311 | //gMutePieMenu->setLabel("Unmute"); | 314 | //gMutePieMenu->setLabel("Unmute"); |
312 | } | 315 | } |
313 | else | 316 | else |
314 | { | 317 | { |
315 | gMenuHolder->childSetText("Avatar Mute", "Mute"); | 318 | gMenuHolder->childSetText("Avatar Mute", LLString("Mute")); // *TODO:Translate |
316 | //gMutePieMenu->setLabel("Mute"); | 319 | //gMutePieMenu->setLabel("Mute"); |
317 | } | 320 | } |
318 | 321 | ||
@@ -333,12 +336,12 @@ BOOL LLToolPie::pickAndShowMenu(S32 x, S32 y, MASK mask, BOOL always_show) | |||
333 | } | 336 | } |
334 | if (gMuteListp->isMuted(object->getID(), name)) | 337 | if (gMuteListp->isMuted(object->getID(), name)) |
335 | { | 338 | { |
336 | gMenuHolder->childSetText("Object Mute", "Unmute"); | 339 | gMenuHolder->childSetText("Object Mute", LLString("Unmute")); // *TODO:Translate |
337 | //gMuteObjectPieMenu->setLabel("Unmute"); | 340 | //gMuteObjectPieMenu->setLabel("Unmute"); |
338 | } | 341 | } |
339 | else | 342 | else |
340 | { | 343 | { |
341 | gMenuHolder->childSetText("Object Mute", "Mute"); | 344 | gMenuHolder->childSetText("Object Mute", LLString("Mute")); // *TODO:Translate |
342 | //gMuteObjectPieMenu->setLabel("Mute"); | 345 | //gMuteObjectPieMenu->setLabel("Mute"); |
343 | } | 346 | } |
344 | 347 | ||
@@ -672,3 +675,4 @@ void LLToolPie::render() | |||
672 | return; | 675 | return; |
673 | } | 676 | } |
674 | 677 | ||
678 | |||