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:
parent
918e10bb2b
commit
1921043925
1 changed files with 670 additions and 68 deletions
|
|
@ -4988,6 +4988,168 @@ abstract class AppLocalizations {
|
|||
/// In en, this message translates to:
|
||||
/// **'{left} left'**
|
||||
String pomodoroLeft(String left);
|
||||
|
||||
/// No description provided for @pathImportAtStep.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Step {step}: {problem}'**
|
||||
String pathImportAtStep(int step, String problem);
|
||||
|
||||
/// No description provided for @pathImportNotJson.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'This is no JSON: {detail}'**
|
||||
String pathImportNotJson(String detail);
|
||||
|
||||
/// No description provided for @pathImportNoPath.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a \"path\" object is missing.'**
|
||||
String get pathImportNoPath;
|
||||
|
||||
/// No description provided for @pathImportNoTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'the path has no \"title\".'**
|
||||
String get pathImportNoTitle;
|
||||
|
||||
/// No description provided for @pathImportDescriptionNotText.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'the path\'s \"description\" is no text.'**
|
||||
String get pathImportDescriptionNotText;
|
||||
|
||||
/// No description provided for @pathImportNotAnObject.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'no object.'**
|
||||
String get pathImportNotAnObject;
|
||||
|
||||
/// No description provided for @pathImportUnknownStepType.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'unknown \"type\": {detail}.'**
|
||||
String pathImportUnknownStepType(String detail);
|
||||
|
||||
/// No description provided for @pathImportRightOptionMissing.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'its right option {detail} is not among its options.'**
|
||||
String pathImportRightOptionMissing(String detail);
|
||||
|
||||
/// No description provided for @pathImportRightOptionsMissing.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'it names a right option that is not among its options.'**
|
||||
String get pathImportRightOptionsMissing;
|
||||
|
||||
/// No description provided for @pathImportNoPairing.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'no \"correct_pairing\".'**
|
||||
String get pathImportNoPairing;
|
||||
|
||||
/// No description provided for @pathImportPairingTargetMissing.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'it pairs items with a target that isn\'t there: {detail}.'**
|
||||
String pathImportPairingTargetMissing(String detail);
|
||||
|
||||
/// No description provided for @pathImportPairingIncomplete.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'every item must be paired with one target.'**
|
||||
String get pathImportPairingIncomplete;
|
||||
|
||||
/// No description provided for @pathImportNoPassage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'no \"passage\".'**
|
||||
String get pathImportNoPassage;
|
||||
|
||||
/// No description provided for @pathImportBlanksMismatch.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'it needs one word in \"blanks\" for each ___ in its passage.'**
|
||||
String get pathImportBlanksMismatch;
|
||||
|
||||
/// No description provided for @pathImportBlockWithoutType.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a block without \"type\".'**
|
||||
String get pathImportBlockWithoutType;
|
||||
|
||||
/// No description provided for @pathImportMalformedLevel.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a heading with a malformed level.'**
|
||||
String get pathImportMalformedLevel;
|
||||
|
||||
/// No description provided for @pathImportMalformedListItem.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a malformed list item.'**
|
||||
String get pathImportMalformedListItem;
|
||||
|
||||
/// No description provided for @pathImportMalformedMath.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a malformed math block.'**
|
||||
String get pathImportMalformedMath;
|
||||
|
||||
/// No description provided for @pathImportMalformedCode.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a malformed code block.'**
|
||||
String get pathImportMalformedCode;
|
||||
|
||||
/// No description provided for @pathImportUnknownBlock.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'an unknown block: {detail}.'**
|
||||
String pathImportUnknownBlock(String detail);
|
||||
|
||||
/// No description provided for @pathImportTextlessBlock.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a {detail} without \"text\" or \"runs\".'**
|
||||
String pathImportTextlessBlock(String detail);
|
||||
|
||||
/// No description provided for @pathImportMalformedRun.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a malformed run of text.'**
|
||||
String get pathImportMalformedRun;
|
||||
|
||||
/// No description provided for @pathImportListExpected.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a list was expected.'**
|
||||
String get pathImportListExpected;
|
||||
|
||||
/// No description provided for @pathImportNotText.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'\"{detail}\" must be text.'**
|
||||
String pathImportNotText(String detail);
|
||||
|
||||
/// No description provided for @pathImportTooFew.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'it needs at least two \"{detail}\".'**
|
||||
String pathImportTooFew(String detail);
|
||||
|
||||
/// No description provided for @pathImportMalformedNumber.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a malformed number.'**
|
||||
String get pathImportMalformedNumber;
|
||||
|
||||
/// No description provided for @pathImportTitleNotText.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'a title must be text.'**
|
||||
String get pathImportTitleNotText;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
|
|
|||
Loading…
Reference in a new issue