import{r as t,h as s,a as i}from"./p-BntG-4Sv.js";import{T as a}from"./p-FB05Sh97.js";import"@ontotext/workbench-api";const e=class{constructor(a){t(this,a),this.unsubscribeTranslationChanged=null,this.translationParameters=[]}connectedCallback(){this.unsubscribeTranslationChanged=a.onTranslate(this.labelKey,this.translationParameters,a=>this.translatedLabel=a)}disconnectedCallback(){this.unsubscribeTranslationChanged&&(this.unsubscribeTranslationChanged(),this.unsubscribeTranslationChanged=null)}render(){return s(i,{key:"e14ed023755becfab8af466ba80b866d896037f2"},this.translatedLabel)}};e.style=":host{display:inline}";export{e as translate_label};