summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-12 19:17:31 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-12 19:17:31 +0300
commitb4d0aeee37973525589223842e149caa28dea2af (patch)
treee6e21f6eb08faccdbedd678eddf2e14f71913273 /indra/newview
parent6e2e9d5904b3cc89deb755f3552d915104065aa0 (diff)
SL-19712 Folders and items shouldn't be both called items
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterchangeitemthumbnail.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml8
2 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.cpp b/indra/newview/llfloaterchangeitemthumbnail.cpp
index 4249ae9305..3070c437bd 100644
--- a/indra/newview/llfloaterchangeitemthumbnail.cpp
+++ b/indra/newview/llfloaterchangeitemthumbnail.cpp
@@ -335,6 +335,7 @@ void LLFloaterChangeItemThumbnail::refreshFromObject(LLInventoryObject* obj)
LLViewerInventoryItem* item = dynamic_cast<LLViewerInventoryItem*>(obj);
if (item)
{
+ setTitle(getString("title_item_thumbnail"));
// This floater probably shouldn't be possible to open
// for imcomplete items
llassert(item->isFinished());
@@ -348,6 +349,7 @@ void LLFloaterChangeItemThumbnail::refreshFromObject(LLInventoryObject* obj)
if (cat)
{
+ setTitle(getString("title_folder_thumbnail"));
icon_img = LLUI::getUIImage(LLViewerFolderType::lookupIconName(cat->getPreferredType(), true));
if (thumbnail_id.isNull() && (cat->getPreferredType() == LLFolderType::FT_OUTFIT))
diff --git a/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
index f3f8ee0daa..ec2961b0f3 100644
--- a/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
+++ b/indra/newview/skins/default/xui/en/floater_change_item_thumbnail.xml
@@ -9,6 +9,14 @@
width="319">
<floater.string
+ name="title_item_thumbnail">
+ CHANGE ITEM IMAGE
+ </floater.string>
+ <floater.string
+ name="title_folder_thumbnail">
+ CHANGE FOLDER IMAGE
+ </floater.string>
+ <floater.string
name="tooltip_upload_local">
Upload from computer
</floater.string>