Skip to content

Commit

Permalink
UIQM-730 change the fail and warn toast text
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Nov 15, 2024
1 parent 2c6bd0a commit c2d2d40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/QuickMarcEditor/QuickMarcEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ const QuickMarcEditor = ({
const values = {
warnCount,
failCount,
breakingLine: <br style={{ margin: '2px 0' }} />,
};
let messageId = null;

Expand Down
6 changes: 3 additions & 3 deletions translations/ui-quick-marc/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@
"record.save.error.notFound": "This record has been deleted by another user. You can no longer edit this record, hit the cancel button to return to the previous page.",
"record.save.error.generic": "Record not saved: Communication problem with server. Please try again.",
"record.save.error.derive": "Instance cannot be updated. Deprecated instance version.",
"record.save.error.fail": "{failCount} Fail error(s) was found. You cannot save record with a Fail error. Please resolve error(s) and hit Save to re-validate your record.",
"record.save.error.warn": "{warnCount} Warn error(s) was found. Hit Save again to continue to save record with Warn errors. Please resolve error(s) and hit Save to re-validate your record.",
"record.save.error.failAndWarn": "{warnCount} Warn error(s) was found. {failCount} Fail error(s) was found. You cannot save record with a Fail error. Please resolve error(s) and hit Save to re-validate your record.",
"record.save.error.warn": "<b>Please scroll to view the entire record. Resolve errors as needed and save to revalidate the record.</b>{breakingLine}Warn errors: <b>{warnCount}</b>",
"record.save.error.fail": "<b>Please scroll to view the entire record. Resolve errors as needed and save to revalidate the record.</b>{breakingLine}Fail errors: <b>{failCount}</b>{breakingLine}Record cannot be saved with a fail error.",
"record.save.error.failAndWarn": "<b>Please scroll to view the entire record. Resolve errors as needed and save to revalidate the record.</b>{breakingLine}Warn errors: <b>{warnCount}</b>{breakingLine}Fail errors: <b>{failCount}</b>{breakingLine}Record cannot be saved with a fail error.",
"record.save.updatingLinkedBibRecords": "This record has successfully saved and is in process. <b>{count}</b> linked bibliographic record(s) updates have begun.",
"record.save.continue": "Save & keep editing",

Expand Down

0 comments on commit c2d2d40

Please sign in to comment.