summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rwxr-xr-xindra/newview/llinventorybridge.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index d0abe6db29..bf56be320f 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -1973,8 +1973,9 @@ std::string LLFolderBridge::getLabelSuffix() const
}
else if (getCategory()->getPreferredType() == LLFolderType::FT_MARKETPLACE_STOCK)
{
- //llinfos << "Merov : in merchant folder and is a stock folder : id = " << getUUID() << llendl;
- std::string suffix = " (" + LLTrans::getString("MarketplaceStock") + ")";
+ llinfos << "Merov : in merchant folder and is a stock folder : name = " << getCategory()->getName() << ", stock = " << getCategory()->getDescendentCount() << llendl;
+ std::string stock = llformat("%d", getCategory()->getDescendentCount());
+ std::string suffix = " (" + LLTrans::getString("MarketplaceStock") + ") (" + stock + ")";
return LLInvFVBridge::getLabelSuffix() + suffix;
}
else