fix(portctl): normalize category translation keys
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ local function catSection(catName, ports)
|
|||||||
fill = "surface_container/0.4",
|
fill = "surface_container/0.4",
|
||||||
}, {
|
}, {
|
||||||
ui.glyph({ name = meta.icon, size = 12, color = meta.color }),
|
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" }),
|
ui.label({ text = tostring(#ports), fontSize = 10, color = meta.color .. "/0.6" }),
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
id = "rxtsel/portctl"
|
id = "rxtsel/portctl"
|
||||||
name = "Portctl"
|
name = "Portctl"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
plugin_api = 3
|
plugin_api = 3
|
||||||
author = "Cristhian Melo"
|
author = "Cristhian Melo"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -13,12 +13,12 @@
|
|||||||
"pid_copied": "Copied PID {pid}"
|
"pid_copied": "Copied PID {pid}"
|
||||||
},
|
},
|
||||||
"categories": {
|
"categories": {
|
||||||
"Development": "Development",
|
"development": "Development",
|
||||||
"Databases": "Databases",
|
"databases": "Databases",
|
||||||
"Containers": "Containers",
|
"containers": "Containers",
|
||||||
"Servers": "Servers",
|
"servers": "Servers",
|
||||||
"Cloud": "Cloud",
|
"cloud": "Cloud",
|
||||||
"Other": "Other"
|
"other": "Other"
|
||||||
},
|
},
|
||||||
"service": {
|
"service": {
|
||||||
"terminated": "Process {pid} terminated",
|
"terminated": "Process {pid} terminated",
|
||||||
|
|||||||
Reference in New Issue
Block a user