From c30208d598d43779cea7b5de50c44d4b21b16487 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Fri, 8 Sep 2023 01:02:06 +0200 Subject: SL-19951 Organize emoji categories in groups (fix for German) --- indra/llui/llemojidictionary.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/llui/llemojidictionary.cpp') 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; -- cgit v1.2.3