summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-04-01 15:33:05 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-04-01 15:33:05 -0700
commitdb0ffdf270f9f9b656333e317a0cf6fadc14a711 (patch)
tree6008b6b3c36dd9cd6bd7e51d63aea7210396e7bf /indra/llcommon/llstring.cpp
parent959ec0c305914ac71caa12920ca81230d5d9a6c4 (diff)
parent406b595e8c6811c2550340ba316328289d8b856f (diff)
Merge
Diffstat (limited to 'indra/llcommon/llstring.cpp')
-rw-r--r--indra/llcommon/llstring.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index 5f3d9d6582..b5a73ec1d1 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -911,6 +911,20 @@ bool LLStringUtil::simpleReplacement(std::string &replacement, std::string token
return false;
}
+//static
+template<>
+void LLStringUtil::setLocale(std::string inLocale)
+{
+ sLocale = inLocale;
+};
+
+//static
+template<>
+std::string LLStringUtil::getLocale(void)
+{
+ return sLocale;
+};
+
// static
template<>
void LLStringUtil::formatNumber(std::string& numStr, std::string decimals)