mirror of
https://github.com/KarnerF/SMPlusGui.git
synced 2026-10-06 06:00:20 +02:00
Translate ELF select button text, all else verified
This commit is contained in:
1 parent
558bc47373
commit
7cd3977db1
2 files changed
+7
-2
No files matched your search
@@ -124,7 +124,8 @@ typedef enum {
|
||||
LS_COMPAT = 112,
|
||||
LS_EXTRA_SCAN = 113,
|
||||
LS_SCAN_DEF_HINT = 114,
|
||||
LS_COUNT = 115
|
||||
LS_SELECT_ELF = 115,
|
||||
LS_COUNT = 116
|
||||
} LangStrId;
|
||||
|
||||
static int ui_lang = LANG_EN;
|
||||
@@ -246,6 +247,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Kompatibilit\u00e4t",
|
||||
"Zus\u00e4tzliche Scan-Verzeichnisse",
|
||||
"Standard: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0-7/ \u2014 sucht shadowmount*.elf / shadowmountplus*.elf",
|
||||
"ELF ausw\u00e4hlen",
|
||||
},
|
||||
/* EN */ {
|
||||
"running",
|
||||
@@ -362,6 +364,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Compatibility",
|
||||
"Additional scan directories",
|
||||
"Default: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0-7/ \u2014 searches shadowmount*.elf / shadowmountplus*.elf",
|
||||
"Select ELF",
|
||||
},
|
||||
/* FR */ {
|
||||
"actif",
|
||||
@@ -479,6 +482,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Compatibilit\u00e9",
|
||||
"R\u00e9pertoires d'analyse suppl\u00e9mentaires",
|
||||
"D\u00e9faut : /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0-7/ \u2014 cherche shadowmount*.elf / shadowmountplus*.elf",
|
||||
"S\u00e9lectionner ELF",
|
||||
},
|
||||
/* ES */ {
|
||||
"activo",
|
||||
@@ -596,6 +600,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Compatibilidad",
|
||||
"Directorios de an\u00e1lisis adicionales",
|
||||
"Predeterminado: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0-7/ \u2014 busca shadowmount*.elf / shadowmountplus*.elf",
|
||||
"Seleccionar ELF",
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1078,7 +1078,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
/* Panel: Mounting */
|
||||
/* ── Autostart panel ── */
|
||||
{ SMPrefs prefs; read_prefs(&prefs);
|
||||
const char *elfname="ELF w\u00e4hlen";
|
||||
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>");
|
||||
|
||||
Reference in new issue
Block a user