item captions format update

This commit is contained in:
MihailRis 2024-05-24 09:23:26 +03:00
parent fa985138c4
commit 4400efae33

View File

@ -277,7 +277,7 @@ const std::wstring SlotView::getTooltip() const {
return str;
}
auto def = content->getIndices()->getItemDef(bound->getItemId());
return util::capitalized(
return util::pascal_case(
langs::get(util::str2wstr_utf8(def->caption))
); // TODO: cache
}