Cleanup: more strings cleanup, removing capitalization and minor adjusments.

This commit is contained in:
LemmyCook
2025-09-19 17:03:31 -04:00
parent dabf281ae8
commit 761aa62995
26 changed files with 64 additions and 64 deletions
+2 -2
View File
@@ -98,14 +98,14 @@ Singleton {
try {
const lines = text.split('\n')
for (const line of lines) {
if (line.includes('X11 Layout:')) {
if (line.includes("X11 Layout:")) {
const layout = line.split(':')[1].trim()
if (layout && layout !== "n/a") {
root.currentLayout = layout
return
}
}
if (line.includes('VC Keymap:')) {
if (line.includes("VC Keymap:")) {
const keymap = line.split(':')[1].trim()
if (keymap && keymap !== "n/a") {
root.currentLayout = extractLayoutCode(keymap)