summaryrefslogtreecommitdiff
path: root/indra/newview/llcurrencyuimanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llcurrencyuimanager.cpp')
-rw-r--r--indra/newview/llcurrencyuimanager.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llcurrencyuimanager.cpp b/indra/newview/llcurrencyuimanager.cpp
index 7ebcef943e..fd3df359bd 100644
--- a/indra/newview/llcurrencyuimanager.cpp
+++ b/indra/newview/llcurrencyuimanager.cpp
@@ -35,8 +35,6 @@
#include "lluictrlfactory.h"
#include "lltextbox.h"
#include "lllineeditor.h"
-#include "llresmgr.h" // for LLLocale
-#include "lltrans.h"
#include "llviewercontrol.h"
#include "llversioninfo.h"
@@ -325,12 +323,7 @@ std::string LLCurrencyUIManager::Impl::getLocalEstimate() const
if (mUSDCurrencyEstimated)
{
// we have the old-style USD-specific value
- LLStringUtil::format_map_t args;
- {
- LLLocale locale_override(LLStringUtil::getLocale());
- args["[AMOUNT]"] = llformat("%#.2f", mUSDCurrencyEstimatedCost / 100.0);
- }
- return LLTrans::getString("LocalEstimateUSD", args);
+ return "US$ " + llformat("%#.2f", mUSDCurrencyEstimatedCost / 100.0);
}
return "";
}