Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 49 additions & 11 deletions web/src/core/codeGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ function forcedCaseComment(name: string, target: CodeTarget): string {
function emitInstructionLike(textLines: string[], target: CodeTarget, options: CodeOptions, indent: number, sink: Sink) {
const body = textLines.map((l) => l.trim())
if (body.every((l) => l === '')) {
// Neue, noch leere Anweisung: in Java eine leere Anweisung.
if (options.live) sink.out += sp(indent) + ';\n'
// Neue, noch leere Anweisung: eine leere Anweisung (Python: `pass`).
if (options.live) sink.out += sp(indent) + (target === 'python' ? 'pass' : ';') + '\n'
return
}
if (options.includeDiagramTextAsComments) {
Expand Down Expand Up @@ -1123,6 +1123,8 @@ function emitElement(element: VSElement, target: CodeTarget, options: CodeOption
for (const el of element.loopBody ?? []) emit(el, target, options, indent + step, sink)
sink.out += sp(indent + step) + pythonStatementLine(loop.increment, ints) + '\n'
return
} else if (options.live) {
sink.out += sp(indent) + livePythonForLoopHeaderText(element.textLines, options.live.labels, ints) + '\n'
} else {
header('for ', ':\n')
}
Expand Down Expand Up @@ -1153,7 +1155,8 @@ function emitElement(element: VSElement, target: CodeTarget, options: CodeOption
const bodyStart = indent + step
body(element.loopBody ?? [], bodyStart)
commentIfWanted(bodyStart)
sink.out += sp(bodyStart) + 'if not (' + pythonExpression(cond, options.jsIntVariables ?? new Set()) + '):\n'
const expression = cond.includes(livePlaceholderStart) ? cond : pythonExpression(cond, options.jsIntVariables ?? new Set())
sink.out += sp(bodyStart) + 'if not (' + expression + '):\n'
sink.out += sp(bodyStart + step) + 'break\n'
} else {
sink.out += sp(indent) + 'do {\n'
Expand Down Expand Up @@ -1190,6 +1193,8 @@ export interface LiveLabels {
code: string
start: string
step: string
/** Obergrenze von `range(…)` in Python. */
end: string
}

/** Zeilen eines Elements im erzeugten Code (ab 0, `to` einschließlich). */
Expand All @@ -1206,13 +1211,16 @@ export interface LiveCode {
}

interface LiveContext {
target: LiveTarget
labels: LiveLabels
paths: Map<VSElement, number[]>
spans: LiveSpan[]
}

const livePlaceholderText = (label: string) => livePlaceholderStart + label + livePlaceholderEnd
const livePlaceholderLine = (indent: number, live: LiveContext) => sp(indent) + livePlaceholderText('// ' + live.labels.code) + '\n'
/** Leerer Block: `// Dein Code`; Python braucht dort eine Anweisung, also `pass # Dein Code`. */
const livePlaceholderLine = (indent: number, live: LiveContext) =>
sp(indent) + livePlaceholderText(live.target === 'python' ? `pass # ${live.labels.code}` : `// ${live.labels.code}`) + '\n'
const isBlank = (lines: string[]) => lines.every((l) => l.trim() === '')

/** `for (Startwert; Bedingung; Schritt)`: leere Felder werden zu Platzhaltern. */
Expand All @@ -1237,6 +1245,26 @@ function liveJavaScriptForLoopHeaderText(lines: string[], labels: LiveLabels): s
return parts.join(';')
}

/**
* Unvollständige Zählschleife in Python: `for i in range(Start, Ende):`, fehlende Teile als Platzhalter.
* (Vollständige Köpfe übersetzt `pythonForLoop`.)
*/
function livePythonForLoopHeaderText(lines: string[], labels: LiveLabels, intVariables: Set<string>): string {
const [initS = '', condS = '', stepS = ''] = lines.length === 3 ? lines.map((l) => stripTrailingSemicolon(l)) : []
const init = groups(/^\s*(?:integer|int|long|short|byte|double|float)?\s*([a-zA-Z_]\w*)\s*=\s*(.+)$/i, initS)
const name = init?.[1] ?? groups(/^\s*([a-zA-Z_]\w*)\s*(?:<=|<|>=|>)/, condS)?.[1]
const start = init ? pythonExpression(init[2], intVariables) : livePlaceholderText(labels.start)
const cond = groups(/^\s*(\w+)\s*(<=|<)\s*(.+)$/, condS)
let stop = livePlaceholderText(labels.end)
if (cond && (name === undefined || cond[1] === name)) {
stop = pythonExpression(cond[3], intVariables)
if (cond[2] === '<=') stop = shiftedBound(stop, 1)
}
const step = name === undefined ? undefined : forLoopStepSize(stepS, name)
const args = [start, stop, ...(step !== undefined && step !== 1 ? [String(step)] : [])]
return `for ${name ?? livePlaceholderText(labels.selector)} in range(${args.join(', ')}):`
}

/** Pfade wie in `editing.ts`: `[i, Zweig, j, …]`, Schleifenrumpf = Zweig 0. */
function elementPaths(elements: VSElement[], prefix: number[] = [], out = new Map<VSElement, number[]>()) {
elements.forEach((e, i) => {
Expand All @@ -1256,31 +1284,41 @@ function recordLiveSpan(options: CodeOptions, element: VSElement, sink: Sink, st
live.spans.push({ path, from: lineAt(start), to: lineAt(sink.out.length - 1) })
}

/** Zielsprachen der Ansicht „Code live“ (Python folgt). */
export type LiveTarget = 'java' | 'javascript'
/** Zielsprachen der Ansicht „Code live“. */
export type LiveTarget = 'java' | 'javascript' | 'python'

/**
* Code für die Ansicht „Code live“: wie das Code-Snippet, aber für Anfänger lesbar, solange noch etwas fehlt
* (leere Anweisung `;`, `if (Bedingung)`, `// Dein Code` in leeren Blöcken), und mit den Zeilen jedes Elements.
*/
export function generateLiveCode(document: VSDocument, target: LiveTarget, labels: LiveLabels): LiveCode {
const live: LiveContext = { labels, paths: elementPaths(document.elements), spans: [] }
const live: LiveContext = { target, labels, paths: elementPaths(document.elements), spans: [] }
const opts = documentOptions(document, target, { includeEmptyElseBranch: true, live })
const header = parseSubprogramHeader(document.caption)
let prelude = ''
if (target === 'java') {
if (documentContainsJavaInput(document)) prelude += '// import java.util.Scanner;\nScanner scanner = new Scanner(System.in);\n\n'
if (header) prelude += javaMethodHeader(header) + '\n'
} else {
prelude += '"use strict";\n\n'
if (header) {
for (const p of header.params) if (!p.dims && p.type === 'int') opts.jsIntVariables!.add(p.name)
prelude += `function ${header.name}(${header.params.map((p) => p.name).join(', ')}) {\n`
for (const p of header.params) {
if (p.dims) continue
if (p.type === 'int') opts.jsIntVariables!.add(p.name)
if (p.type === 'string') opts.stringVariables!.add(p.name)
}
}
const names = header?.params.map((p) => p.name).join(', ')
if (target === 'javascript') {
prelude += '"use strict";\n\n'
if (header) prelude += `function ${header.name}(${names}) {\n`
} else {
if (documentContainsJavaMathRandom(document)) prelude += 'import random\n\n'
if (header) prelude += `def ${header.name}(${names}):\n`
}
}
const sink = { out: '' }
emitBlockBody(document.elements, target, opts, header ? opts.indentPerLevel : 0, sink)
if (header) sink.out += '}\n'
if (header && target !== 'python') sink.out += '}\n'
const offset = prelude.split('\n').length - 1
return {
text: postProcessLengthSyntax((prelude + sink.out).replace(/\n+$/, ''), target),
Expand Down
1 change: 1 addition & 0 deletions web/src/i18n/ar.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "تنمو الشيفرة مع مخططك. الرمادي = عنصر نائب: اكتب في المفتش ليظهر نصك هنا. انقر على سطر لتحديد عنصره.";
"web_live_ph_selector" = "المتغير";
"web_live_ph_code" = "شيفرتك";
"web_live_ph_end" = "النهاية";
1 change: 1 addition & 0 deletions web/src/i18n/da.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Koden vokser med dit diagram. Gråt = pladsholder: skriv i inspektøren, så vises teksten her. Klik på en linje for at vælge elementet.";
"web_live_ph_selector" = "variabel";
"web_live_ph_code" = "Din kode";
"web_live_ph_end" = "slut";
1 change: 1 addition & 0 deletions web/src/i18n/de.strings
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@
"web_live_hint" = "Der Code wächst mit deinem Struktogramm. Grau = Platzhalter: Schreib im Objektinspektor, dann steht dort dein Text. Klick auf eine Zeile markiert das Element.";
"web_live_ph_selector" = "Variable";
"web_live_ph_code" = "Dein Code";
"web_live_ph_end" = "Ende";
1 change: 1 addition & 0 deletions web/src/i18n/el.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Ο κώδικας μεγαλώνει μαζί με το διάγραμμα. Γκρι = σύμβολο κράτησης: γράψε στον επιθεωρητή και το κείμενό σου εμφανίζεται εδώ. Κάνε κλικ σε μια γραμμή για να επιλέξεις το στοιχείο.";
"web_live_ph_selector" = "μεταβλητή";
"web_live_ph_code" = "Ο κώδικάς σου";
"web_live_ph_end" = "τέλος";
1 change: 1 addition & 0 deletions web/src/i18n/en.strings
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@
"web_live_hint" = "The code grows with your diagram. Grey = placeholder: type in the object inspector and your text appears there. Click a line to select its element.";
"web_live_ph_selector" = "variable";
"web_live_ph_code" = "Your code";
"web_live_ph_end" = "end";
1 change: 1 addition & 0 deletions web/src/i18n/es.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "El código crece con tu diagrama. Gris = marcador: escribe en el inspector y tu texto aparecerá ahí. Haz clic en una línea para seleccionar su elemento.";
"web_live_ph_selector" = "variable";
"web_live_ph_code" = "Tu código";
"web_live_ph_end" = "fin";
1 change: 1 addition & 0 deletions web/src/i18n/fr.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Le code évolue avec ton diagramme. Gris = espace réservé : écris dans l’inspecteur et ton texte apparaît ici. Clique sur une ligne pour sélectionner son élément.";
"web_live_ph_selector" = "variable";
"web_live_ph_code" = "Ton code";
"web_live_ph_end" = "fin";
1 change: 1 addition & 0 deletions web/src/i18n/he.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "הקוד גדל יחד עם התרשים. אפור = ממלא מקום: כתבו במפקח והטקסט יופיע כאן. לחצו על שורה כדי לבחור את הרכיב.";
"web_live_ph_selector" = "משתנה";
"web_live_ph_code" = "הקוד שלך";
"web_live_ph_end" = "סוף";
1 change: 1 addition & 0 deletions web/src/i18n/it.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Il codice cresce con il tuo diagramma. Grigio = segnaposto: scrivi nell’ispettore e il tuo testo appare qui. Clicca su una riga per selezionarne l’elemento.";
"web_live_ph_selector" = "variabile";
"web_live_ph_code" = "Il tuo codice";
"web_live_ph_end" = "fine";
1 change: 1 addition & 0 deletions web/src/i18n/ja.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "コードは図と一緒に育ちます。灰色=プレースホルダー:インスペクタに入力するとここに表示されます。行をクリックすると要素を選択します。";
"web_live_ph_selector" = "変数";
"web_live_ph_code" = "ここにコード";
"web_live_ph_end" = "終了";
1 change: 1 addition & 0 deletions web/src/i18n/ko.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "코드는 다이어그램과 함께 자랍니다. 회색 = 자리 표시자: 속성 창에 입력하면 여기에 표시됩니다. 줄을 클릭하면 해당 요소가 선택됩니다.";
"web_live_ph_selector" = "변수";
"web_live_ph_code" = "코드 작성";
"web_live_ph_end" = "끝";
1 change: 1 addition & 0 deletions web/src/i18n/nb.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Koden vokser med diagrammet ditt. Grått = plassholder: skriv i inspektøren, så vises teksten her. Klikk på en linje for å velge elementet.";
"web_live_ph_selector" = "variabel";
"web_live_ph_code" = "Din kode";
"web_live_ph_end" = "slutt";
1 change: 1 addition & 0 deletions web/src/i18n/nl.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "De code groeit mee met je diagram. Grijs = plaatshouder: typ in de inspector en je tekst verschijnt hier. Klik op een regel om het element te selecteren.";
"web_live_ph_selector" = "variabele";
"web_live_ph_code" = "Jouw code";
"web_live_ph_end" = "einde";
1 change: 1 addition & 0 deletions web/src/i18n/pl.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Kod rośnie razem z diagramem. Szary = symbol zastępczy: wpisz tekst w inspektorze, a pojawi się tutaj. Kliknij wiersz, aby zaznaczyć jego element.";
"web_live_ph_selector" = "zmienna";
"web_live_ph_code" = "Twój kod";
"web_live_ph_end" = "koniec";
1 change: 1 addition & 0 deletions web/src/i18n/pt-PT.strings
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@
"web_live_hint" = "O código cresce com o teu diagrama. Cinzento = marcador: escreve no inspetor de objetos e o teu texto aparece aí. Clica numa linha para selecionar o elemento.";
"web_live_ph_selector" = "variável";
"web_live_ph_code" = "O teu código";
"web_live_ph_end" = "fim";
1 change: 1 addition & 0 deletions web/src/i18n/ru.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Код растёт вместе с диаграммой. Серый = заполнитель: пиши в инспекторе, и текст появится здесь. Щёлкни строку, чтобы выбрать элемент.";
"web_live_ph_selector" = "переменная";
"web_live_ph_code" = "Твой код";
"web_live_ph_end" = "конец";
1 change: 1 addition & 0 deletions web/src/i18n/sv.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Koden växer med ditt diagram. Grått = platshållare: skriv i inspektören så visas texten här. Klicka på en rad för att markera elementet.";
"web_live_ph_selector" = "variabel";
"web_live_ph_code" = "Din kod";
"web_live_ph_end" = "slut";
1 change: 1 addition & 0 deletions web/src/i18n/tr.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Kod diyagramınla birlikte büyür. Gri = yer tutucu: denetçiye yaz, metnin burada görünür. Öğesini seçmek için bir satıra tıkla.";
"web_live_ph_selector" = "değişken";
"web_live_ph_code" = "Kodun";
"web_live_ph_end" = "bitiş";
1 change: 1 addition & 0 deletions web/src/i18n/uk.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "Код росте разом із діаграмою. Сірий = заповнювач: пиши в інспекторі, і текст з’явиться тут. Клацни рядок, щоб вибрати елемент.";
"web_live_ph_selector" = "змінна";
"web_live_ph_code" = "Твій код";
"web_live_ph_end" = "кінець";
1 change: 1 addition & 0 deletions web/src/i18n/zh-Hans.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "代码随图一起生成。灰色 = 占位符:在检查器中输入,文字就会出现在这里。点击某行可选中对应元素。";
"web_live_ph_selector" = "变量";
"web_live_ph_code" = "你的代码";
"web_live_ph_end" = "结束";
1 change: 1 addition & 0 deletions web/src/i18n/zh-Hant.strings
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@
"web_live_hint" = "程式碼會隨圖一起產生。灰色 = 預留位置:在檢閱器中輸入,文字就會出現在這裡。點一下某行可選取對應元素。";
"web_live_ph_selector" = "變數";
"web_live_ph_code" = "你的程式碼";
"web_live_ph_end" = "結束";
8 changes: 5 additions & 3 deletions web/src/ui/liveCodePanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import { generateLiveCode, livePlaceholderEnd, livePlaceholderStart, type LiveSp
import type { VSDocument } from '../core/model'
import { sidebarIcon } from './learnPanel'

/** Ansicht „Code live“: rechts neben dem Struktogramm der Java- oder JavaScript-Code, der bei jeder Änderung mitwächst. */
/** Ansicht „Code live“: rechts neben dem Struktogramm der Java-, JavaScript- oder Python-Code, der bei jeder Änderung mitwächst. */

const targetKey = 'visustruct.live.target'

function storedTarget(): LiveTarget {
try {
return localStorage.getItem(targetKey) === 'javascript' ? 'javascript' : 'java'
const stored = localStorage.getItem(targetKey)
return stored === 'javascript' || stored === 'python' ? stored : 'java'
} catch {
return 'java'
}
Expand Down Expand Up @@ -69,7 +70,7 @@ export class LiveCodePanel {
<div class="livecode-head">
<h2>${esc(t('web_live_title'))}</h2>
<div class="segmented livecode-target" role="group" aria-label="${esc(t('web_codegen_language'))}">
<button data-target="java">Java</button><button data-target="javascript">JavaScript</button>
<button data-target="java">Java</button><button data-target="javascript">JavaScript</button><button data-target="python">Python</button>
</div>
<button class="learn-hide" title="${esc(t('web_live_hide'))}" aria-label="${esc(t('web_live_hide'))}">${sidebarIcon}</button>
</div>
Expand Down Expand Up @@ -115,6 +116,7 @@ export class LiveCodePanel {
code: t('web_live_ph_code'),
start: t('inspector_for_init'),
step: t('inspector_for_step'),
end: t('web_live_ph_end'),
})
this.spans = live.spans
const span = highlight && live.spans.find((s) => samePath(s.path, highlight))
Expand Down
39 changes: 37 additions & 2 deletions web/test/codeGenerator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ describe('Codegenerierung: String-Methoden', () => {
})

describe('Code live (Anfänger-Ansicht)', () => {
const labels = { condition: 'Bedingung', selector: 'Variable', code: 'Dein Code', start: 'Startwert', step: 'Schritt' }
const labels = { condition: 'Bedingung', selector: 'Variable', code: 'Dein Code', start: 'Startwert', step: 'Schritt', end: 'Ende' }
const plain = (s: string) => s.replace(//g, '«').replace(//g, '»')
const stub = () => makeElement(ElementType.anweisung, { textLines: ['ø'] })

Expand Down Expand Up @@ -275,7 +275,7 @@ describe('Code live (Anfänger-Ansicht)', () => {
})

describe('Code live in JavaScript', () => {
const labels = { condition: 'Bedingung', selector: 'Variable', code: 'Dein Code', start: 'Start', step: 'Schritt' }
const labels = { condition: 'Bedingung', selector: 'Variable', code: 'Dein Code', start: 'Start', step: 'Schritt', end: 'Ende' }
const plain = (s: string) => s.replace(//g, '«').replace(//g, '»')
const stub = () => makeElement(ElementType.anweisung, { textLines: ['ø'] })

Expand All @@ -296,3 +296,38 @@ describe('Code live in JavaScript', () => {
expect(live.spans.find((s) => s.path.join() === '0')).toMatchObject({ from: 2, to: 2 })
})
})

describe('Code live in Python', () => {
const labels = { condition: 'Bedingung', selector: 'Variable', code: 'Dein Code', start: 'Start', step: 'Schritt', end: 'Ende' }
const plain = (s: string) => s.replace(//g, '«').replace(//g, '»')
const stub = () => makeElement(ElementType.anweisung, { textLines: ['ø'] })
const py = (elements: ReturnType<typeof makeElement>[]) => plain(generateLiveCode({ caption: '', elements }, 'python', labels).text)

it('pass statt `;`, `if Bedingung:` und `pass # Dein Code` in leeren Blöcken', () => {
expect(
py([
makeElement(ElementType.anweisung),
makeElement(ElementType.anweisung, { textLines: ['int zahl = 0'] }),
makeElement(ElementType.verzweigung, { cases: [{ name: 'true', elements: [stub()] }, { name: 'false', elements: [stub()] }] }),
]),
).toBe('pass\nzahl = 0\nif «Bedingung»:\n «pass # Dein Code»\nelse:\n «pass # Dein Code»')
})

it('Zählschleife: range mit Platzhaltern, solange Felder fehlen', () => {
const loop = (lines: string[]) => py([makeElement(ElementType.forSchleife, { textLines: lines, loopBody: [stub()] })]).split('\n')[0]
expect(loop(['', '', ''])).toBe('for «Variable» in range(«Start», «Ende»):')
expect(loop(['int i = 0', '', ''])).toBe('for i in range(0, «Ende»):')
expect(loop(['int i = 1', 'i <= 10', ''])).toBe('for i in range(1, 11):')
expect(loop(['int i = 0', 'i < 10', 'i++'])).toBe('for i in range(10):')
})

it('Do-while und Unterprogramm', () => {
const doc = {
caption: 'int doppelt(int x)',
elements: [makeElement(ElementType.doUntilSchleife, { loopBody: [stub()] })],
}
const live = generateLiveCode(doc, 'python', labels)
expect(plain(live.text)).toBe('def doppelt(x):\n while True:\n «pass # Dein Code»\n if not («Bedingung»):\n break')
expect(live.spans.find((s) => s.path.join() === '0')).toMatchObject({ from: 1, to: 4 })
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ const e=`/* نصوص موجودة في نسخة الويب فقط. أما بقي
"web_live_hint" = "تنمو الشيفرة مع مخططك. الرمادي = عنصر نائب: اكتب في المفتش ليظهر نصك هنا. انقر على سطر لتحديد عنصره.";
"web_live_ph_selector" = "المتغير";
"web_live_ph_code" = "شيفرتك";
"web_live_ph_end" = "النهاية";
`;export{e as default};
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ const e=`/* Tekster, der kun findes i webversionen. Alt andet kommer fra appens
"web_live_hint" = "Koden vokser med dit diagram. Gråt = pladsholder: skriv i inspektøren, så vises teksten her. Klik på en linje for at vælge elementet.";
"web_live_ph_selector" = "variabel";
"web_live_ph_code" = "Din kode";
"web_live_ph_end" = "slut";
`;export{e as default};
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,5 @@ const e=`/* Texte, die es nur in der Web-Version gibt. Alle anderen kommen aus d
"web_live_hint" = "Der Code wächst mit deinem Struktogramm. Grau = Platzhalter: Schreib im Objektinspektor, dann steht dort dein Text. Klick auf eine Zeile markiert das Element.";
"web_live_ph_selector" = "Variable";
"web_live_ph_code" = "Dein Code";
"web_live_ph_end" = "Ende";
`;export{e as default};
Loading
Loading