updated sense label
This commit is contained in:
parent
a8b84c4b37
commit
a571a9ceb1
|
@ -8,7 +8,8 @@ TAGS = {
|
|||
"latinsko": [],
|
||||
"razmerje": ["približek", "sinonim", "antonim"],
|
||||
"semantično": [],
|
||||
"English-full": []
|
||||
"Polno angleško": [],
|
||||
"Blagovna znamka": []
|
||||
}
|
||||
|
||||
SLO2ENG_TAGS = {
|
||||
|
@ -22,7 +23,8 @@ SLO2ENG_TAGS = {
|
|||
"latinsko": "latin",
|
||||
"razmerje": "relation",
|
||||
"semantično": "semantic",
|
||||
"English-full": "Polno angleško"
|
||||
"Polno angleško": "English-full",
|
||||
"Blagovna znamka": "trademark"
|
||||
}
|
||||
|
||||
ENG2SLO_TAGS = { value: key for key, value in SLO2ENG_TAGS.items() }
|
||||
|
|
|
@ -104,6 +104,7 @@ def label_list_editor(current_labels, add_label_message_class):
|
|||
center = h("select.label-value", {}, options)
|
||||
|
||||
right_value = label if label not in TAGS[label_type] else ""
|
||||
right_value = "blagovna znamka" if label_type == 'Blagovna znamka' else right_value
|
||||
right = h("input.label-value-other",
|
||||
{"props": {"type": "text", "value": right_value, "placeholder": "drugo"}},
|
||||
[])
|
||||
|
|
Loading…
Reference in New Issue
Block a user