From 4400efae337a348b8f527d6a2889e43f9005906c Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 24 May 2024 09:23:26 +0300 Subject: [PATCH] item captions format update --- src/graphics/ui/elements/InventoryView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/ui/elements/InventoryView.cpp b/src/graphics/ui/elements/InventoryView.cpp index 7995a583..181b8bd7 100644 --- a/src/graphics/ui/elements/InventoryView.cpp +++ b/src/graphics/ui/elements/InventoryView.cpp @@ -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 }