"use strict";var index=require("./index-CTK5NoJt.js"),translation_service=require("./translation.service-Cj6mT_mk.js");require("@ontotext/workbench-api");const translateLabelCss=":host{display:inline}",TranslateLabel=class{constructor(e){index.registerInstance(this,e),this.unsubscribeTranslationChanged=null,this.translationParameters=[]}connectedCallback(){this.unsubscribeTranslationChanged=translation_service.TranslationService.onTranslate(this.labelKey,this.translationParameters,e=>this.translatedLabel=e)}disconnectedCallback(){this.unsubscribeTranslationChanged&&(this.unsubscribeTranslationChanged(),this.unsubscribeTranslationChanged=null)}render(){return index.h(index.Host,{key:"e14ed023755becfab8af466ba80b866d896037f2"},this.translatedLabel)}};TranslateLabel.style=translateLabelCss,exports.translate_label=TranslateLabel;