mirror of
https://github.com/KarnerF/SMPlusGui.git
synced 2026-10-06 06:00:20 +02:00
Rename Autostart panel to Startoptionen; separate ShadowMountPlus restart option; fix labels
This commit is contained in:
1 parent
6313ea6e42
commit
48c1eb6ebc
2 files changed
+8
-7
No files matched your search
@@ -259,7 +259,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"ELF ausw\u00e4hlen",
|
||||
"Icon-Position",
|
||||
"Icon immer nach vorne schieben",
|
||||
"SM immer neu starten (auch wenn l\u00e4uft)",
|
||||
"ShadowMountPlus immer neu starten (auch wenn l\u00e4uft)",
|
||||
"Legacy Mount-Profile",
|
||||
"Emulatoren",
|
||||
"Emulatoren aus Ordner aktualisieren",
|
||||
@@ -385,7 +385,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Select ELF",
|
||||
"Icon Position",
|
||||
"Always move icon to front",
|
||||
"Always restart SM (even if running)",
|
||||
"Always restart ShadowMountPlus (even if running)",
|
||||
"Legacy Mount Profiles",
|
||||
"Emulators",
|
||||
"Update emulators from folder",
|
||||
@@ -512,7 +512,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"S\u00e9lectionner ELF",
|
||||
"Position de l'ic\u00f4ne",
|
||||
"Toujours mettre l'ic\u00f4ne au premier plan",
|
||||
"Toujours red\u00e9marrer SM (m\u00eame si actif)",
|
||||
"Toujours red\u00e9marrer ShadowMountPlus (m\u00eame si actif)",
|
||||
"Profils de montage h\u00e9rit\u00e9s",
|
||||
"\u00c9mulateurs",
|
||||
"Mettre \u00e0 jour les \u00e9mulateurs depuis le dossier",
|
||||
@@ -639,7 +639,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Seleccionar ELF",
|
||||
"Posici\u00f3n del icono",
|
||||
"Siempre mover el icono al frente",
|
||||
"Siempre reiniciar SM (incluso si est\u00e1 activo)",
|
||||
"Siempre reiniciar ShadowMountPlus (incluso si est\u00e1 activo)",
|
||||
"Perfiles de montaje heredados",
|
||||
"Emuladores",
|
||||
"Actualizar emuladores desde la carpeta",
|
||||
|
||||
@@ -1101,7 +1101,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
H("<nav class='sidebar'>");
|
||||
H("<button type='button' class='nav-item active' data-p='mnt' onclick='showP(this)'>Mounting</button>");
|
||||
H("<button type='button' class='nav-item' data-p='scn' onclick='showP(this)'>Scan</button>");
|
||||
H("<button type='button' class='nav-item' data-p='auto' onclick='showP(this)'>Autostart</button>");
|
||||
H("<button type='button' class='nav-item' data-p='auto' onclick='showP(this)'>Startoptionen</button>");
|
||||
H("<button type='button' class='nav-item' data-p='arm' onclick='showP(this)'>Auto-Remove</button>");
|
||||
H("<div class='nav-sep'></div>");
|
||||
H("<button type='button' class='nav-item' data-p='kst' onclick='showP(this)'>kstuff</button>");
|
||||
@@ -1155,7 +1155,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
const char *elfname=L(LS_SELECT_ELF);
|
||||
if(prefs.preferred_elf[0]){const char *sl=strrchr(prefs.preferred_elf,'/');elfname=sl?sl+1:prefs.preferred_elf;}
|
||||
H("<div id='panel-auto' class='panel'><div class='section'>");
|
||||
H("<div class='sublist-title'>Autostart</div>");
|
||||
H("<div class='sublist-title'>Startoptionen</div>");
|
||||
H("<div class='row'><label>%s</label>"
|
||||
"<input type='checkbox' id='as-chk' style='display:none;'%s onchange='onAS(this.checked)'>"
|
||||
"<label class='switch' for='as-chk'></label></div>",
|
||||
@@ -1178,7 +1178,8 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
"<input type='checkbox' id='icon-front-chk' style='display:none;'%s onchange='saveIconFront(this.checked)'>"
|
||||
"<label class='switch' for='icon-front-chk'></label></div>",
|
||||
L(LS_ICON_FRONT_LABEL), prefs.icon_always_front?" checked":"");
|
||||
/* always-restart option */
|
||||
/* always-restart in its own section, not under icon-position */
|
||||
H("<div class='sublist-title' style='margin-top:16px;'>ShadowMountPlus</div>");
|
||||
H("<div class='row'><label>%s</label>"
|
||||
"<input type='checkbox' id='ars-chk' style='display:none;'%s onchange='saveAlwaysRestart(this.checked)'>"
|
||||
"<label class='switch' for='ars-chk'></label></div>",
|
||||
|
||||
Reference in new issue
Block a user