|
|
|
@ -98,8 +98,10 @@ class ShowAddTranslation(GenericShowModal):
|
|
|
|
|
|
|
|
|
|
for sense in model.entry.senses:
|
|
|
|
|
if sense == chosen_sense:
|
|
|
|
|
translation = Translation.new_empty()
|
|
|
|
|
translation.make_copy()
|
|
|
|
|
model.modal = lambda: modals.edit_translation(
|
|
|
|
|
sense, -1, len(sense.translations), AddTranslation, sense)
|
|
|
|
|
translation, -1, len(sense.translations), AddTranslation(translation, -1, sense))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
console.log("Should not be here!")
|
|
|
|
|