Fix summary string for notes failed to be imported (#3092)

This commit is contained in:
RumovZ 2024-03-25 10:41:42 +01:00 committed by GitHub
parent 74a603e61b
commit 426d5ae8a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -170,6 +170,11 @@ importing-existing-notes-skipped =
[one] { $count } note already present in your collection.
*[other] { $count } notes already present in your collection.
}
importing-notes-failed =
{ $count ->
[one] { $count } note could not be imported.
*[other] { $count } notes could not be imported.
}
importing-conflicting-notes-skipped =
{ $count ->
[one] { $count } note was not imported, because its note type has changed.
@ -194,6 +199,7 @@ importing-duplicate-note-added = Duplicate note added
importing-added-new-note = New note added
importing-existing-note-skipped = Note skipped, as an up-to-date copy is already in your collection
importing-note-skipped-update-due-to-notetype = Note not updated, as notetype has been modified since you first imported the note
importing-note-skipped-update-due-to-notetype2 = Note not updated, as notetype has been modified since you first imported the note, and '{ importing-merge-notetypes }' was not enabled
importing-note-updated-as-file-had-newer = Note updated, as file had newer version
importing-note-skipped-due-to-missing-notetype = Note skipped, as its notetype was missing
importing-note-skipped-due-to-missing-deck = Note skipped, as its deck was missing

View file

@ -74,7 +74,7 @@ export function getSummaries(log: ImportResponse_Log): SummarizedLogQueues[] {
queues: [
{
notes: log.conflicting,
reason: tr.importingNoteSkippedUpdateDueToNotetype(),
reason: tr.importingNoteSkippedUpdateDueToNotetype2(),
},
{
notes: log.missingNotetype,
@ -90,7 +90,7 @@ export function getSummaries(log: ImportResponse_Log): SummarizedLogQueues[] {
},
],
action: tr.importingSkipped(),
summaryTemplate: tr.importingConflictingNotesSkipped2,
summaryTemplate: tr.importingNotesFailed,
canBrowse: false,
icon: closeBox,
},