Make missing cloze a warning again
This commit is contained in:
parent
38b8e74f71
commit
5574cb1cfe
@ -6,6 +6,6 @@ adding-history = History
|
||||
adding-note-deleted = (Note deleted)
|
||||
adding-shortcut = Shortcut: { $val }
|
||||
adding-the-first-field-is-empty = The first field is empty.
|
||||
adding-missing-cloze = You have a cloze notetype but have not made any cloze deletions.
|
||||
adding-you-have-a-cloze-deletion-note = You have a cloze notetype but have not made any cloze deletions. Proceed?
|
||||
adding-cloze-outside-cloze-notetype = Cloze deletion can only be used on cloze notetypes.
|
||||
adding-cloze-outside-cloze-field = Cloze deletion can only be used in fields which use the 'cloze:' filter. This is typically the first field.
|
||||
|
@ -234,7 +234,8 @@ class AddCards(QDialog):
|
||||
if result == NoteFieldsCheckResult.EMPTY:
|
||||
problem = tr.adding_the_first_field_is_empty()
|
||||
elif result == NoteFieldsCheckResult.MISSING_CLOZE:
|
||||
problem = tr.adding_missing_cloze()
|
||||
if not askUser(tr.adding_you_have_a_cloze_deletion_note()):
|
||||
return False
|
||||
elif result == NoteFieldsCheckResult.NOTETYPE_NOT_CLOZE:
|
||||
problem = tr.adding_cloze_outside_cloze_notetype()
|
||||
elif result == NoteFieldsCheckResult.FIELD_NOT_CLOZE:
|
||||
|
Loading…
Reference in New Issue
Block a user