|
|
|
@ -22,7 +22,7 @@ def edit_translation(translation, parent, cluster_idx, num_clusters, cls):
|
|
|
|
|
split_line2("Prevedek:",
|
|
|
|
|
h("textarea#etv", {"props": {"value": translation.translation}}, "")),
|
|
|
|
|
split_line2("Razlaga:",
|
|
|
|
|
h("input#ete", {"props": {"type": "text", "value": translation.explanation}}, ""))])
|
|
|
|
|
h("textarea#ete", {"props": {"value": translation.explanation}}, ""))])
|
|
|
|
|
|
|
|
|
|
# cluster number
|
|
|
|
|
options = [h("option", {"props": {"selected": idx == cluster_idx}}, str(idx + 1)) for idx in range(num_clusters + 1)]
|
|
|
|
|