mirror of
https://github.com/KarnerF/SMPlusGui.git
synced 2026-10-06 08:00:19 +02:00
Translate scan hint, clarify USB is first USB only
This commit is contained in:
1 parent
5c5c15d89c
commit
901e98748e
2 files changed
+7
-2
No files matched your search
@@ -123,7 +123,8 @@ typedef enum {
|
||||
LS_PREF_ELF = 111,
|
||||
LS_COMPAT = 112,
|
||||
LS_EXTRA_SCAN = 113,
|
||||
LS_COUNT = 114
|
||||
LS_SCAN_DEF_HINT = 114,
|
||||
LS_COUNT = 115
|
||||
} LangStrId;
|
||||
|
||||
static int ui_lang = LANG_EN;
|
||||
@@ -244,6 +245,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Bevorzugte ELF",
|
||||
"Kompatibilit\u00e4t",
|
||||
"Zus\u00e4tzliche Scan-Verzeichnisse",
|
||||
"Standard: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0/ (nur erstes USB)",
|
||||
},
|
||||
/* EN */ {
|
||||
"running",
|
||||
@@ -359,6 +361,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"Preferred ELF",
|
||||
"Compatibility",
|
||||
"Additional scan directories",
|
||||
"Default: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0/ (first USB only)",
|
||||
},
|
||||
/* FR */ {
|
||||
"actif",
|
||||
@@ -475,6 +478,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"ELF pr\u00e9f\u00e9r\u00e9",
|
||||
"Compatibilit\u00e9",
|
||||
"R\u00e9pertoires d'analyse suppl\u00e9mentaires",
|
||||
"D\u00e9faut : /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0/ (premier USB)",
|
||||
},
|
||||
/* ES */ {
|
||||
"activo",
|
||||
@@ -591,6 +595,7 @@ static const char *lang_table[LANG_COUNT][LS_COUNT] = {
|
||||
"ELF preferido",
|
||||
"Compatibilidad",
|
||||
"Directorios de an\u00e1lisis adicionales",
|
||||
"Predeterminado: /data/pldmgr/payloads/*/, /data/shadowmount/, /mnt/usb0/ (solo primer USB)",
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1091,7 +1091,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
"color:var(--dim);padding:5px 12px;cursor:pointer;font-family:var(--mono);font-size:.8rem;'>%s ▼</button></div>",
|
||||
L(LS_PREF_ELF), elfname);
|
||||
H("<div class='sublist-title' style='margin-top:16px;'>%s</div>",L(LS_EXTRA_SCAN));
|
||||
H("<p class='hint' style='margin-bottom:8px;'>ⓘ Default: <code>/data/pldmgr/payloads/*/</code>, <code>/data/shadowmount/</code>, <code>/mnt/usb0-7/</code></p>");
|
||||
H("<p class='hint' style='margin-bottom:8px;'>ⓘ %s</p>",L(LS_SCAN_DEF_HINT));
|
||||
H("<div id='extra-scan-list'>");
|
||||
for(int i=0;i<prefs.extra_scan_count;i++)
|
||||
H("<div class='path-row'><input type='text' value='%s' placeholder='/mnt/usb0' onchange='saveExtraScan()'>"
|
||||
|
||||
Reference in new issue
Block a user