Standardize remaining UI/config text to English
This commit is contained in:
parent
601c1fbcb2
commit
e60b86ea7e
@ -213,10 +213,10 @@ q {
|
||||
/* ================================================= */
|
||||
/* Custom colors for subheadings and chat (Kavita) */
|
||||
/* <span class="subheading">Tussentitel</span> */
|
||||
/* <span class="chat">“Dit is een chatregel.”</span> */
|
||||
/* <span class="chat">“This is a chat line.”</span> */
|
||||
/* ================================================= */
|
||||
|
||||
/* bestaande regels */
|
||||
/* existing rules */
|
||||
span.subheading {
|
||||
color: rgb(224, 62, 45) !important;
|
||||
font-weight: bold !important;
|
||||
@ -226,7 +226,7 @@ span.chat {
|
||||
color: rgb(230, 126, 35) !important;
|
||||
}
|
||||
|
||||
/* nieuwe regels voor vet binnen je spans */
|
||||
/* new rules for bold text inside spans */
|
||||
span.subheading strong,
|
||||
span.subheading b {
|
||||
color: rgb(224, 62, 45) !important;
|
||||
@ -237,7 +237,7 @@ span.chat b {
|
||||
color: rgb(230, 126, 35) !important;
|
||||
}
|
||||
|
||||
/* eventueel ook voor dark mode */
|
||||
/* optional dark mode adjustments */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
span.subheading,
|
||||
span.subheading strong,
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
<section class="card">
|
||||
<div class="card-head">Run</div>
|
||||
<p class="muted" style="margin-top:0;margin-bottom:0.9rem;">
|
||||
Gebruik <strong>Dry Run</strong> om zonder upload te valideren (inclusief `pg_dump`).
|
||||
Use <strong>Dry Run</strong> to validate without uploading (including pg_dump).
|
||||
</p>
|
||||
<div class="actions">
|
||||
<button class="btn" id="btn-dry" onclick="runBackup(true)">Run Dry Backup</button>
|
||||
|
||||
@ -195,20 +195,20 @@
|
||||
<div class="card">
|
||||
<div class="card-title">Break detection</div>
|
||||
<div class="card-desc">
|
||||
Patronen die herkend worden als scèneovergang tijdens het converteren.
|
||||
Wijzigingen zijn actief bij de eerstvolgende conversie.
|
||||
Patterns recognized as scene breaks during conversion.
|
||||
Changes become active on the next conversion.
|
||||
</div>
|
||||
|
||||
<div class="bp-section">
|
||||
<div class="bp-section-title">Regex patronen</div>
|
||||
<div class="bp-section-title">Regex patterns</div>
|
||||
<div class="bp-list" id="bp-regex-list"></div>
|
||||
<div class="bp-add-row" style="margin-bottom:0.4rem">
|
||||
<input class="bp-input" id="bp-text-input" type="text" placeholder="Letterlijke breektekst (bv. *** of ——)…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPatternFromText()">Toevoegen</button>
|
||||
<input class="bp-input" id="bp-text-input" type="text" placeholder="Literal break text (e.g. *** or ——)…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPatternFromText()">Add</button>
|
||||
</div>
|
||||
<div class="bp-add-row">
|
||||
<input class="bp-input" id="bp-regex-input" type="text" placeholder="Of voer zelf een regex in…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPattern('regex')">Regex toevoegen</button>
|
||||
<input class="bp-input" id="bp-regex-input" type="text" placeholder="Or enter a regex manually…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPattern('regex')">Add regex</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -218,8 +218,8 @@
|
||||
<div class="bp-section-title">CSS classes</div>
|
||||
<div class="bp-list" id="bp-css-list"></div>
|
||||
<div class="bp-add-row">
|
||||
<input class="bp-input" id="bp-css-input" type="text" placeholder="CSS class naam…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPattern('css_class')">Toevoegen</button>
|
||||
<input class="bp-input" id="bp-css-input" type="text" placeholder="CSS class name…" autocomplete="off"/>
|
||||
<button class="btn btn-add" onclick="addPattern('css_class')">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -228,7 +228,7 @@
|
||||
<div class="bp-section">
|
||||
<div class="bp-section-title">Test</div>
|
||||
<div class="bp-test-row">
|
||||
<input class="bp-input" id="bp-test-input" type="text" placeholder="Tekst om te testen…" autocomplete="off"/>
|
||||
<input class="bp-input" id="bp-test-input" type="text" placeholder="Text to test…" autocomplete="off"/>
|
||||
<button class="btn btn-test" onclick="testBreak()">Test</button>
|
||||
</div>
|
||||
<div class="feedback" id="bp-test-result"></div>
|
||||
@ -276,7 +276,7 @@
|
||||
const el = document.getElementById(elId);
|
||||
el.innerHTML = '';
|
||||
if (!items.length) {
|
||||
el.innerHTML = '<div style="font-family:var(--mono);font-size:0.72rem;color:var(--text-faint);padding:0.3rem 0">Geen patronen.</div>';
|
||||
el.innerHTML = '<div style="font-family:var(--mono);font-size:0.72rem;color:var(--text-faint);padding:0.3rem 0">No patterns.</div>';
|
||||
return;
|
||||
}
|
||||
items.forEach(p => {
|
||||
@ -287,7 +287,7 @@
|
||||
<input type="checkbox" class="bp-toggle" ${p.enabled ? 'checked' : ''} onchange="togglePattern(${p.id}, this.checked)"/>
|
||||
<span class="bp-pattern" title="${esc(p.pattern)}">${esc(p.pattern)}</span>
|
||||
${p.is_default ? '<span class="bp-default-badge">default</span>' : ''}
|
||||
<button class="bp-delete" onclick="deletePattern(${p.id})" title="Verwijder">×</button>
|
||||
<button class="bp-delete" onclick="deletePattern(${p.id})" title="Remove">×</button>
|
||||
`;
|
||||
el.appendChild(row);
|
||||
});
|
||||
@ -318,7 +318,7 @@
|
||||
await loadBreakPatterns();
|
||||
} else {
|
||||
fb.className = 'feedback err';
|
||||
fb.textContent = data.error || 'Fout bij toevoegen.';
|
||||
fb.textContent = data.error || 'Error while adding.';
|
||||
}
|
||||
}
|
||||
|
||||
@ -341,7 +341,7 @@
|
||||
await loadBreakPatterns();
|
||||
} else {
|
||||
fb.className = 'feedback err';
|
||||
fb.textContent = data.error || 'Fout bij toevoegen.';
|
||||
fb.textContent = data.error || 'Error while adding.';
|
||||
}
|
||||
}
|
||||
|
||||
@ -373,14 +373,14 @@
|
||||
try {
|
||||
if (new RegExp(p.pattern).test(text)) {
|
||||
fb.className = 'feedback ok';
|
||||
fb.textContent = `✓ Break gedetecteerd via regex: ${p.pattern}`;
|
||||
fb.textContent = `✓ Break detected via regex: ${p.pattern}`;
|
||||
return;
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
|
||||
fb.className = 'feedback err';
|
||||
fb.textContent = '✗ Niet herkend als break. (CSS classes worden niet getest — die werken op HTML attributen.)';
|
||||
fb.textContent = '✗ Not recognized as a break. (CSS classes are not tested here — they apply to HTML attributes.)';
|
||||
}
|
||||
|
||||
function esc(s) {
|
||||
|
||||
@ -6,5 +6,5 @@ POSTGRES_PASSWORD=change-me
|
||||
# Keep this stable after first use; changing it breaks decrypt of existing credentials.
|
||||
NOVELA_MASTER_KEY=change-me-long-random-secret
|
||||
|
||||
# Map voor backup manifest/config binnen container (default: config)
|
||||
# Path for backup manifest/config inside container (default: config)
|
||||
CONFIG_DIR=config
|
||||
|
||||
Loading…
Reference in New Issue
Block a user