summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-03-18 15:44:31 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-03-18 15:44:31 +0200
commitd856f1ea9516f6d852dca56f16e08266747e3e96 (patch)
tree84e6f1e0b8474446e8a45c6f8e60867631291930 /indra
parent3a1400015ae41ca8e185a284b9e2cc0006defa63 (diff)
Low task (EXT-6261) [HARD CODED] Abuse Report: After sending an abuse report, there is a popup window stating that the report is sent/uploaded. The window isnĀ“t localized.
- Removed hardcoded string. Reviewed by Richard Nelson https://codereview.productengine.com/secondlife/r/23/ --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterreporter.cpp5
-rw-r--r--indra/newview/skins/default/xui/en/strings.xml3
2 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llfloaterreporter.cpp b/indra/newview/llfloaterreporter.cpp
index 0f3c176cea..42a7eeff26 100644
--- a/indra/newview/llfloaterreporter.cpp
+++ b/indra/newview/llfloaterreporter.cpp
@@ -84,6 +84,8 @@
#include "llassetuploadresponders.h"
#include "llagentui.h"
+#include "lltrans.h"
+
const U32 INCLUDE_SCREENSHOT = 0x01 << 0;
//-----------------------------------------------------------------------------
@@ -372,8 +374,7 @@ void LLFloaterReporter::onClickSend(void *userdata)
return;
}
-
- LLUploadDialog::modalUploadDialog("Uploading...\n\nReport");
+ LLUploadDialog::modalUploadDialog(LLTrans::getString("uploading_abuse_report"));
// *TODO don't upload image if checkbox isn't checked
std::string url = gAgent.getRegion()->getCapability("SendUserReport");
std::string sshot_url = gAgent.getRegion()->getCapability("SendUserReportWithScreenshot");
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index c6d9e79267..d24873e9e6 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -3070,4 +3070,7 @@ If you continue to receive this message, contact the [SUPPORT_SITE].
<string name="group_role_officers">Officers</string>
<string name="group_role_owners">Owners</string>
+ <string name="uploading_abuse_report">Uploading...
+
+Abuse Report</string>
</strings>