1
0
Fork 0

[Launcher] Update labels

- Shorten settings title
- Change menu items to Camel Case
master
Alessandro Cocco 2022-04-18 22:03:37 +02:00
parent c214f47313
commit 2e5f198d66
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
require("Storage").write("launch.json",settings); require("Storage").write("launch.json",settings);
} }
const appMenu = { const appMenu = {
"": {"title": /*LANG*/"Launcher Settings"}, "": { "title": /*LANG*/"Launcher" },
/*LANG*/"< Back": back, /*LANG*/"< Back": back,
/*LANG*/"Font": { /*LANG*/"Font": {
value: fonts.includes(settings.font)? fonts.indexOf(settings.font) : fonts.indexOf("12x20"), value: fonts.includes(settings.font)? fonts.indexOf(settings.font) : fonts.indexOf("12x20"),
@ -16,12 +16,12 @@
onchange: (m) => {save("font", fonts[m])}, onchange: (m) => {save("font", fonts[m])},
format: v => fonts[v] format: v => fonts[v]
}, },
/*LANG*/"Vector font size": { /*LANG*/"Vector Font Size": {
value: settings.vectorsize || 10, value: settings.vectorsize || 10,
min:10, max: 20,step:1,wrap:true, min:10, max: 20,step:1,wrap:true,
onchange: (m) => {save("vectorsize", m)} onchange: (m) => {save("vectorsize", m)}
}, },
/*LANG*/"Show clocks": { /*LANG*/"Show Clocks": {
value: settings.showClocks == true, value: settings.showClocks == true,
format: v => v ? /*LANG*/"Yes" : /*LANG*/"No", format: v => v ? /*LANG*/"Yes" : /*LANG*/"No",
onchange: (m) => {save("showClocks", m)} onchange: (m) => {save("showClocks", m)}