diff --git a/src/model/tags.py b/src/model/tags.py index d5f0359..4a27028 100644 --- a/src/model/tags.py +++ b/src/model/tags.py @@ -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() } diff --git a/src/view/modal_templates.py b/src/view/modal_templates.py index 562deb6..2d9771d 100644 --- a/src/view/modal_templates.py +++ b/src/view/modal_templates.py @@ -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"}}, [])