language on explanation support + explanation as new model + homonymy refactored as a double list
This commit is contained in:
@@ -21,7 +21,7 @@ def edit_translation(translation, parent, cluster_idx, num_clusters, cls):
|
||||
content.extend([
|
||||
split_line2("Prevedek:", h("textarea#etv", {"props": {"value": translation.translation}}, ""))])
|
||||
|
||||
content.extend(generic_list_editor("Razlage:", lambda: translation.explanationList))
|
||||
content.extend(explanation_editor("Razlage:", lambda: translation.explanationList))
|
||||
|
||||
# cluster number
|
||||
options = [h("option", {"props": {"selected": idx == cluster_idx}}, str(idx + 1)) for idx in range(num_clusters + 1)]
|
||||
|
||||
Reference in New Issue
Block a user