aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycontents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterbuycontents.cpp')
-rw-r--r--linden/indra/newview/llfloaterbuycontents.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterbuycontents.cpp b/linden/indra/newview/llfloaterbuycontents.cpp
index 7288b8d..3826679 100644
--- a/linden/indra/newview/llfloaterbuycontents.cpp
+++ b/linden/indra/newview/llfloaterbuycontents.cpp
@@ -3,6 +3,8 @@
3 * @author James Cook 3 * @author James Cook
4 * @brief LLFloaterBuyContents class implementation 4 * @brief LLFloaterBuyContents class implementation
5 * 5 *
6 * $LicenseInfo:firstyear=2004&license=viewergpl$
7 *
6 * Copyright (c) 2004-2007, Linden Research, Inc. 8 * Copyright (c) 2004-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30/** 33/**
@@ -235,20 +238,19 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj,
235 U32 next_owner_mask = inv_item->getPermissions().getMaskNextOwner(); 238 U32 next_owner_mask = inv_item->getPermissions().getMaskNextOwner();
236 LLString text = (*it)->getName(); 239 LLString text = (*it)->getName();
237 240
238 // *TODO: Move into shared library function.
239 if (!(next_owner_mask & PERM_COPY)) 241 if (!(next_owner_mask & PERM_COPY))
240 { 242 {
241 text.append(" (no copy)"); // XUI:translate 243 text.append(childGetText("no_copy_text"));
242 } 244 }
243 if (!(next_owner_mask & PERM_MODIFY)) 245 if (!(next_owner_mask & PERM_MODIFY))
244 { 246 {
245 text.append(" (no modify)"); // XUI:translate 247 text.append(childGetText("no_modify_text"));
246 } 248 }
247 if (!(next_owner_mask & PERM_TRANSFER)) 249 if (!(next_owner_mask & PERM_TRANSFER))
248 { 250 {
249 text.append(" (no transfer)"); // XUI:translate 251 text.append(childGetText("no_transfer_text"));
250 } 252 }
251 253
252 row["columns"][1]["column"] = "text"; 254 row["columns"][1]["column"] = "text";
253 row["columns"][1]["value"] = text; 255 row["columns"][1]["value"] = text;
254 row["columns"][1]["font"] = "SANSSERIF"; 256 row["columns"][1]["font"] = "SANSSERIF";