fix(portctl): normalize category translation keys

This commit is contained in:
Lemmy
2026-07-18 01:22:35 -04:00
parent 8c1d5ff2f6
commit a3287ecc1f
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ local function catSection(catName, ports)
fill = "surface_container/0.4",
}, {
ui.glyph({ name = meta.icon, size = 12, color = meta.color }),
ui.label({ text = noctalia.tr("categories." .. catName), fontSize = 11, fontWeight = "bold", color = meta.color }),
ui.label({ text = noctalia.tr("categories." .. catName:lower()), fontSize = 11, fontWeight = "bold", color = meta.color }),
ui.label({ text = tostring(#ports), fontSize = 10, color = meta.color .. "/0.6" }),
}))