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:
@@ -81,7 +81,7 @@ public class ContentInfoDialog extends BaseDialog{
|
|||||||
if(map.size == 0) continue;
|
if(map.size == 0) continue;
|
||||||
|
|
||||||
if(stats.useCategories){
|
if(stats.useCategories){
|
||||||
table.add("@category." + cat.name).color(Pal.accent).fillX();
|
table.add(cat.localized()).color(Pal.accent).fillX();
|
||||||
table.row();
|
table.row();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user