summaryrefslogtreecommitdiff
path: root/indra/llui/llemojidictionary.cpp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-08 01:02:06 +0200
committerAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-09-08 01:02:06 +0200
commitc30208d598d43779cea7b5de50c44d4b21b16487 (patch)
treeb1ffdbac63d73bc66a89a259f86edb18b4039832 /indra/llui/llemojidictionary.cpp
parentd8cc5688eff5b540f8653a1bc39e0644b1da8d03 (diff)
SL-19951 Organize emoji categories in groups (fix for German)
Diffstat (limited to 'indra/llui/llemojidictionary.cpp')
-rw-r--r--indra/llui/llemojidictionary.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llemojidictionary.cpp b/indra/llui/llemojidictionary.cpp
index cdcf5a93d6..89758f538b 100644
--- a/indra/llui/llemojidictionary.cpp
+++ b/indra/llui/llemojidictionary.cpp
@@ -204,7 +204,8 @@ void LLEmojiDictionary::loadTranslations()
{
const LLSD& sd = *it;
const std::string& name = sd["Name"].asStringRef();
- const std::string& category = sd["Category"].asStringRef();
+ std::string category = sd["Category"].asString();
+ LLStringUtil::toLower(category);
if (!name.empty() && !category.empty())
{
mTranslations[name] = category;