fix(app): a path import that fails says why in the app's language

The importer said what was wrong with a file in English sentences built
in the data layer, the last English left in a German app. It now names
the problem, the step it is in and what the problem names (a field, a
type, a number), and the studyset screen puts it into words: "Step 2:
unknown "type": quiz." or "Schritt 2: unbekannter „type“: quiz.". The
format's own field names stay as they are in the file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-07 03:01:12 +02:00
commit 1921043925
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -832,5 +832,32 @@
"homeWidgetPomodoro": "Pomodoro-Timer",
"pomodoroAlerts": "Pomodoro-Meldungen",
"pomodoroUntil": "Bis {time}",
"pomodoroLeft": "Noch {left}"
"pomodoroLeft": "Noch {left}",
"pathImportAtStep": "Schritt {step}: {problem}",
"pathImportNotJson": "Das ist kein JSON: {detail}",
"pathImportNoPath": "ein „path“-Objekt fehlt.",
"pathImportNoTitle": "der Pfad hat keinen „title“.",
"pathImportDescriptionNotText": "„description“ des Pfads ist kein Text.",
"pathImportNotAnObject": "kein Objekt.",
"pathImportUnknownStepType": "unbekannter „type“: {detail}.",
"pathImportRightOptionMissing": "die richtige Option {detail} fehlt unter den Optionen.",
"pathImportRightOptionsMissing": "eine genannte richtige Option fehlt unter den Optionen.",
"pathImportNoPairing": "kein „correct_pairing“.",
"pathImportPairingTargetMissing": "Elemente werden einem fehlenden Ziel zugeordnet: {detail}.",
"pathImportPairingIncomplete": "jedes Element braucht genau ein Ziel.",
"pathImportNoPassage": "keine „passage“.",
"pathImportBlanksMismatch": "für jedes ___ in der Passage braucht es ein Wort in „blanks“.",
"pathImportBlockWithoutType": "ein Block ohne „type“.",
"pathImportMalformedLevel": "eine Überschrift mit fehlerhafter Ebene.",
"pathImportMalformedListItem": "ein fehlerhafter Listenpunkt.",
"pathImportMalformedMath": "ein fehlerhafter Formelblock.",
"pathImportMalformedCode": "ein fehlerhafter Codeblock.",
"pathImportUnknownBlock": "ein unbekannter Block: {detail}.",
"pathImportTextlessBlock": "ein „{detail}“ ohne „text“ oder „runs“.",
"pathImportMalformedRun": "ein fehlerhafter Textabschnitt.",
"pathImportListExpected": "eine Liste wurde erwartet.",
"pathImportNotText": "„{detail}“ muss Text sein.",
"pathImportTooFew": "es braucht mindestens zwei „{detail}“.",
"pathImportMalformedNumber": "eine fehlerhafte Zahl.",
"pathImportTitleNotText": "ein Titel muss Text sein."
}