import { __ } from 'i18n'; import { api } from "@converse/headless/core"; import { html } from "lit-html"; export default (o) => { const i18n_toggle = api.connection.connected() ? __('Chat Contacts') : __('Toggle chat'); return html`${i18n_toggle}`; }