|
|
|
@ -20,7 +20,7 @@ def edit_translation(translation, parent, cluster_idx, num_clusters, cls):
|
|
|
|
|
# first line: transalation itself
|
|
|
|
|
content.extend([
|
|
|
|
|
split_line2("Prevedek:",
|
|
|
|
|
h("input#etv", {"props": {"type": "text", "value": translation.translation}}, "")),
|
|
|
|
|
h("textarea#etv", {"props": {"value": translation.translation}}, "")),
|
|
|
|
|
split_line2("Razlaga:",
|
|
|
|
|
h("input#ete", {"props": {"type": "text", "value": translation.explanation}}, ""))])
|
|
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ def edit_sense_definition(sense):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def edit_comment(comment):
|
|
|
|
|
return modal_template(question("Edit comment", comment), "Comment", (message.EditComment,), (message.DeleteComment,))
|
|
|
|
|
return modal_template(big_question("Edit comment", comment), "Comment", (message.EditComment,), (message.DeleteComment,))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def do_chosen_examples(example_list, entry):
|
|
|
|
|