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" }),
}))
+1 -1
View File
@@ -2,7 +2,7 @@
id = "rxtsel/portctl"
name = "Portctl"
version = "0.2.0"
version = "0.2.1"
plugin_api = 3
author = "Cristhian Melo"
license = "MIT"
+6 -6
View File
@@ -13,12 +13,12 @@
"pid_copied": "Copied PID {pid}"
},
"categories": {
"Development": "Development",
"Databases": "Databases",
"Containers": "Containers",
"Servers": "Servers",
"Cloud": "Cloud",
"Other": "Other"
"development": "Development",
"databases": "Databases",
"containers": "Containers",
"servers": "Servers",
"cloud": "Cloud",
"other": "Other"
},
"service": {
"terminated": "Process {pid} terminated",