From 3c08b45b6aada08c48b498b29e925f9a23fb51b8 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Sun, 11 Jan 2026 04:40:21 +0100 Subject: [PATCH] feat: add whyThisWorks translation key for concept section Add 'Why This Works' translation key to all 6 supported languages (en, de, pl, es, ar, uk) for the new concept section UI in lessons. --- src/i18n.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/i18n.js b/src/i18n.js index b2dcea4..c6f15ae 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -17,6 +17,7 @@ const translations = { // Instructions loading: "Loading...", selectLesson: "Please select a lesson to begin.", + whyThisWorks: "Why This Works", editorLabel: "CSS Editor", undoTitle: "Undo (Ctrl+Z)", redoTitle: "Redo (Ctrl+Shift+Z)", @@ -124,6 +125,7 @@ const translations = { // Instructions loading: "Laden...", selectLesson: "Bitte wähle eine Lektion aus, um zu beginnen.", + whyThisWorks: "Warum das funktioniert", editorLabel: "CSS-Editor", undoTitle: "Rückgängig (Strg+Z)", redoTitle: "Wiederholen (Strg+Umschalt+Z)", @@ -233,6 +235,7 @@ const translations = { // Instructions loading: "Ładowanie...", selectLesson: "Wybierz lekcję, aby rozpocząć.", + whyThisWorks: "Dlaczego to działa", editorLabel: "Edytor CSS", undoTitle: "Cofnij (Ctrl+Z)", redoTitle: "Ponów (Ctrl+Shift+Z)", @@ -341,6 +344,7 @@ const translations = { // Instructions loading: "Cargando...", selectLesson: "Selecciona una lección para comenzar.", + whyThisWorks: "Por qué funciona", editorLabel: "Editor CSS", undoTitle: "Deshacer (Ctrl+Z)", redoTitle: "Rehacer (Ctrl+Shift+Z)", @@ -450,6 +454,7 @@ const translations = { // Instructions loading: "جاري التحميل...", selectLesson: "اختر درسًا للبدء.", + whyThisWorks: "لماذا يعمل هذا", editorLabel: "محرر CSS", undoTitle: "تراجع (Ctrl+Z)", redoTitle: "إعادة (Ctrl+Shift+Z)", @@ -557,6 +562,7 @@ const translations = { // Instructions loading: "Завантаження...", selectLesson: "Оберіть урок, щоб почати.", + whyThisWorks: "Чому це працює", editorLabel: "Редактор CSS", undoTitle: "Скасувати (Ctrl+Z)", redoTitle: "Повторити (Ctrl+Shift+Z)",