From 80b4b6f979ede3eb1d421ad04a58f279920e66d7 Mon Sep 17 00:00:00 2001 From: Andre Turner <79720641+atGit2021@users.noreply.github.com> Date: Thu, 31 Oct 2024 09:02:36 -0500 Subject: [PATCH] Revisions to PnP Validation Severity (#3321) --- src/components/pnp/extract-scripture.ts | 2 +- src/components/pnp/isGoalRow.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pnp/extract-scripture.ts b/src/components/pnp/extract-scripture.ts index 92922a75e8..3b8c95b1a6 100644 --- a/src/components/pnp/extract-scripture.ts +++ b/src/components/pnp/extract-scripture.ts @@ -78,7 +78,7 @@ export const extractScripture = ( // Otherwise, fallback to unspecified scripture. !mismatchError && result.addProblem({ - severity: 'Warning', + severity: 'Notice', groups: 'Unspecified scripture reference', message: `"${book.name}" \`${bookCell.ref}\` does not a have specified scripture reference (either in the _Books_ or _My Notes_ column)`, source: totalVersesCell, diff --git a/src/components/pnp/isGoalRow.ts b/src/components/pnp/isGoalRow.ts index e04f9879f8..3b1a780a0a 100644 --- a/src/components/pnp/isGoalRow.ts +++ b/src/components/pnp/isGoalRow.ts @@ -27,7 +27,7 @@ export const isGoalRow = ( if (!rawBook) { result?.addProblem({ - severity: 'Warning', + severity: 'Error', groups: 'No book name given', message: `Ignoring row with no book name \`${bookCell.ref}\` even though there are **${versesToTranslate}** verses to translate \`${versesCell.ref}\``, source: cell,