fix: update German translations and make reset button prominent

This commit is contained in:
2025-12-30 21:52:13 +01:00
parent f135c8ee15
commit 31a99197f8
2 changed files with 18 additions and 3 deletions

View File

@@ -124,8 +124,8 @@ const translations = {
rerun: "Erneut anwenden",
// Preview
yourOutput: "Deine Ausgabe",
showExpected: "Lösung zeigen",
yourOutput: "Dein Ergebnis",
showExpected: "Lösung einblenden",
hideExpected: "Lösung ausblenden",
previous: "Zurück",
next: "Weiter",
@@ -163,7 +163,7 @@ const translations = {
editorToolsTitle: "Editor-Werkzeuge",
editorToolUndo: "<strong>↶ Rückgängig</strong> / <strong>↷ Wiederholen</strong> - Bearbeitungsverlauf navigieren",
editorToolReset: "<strong>⟲ Zurücksetzen</strong> - Ursprünglichen Code wiederherstellen",
editorToolExpected: "<strong>Lösung zeigen</strong> - Zielergebnis ein-/ausblenden",
editorToolExpected: "<strong>Lösung einblenden</strong> - Zielergebnis ein-/ausblenden",
keyboardShortcutsTitle: "Tastenkürzel",
shortcutRun: "<kbd>Strg+Enter</kbd> - Sofort validieren",
shortcutUndo: "<kbd>Strg+Z</kbd> - Rückgängig",

View File

@@ -943,6 +943,21 @@ button.lesson-list-item {
color: var(--danger-color);
}
#reset-btn {
background: var(--danger-color);
color: white;
text-decoration: none;
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--border-radius-sm);
font-weight: 600;
margin-top: var(--spacing-sm);
}
#reset-btn:hover {
background: #dc2626;
color: white;
}
/* ================= TOGGLE SWITCH ================= */
.toggle-switch {
display: flex;