diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-09-08 01:02:06 +0200 |
---|---|---|
committer | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-09-08 01:02:06 +0200 |
commit | c30208d598d43779cea7b5de50c44d4b21b16487 (patch) | |
tree | b1ffdbac63d73bc66a89a259f86edb18b4039832 /indra/llui/llemojidictionary.cpp | |
parent | d8cc5688eff5b540f8653a1bc39e0644b1da8d03 (diff) |
SL-19951 Organize emoji categories in groups (fix for German)
Diffstat (limited to 'indra/llui/llemojidictionary.cpp')
-rw-r--r-- | indra/llui/llemojidictionary.cpp | 3 |
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; |