Replace '@category.' + cat.name with cat.localized() to achieve better compatibility with StatCat. I don't understand why localized was written but not used. (#11687)

This commit is contained in:
Alone
2026-02-18 05:51:19 +08:00
committed by GitHub
parent 75155f7304
commit 9127d8a8ac

View File

@@ -81,7 +81,7 @@ public class ContentInfoDialog extends BaseDialog{
if(map.size == 0) continue;
if(stats.useCategories){
table.add("@category." + cat.name).color(Pal.accent).fillX();
table.add(cat.localized()).color(Pal.accent).fillX();
table.row();
}