import xss from "xss/dist/xss"; import { __ } from '../../i18n'; import { api } from "@converse/headless/core"; import { html } from "lit"; import { modal_header_close_button } from "./buttons.js" import { unsafeHTML } from 'lit/directives/unsafe-html.js'; const tpl_navigation = (o) => { const i18n_about = __('About'); const i18n_commands = __('Commands'); return html`
`; } export default (o) => { const i18n_modal_title = __('Settings'); const first_subtitle = __( '%1$s Open Source %2$s XMPP chat client brought to you by %3$s Opkode %2$s', '', '', '' ); const second_subtitle = __( '%1$s Translate %2$s it into your own language', '', '' ); const show_client_info = api.settings.get('show_client_info'); const allow_adhoc_commands = api.settings.get('allow_adhoc_commands'); const show_both_tabs = show_client_info && allow_adhoc_commands; return html`