Clone "added" string for importing

https://forums.ankiweb.net/t/inquiry-about-adding-one-more-string-for-added/41998
This commit is contained in:
Damien Elmes 2024-03-07 12:03:12 +07:00
parent 2d2b5f663a
commit 184ad8068e
3 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit c00a4afb1089f364074c9dab02d09d74c593b17a Subproject commit db9050d7eebca956442760425941c7f3a67d8750

View file

@ -233,3 +233,4 @@ importing-tag-updated-notes-help = These tags will be added to any updated notes
importing-importing-collection = Importing collection... importing-importing-collection = Importing collection...
importing-unable-to-import-filename = Unable to import { $filename }: file type not supported importing-unable-to-import-filename = Unable to import { $filename }: file type not supported
importing-notes-that-could-not-be-imported = Notes that could not be imported as note type has changed: { $val } importing-notes-that-could-not-be-imported = Notes that could not be imported as note type has changed: { $val }
importing-added = Added

View file

@ -17,7 +17,7 @@ function getFirstFieldQueue(log: ImportResponse_Log): {
let action: string; let action: string;
if (log.dupeResolution === CsvMetadata_DupeResolution.DUPLICATE) { if (log.dupeResolution === CsvMetadata_DupeResolution.DUPLICATE) {
reason = tr.importingDuplicateNoteAdded(); reason = tr.importingDuplicateNoteAdded();
action = tr.addingAdded(); action = tr.importingAdded();
} else if (log.dupeResolution === CsvMetadata_DupeResolution.PRESERVE) { } else if (log.dupeResolution === CsvMetadata_DupeResolution.PRESERVE) {
reason = tr.importingExistingNoteSkipped(); reason = tr.importingExistingNoteSkipped();
action = tr.importingSkipped(); action = tr.importingSkipped();