fix(i18n): update help text to reflect live preview

- Preview updates automatically as you type
- Ctrl+Enter triggers immediate validation, not required for basic use
This commit is contained in:
2025-12-30 15:11:50 +01:00
parent 08c3c8faee
commit b9f8fde9b9
2 changed files with 6 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ const translations = {
completingLessonsTitle: "Completing Lessons",
completingStep1: "Read the task instructions on the left",
completingStep2: "Write your code in the editor",
completingStep3: "Click <strong>Run</strong> or press <kbd>Ctrl+Enter</kbd> to test",
completingStep3: "Watch the live preview update as you type",
completingStep4: "Follow hints to fix any issues",
completingStep5: "Click <strong>Next</strong> when complete",
editorToolsTitle: "Editor Tools",
@@ -65,7 +65,7 @@ const translations = {
editorToolReset: "<strong>⟲ Reset</strong> - Restore initial code for current lesson",
editorToolExpected: "<strong>Show Expected</strong> - Toggle the target result overlay",
keyboardShortcutsTitle: "Keyboard Shortcuts",
shortcutRun: "<kbd>Ctrl+Enter</kbd> - Run your code",
shortcutRun: "<kbd>Ctrl+Enter</kbd> - Validate immediately",
shortcutUndo: "<kbd>Ctrl+Z</kbd> - Undo",
shortcutRedo: "<kbd>Ctrl+Shift+Z</kbd> - Redo",
emmetTitle: "Emmet Shortcuts (HTML mode)",
@@ -145,7 +145,7 @@ const translations = {
completingLessonsTitle: "Lektionen abschließen",
completingStep1: "Lies die Aufgabenstellung auf der linken Seite",
completingStep2: "Schreibe deinen Code im Editor",
completingStep3: "Klicke auf <strong>Ausführen</strong> oder drücke <kbd>Strg+Enter</kbd>",
completingStep3: "Beobachte die Live-Vorschau während du tippst",
completingStep4: "Folge den Hinweisen, um Fehler zu beheben",
completingStep5: "Klicke auf <strong>Weiter</strong>, wenn du fertig bist",
editorToolsTitle: "Editor-Werkzeuge",
@@ -153,7 +153,7 @@ const translations = {
editorToolReset: "<strong>⟲ Zurücksetzen</strong> - Ursprünglichen Code wiederherstellen",
editorToolExpected: "<strong>Lösung zeigen</strong> - Zielergebnis ein-/ausblenden",
keyboardShortcutsTitle: "Tastenkürzel",
shortcutRun: "<kbd>Strg+Enter</kbd> - Code ausführen",
shortcutRun: "<kbd>Strg+Enter</kbd> - Sofort validieren",
shortcutUndo: "<kbd>Strg+Z</kbd> - Rückgängig",
shortcutRedo: "<kbd>Strg+Umschalt+Z</kbd> - Wiederholen",
emmetTitle: "Emmet-Kürzel (HTML-Modus)",

View File

@@ -149,7 +149,7 @@
<ol>
<li data-i18n="completingStep1">Read the task instructions on the left</li>
<li data-i18n="completingStep2">Write your code in the editor</li>
<li data-i18n-html="completingStep3">Click <strong>Run</strong> or press <kbd>Ctrl+Enter</kbd> to test</li>
<li data-i18n="completingStep3">Watch the live preview update as you type</li>
<li data-i18n="completingStep4">Follow hints to fix any issues</li>
<li data-i18n-html="completingStep5">Click <strong>Next</strong> when complete</li>
</ol>
@@ -163,7 +163,7 @@
<h4 data-i18n="keyboardShortcutsTitle">Keyboard Shortcuts</h4>
<ul>
<li data-i18n-html="shortcutRun"><kbd>Ctrl+Enter</kbd> - Run your code</li>
<li data-i18n-html="shortcutRun"><kbd>Ctrl+Enter</kbd> - Validate immediately</li>
<li data-i18n-html="shortcutUndo"><kbd>Ctrl+Z</kbd> - Undo</li>
<li data-i18n-html="shortcutRedo"><kbd>Ctrl+Shift+Z</kbd> - Redo</li>
</ul>