summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp24
-rwxr-xr-xindra/newview/skins/default/xui/en/floater_marketplace_validation.xml17
-rwxr-xr-xindra/newview/skins/default/xui/en/strings.xml24
3 files changed, 26 insertions, 39 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 59fdb19d90..8833d72dfa 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -1364,7 +1364,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
{
if (cb)
{
- std::string message = LLTrans::getString("Marketplace Validation Intro") + cat->getName();
+ std::string message = cat->getName() + LLTrans::getString("Marketplace Validation Intro");
cb(message,LLError::LEVEL_INFO);
}
std::string message;
@@ -1373,7 +1373,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
result = false;
if (cb)
{
- message = LLTrans::getString("Marketplace Validation Error") + message;
+ message = cat->getName() + LLTrans::getString("Marketplace Validation Error") + message;
cb(message,LLError::LEVEL_ERROR);
}
}
@@ -1393,7 +1393,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
LLUUID folder_uuid = gInventory.createNewCategory(parent_uuid, LLFolderType::FT_NONE, cat->getName());
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Warning Stock") + cat->getName();
+ std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Warning Stock");
cb(message,LLError::LEVEL_WARN);
}
LLInventoryCategory* new_cat = gInventory.getCategory(folder_uuid);
@@ -1429,7 +1429,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
result = false;
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Error") + error_msg + " : " + viewer_inv_item->getName();
+ std::string message = indent + viewer_inv_item->getName() + LLTrans::getString("Marketplace Validation Error") + error_msg;
cb(message,LLError::LEVEL_ERROR);
}
continue;
@@ -1465,7 +1465,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
result = false;
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Error Empty Version") + cat->getName();
+ std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Error Empty Version");
cb(message,LLError::LEVEL_ERROR);
}
}
@@ -1475,14 +1475,14 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
result = false;
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Error Empty Stock") + cat->getName();
+ std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Error Empty Stock");
cb(message,LLError::LEVEL_ERROR);
}
}
else if (cb)
{
// We warn if there's nothing in a regular folder (may be it's an under construction listing)
- std::string message = indent + LLTrans::getString("Marketplace Validation Warning Empty") + cat->getName();
+ std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Warning Empty");
cb(message,LLError::LEVEL_WARN);
}
}
@@ -1493,7 +1493,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
// Done with that folder!
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Log") + cat->getName();
+ std::string message = indent + cat->getName() + LLTrans::getString("Marketplace Validation Log");
cb(message,LLError::LEVEL_INFO);
}
}
@@ -1512,11 +1512,11 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
std::string message = "";
if (new_folder_type == LLFolderType::FT_MARKETPLACE_STOCK)
{
- message = indent + LLTrans::getString("Marketplace Validation Warning Create Stock") + viewer_cat->getName();
+ message = indent + viewer_cat->getName() + LLTrans::getString("Marketplace Validation Warning Create Stock");
}
else
{
- message = indent + LLTrans::getString("Marketplace Validation Warning Create Version") + viewer_cat->getName();
+ message = indent + viewer_cat->getName() + LLTrans::getString("Marketplace Validation Warning Create Version");
}
cb(message,LLError::LEVEL_WARN);
}
@@ -1527,7 +1527,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
LLViewerInventoryItem* viewer_inv_item = items_vector[i].back();
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Warning Move") + viewer_inv_item->getName();
+ std::string message = indent + viewer_inv_item->getName() + LLTrans::getString("Marketplace Validation Warning Move");
cb(message,LLError::LEVEL_WARN);
}
gInventory.changeItemParent(viewer_inv_item, folder_uuid, true);
@@ -1543,7 +1543,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_
// Remove the current folder if it ends up empty
if (cb)
{
- std::string message = indent + LLTrans::getString("Marketplace Validation Warning Delete") + viewer_cat->getName();
+ std::string message = indent + viewer_cat->getName() + LLTrans::getString("Marketplace Validation Warning Delete");
cb(message,LLError::LEVEL_WARN);
}
gInventory.removeCategory(cat->getUUID());
diff --git a/indra/newview/skins/default/xui/en/floater_marketplace_validation.xml b/indra/newview/skins/default/xui/en/floater_marketplace_validation.xml
index 165540cfa1..9035a7c161 100755
--- a/indra/newview/skins/default/xui/en/floater_marketplace_validation.xml
+++ b/indra/newview/skins/default/xui/en/floater_marketplace_validation.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
- title="MARKETPLACE VALIDATION LOG"
+ title="Audit Marketplace Listings"
name="floater_marketplace_validation"
help_topic="floater_marketplace_validation"
layout="topleft"
@@ -26,19 +26,6 @@
width="100"
height="20"
left="484"/>
- <text
- name="tos_heading"
- type="string"
- font="SansSerif"
- length="1"
- layout="topleft"
- follows="left|top"
- width="552"
- height="20"
- left="20"
- top="20">
- The Marketplace Validation reported the following:
- </text>
<text_editor
name="validation_text"
type="string"
@@ -49,7 +36,7 @@
follows="all"
bg_readonly_color="TextBgReadOnlyColor"
text_readonly_color="TextFgReadOnlyColor"
- top="45"
+ top="25"
bottom="455"
left="20"
right="-20"
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 0b45a52899..b2f28748b2 100755
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -2292,18 +2292,18 @@ The [[MARKETPLACE_CREATE_STORE_URL] Marketplace store] is returning errors.
Drag folders to this area to list them for sale on the [[MARKETPLACE_DASHBOARD_URL] Marketplace].
</string>
- <string name="Marketplace Validation Intro">Validation Listing : </string>
- <string name="Marketplace Validation Log">Log : folder validates, all items of compatible types : </string>
- <string name="Marketplace Validation Warning Stock">Warning : creating wrapping folder for stock folder : </string>
- <string name="Marketplace Validation Warning Empty">Warning : folder doesn't contain any item : </string>
- <string name="Marketplace Validation Warning Create Stock">Warning : creating stock folder : </string>
- <string name="Marketplace Validation Warning Create Version">Warning : creating version folder : </string>
- <string name="Marketplace Validation Warning Move">Warning : moving item : </string>
- <string name="Marketplace Validation Warning Delete">Warning : folder content completely transfered to stock folder, removing empty folder : </string>
- <string name="Marketplace Validation Error">Error : </string>
- <string name="Marketplace Validation Error Empty Version">Error : cannot list empty version folder : </string>
- <string name="Marketplace Validation Error Empty Stock">Error : cannot list empty stock folder : </string>
- <string name="Marketplace Error None">No error</string>
+ <string name="Marketplace Validation Intro"></string>
+ <string name="Marketplace Validation Log">: No errors</string>
+ <string name="Marketplace Validation Warning Stock">: Warning: creating wrapping folder for stock folder</string>
+ <string name="Marketplace Validation Warning Empty">: Warning: folder doesn't contain any item</string>
+ <string name="Marketplace Validation Warning Create Stock">: Warning: creating stock folder</string>
+ <string name="Marketplace Validation Warning Create Version">: Warning: creating version folder</string>
+ <string name="Marketplace Validation Warning Move">: Warning : moving items</string>
+ <string name="Marketplace Validation Warning Delete">: Warning: folder content transfered to stock folder, removing empty folder</string>
+ <string name="Marketplace Validation Error">: Error: </string>
+ <string name="Marketplace Validation Error Empty Version">: Error: cannot list empty version folder</string>
+ <string name="Marketplace Validation Error Empty Stock">: Error: cannot list empty stock folder</string>
+ <string name="Marketplace Error None">No errors</string>
<string name="Marketplace Error Prefix">Error: </string>
<string name="Marketplace Error Not Merchant">Before sending items to the Marketplace you will need to set yourself up as a merchant (free of charge).</string>
<string name="Marketplace Error Not Accepted">Cannot move item in that folder.</string>