![JC Brand](/assets/img/avatar_default.png)
Translations called at the top of template files don't apply, since the trnaslations aren't yet fetched at that point.
9 lines
394 B
JavaScript
9 lines
394 B
JavaScript
import { __ } from '@converse/headless/i18n';
|
||
import { html } from "lit-html";
|
||
|
||
|
||
export const modal_close_button = html`<button type="button" class="btn btn-secondary" data-dismiss="modal">${__('Close')}</button>`;
|
||
|
||
export const modal_header_close_button = html`<button type="button" class="close" data-dismiss="modal" aria-label="${__('Close')}"><span aria-hidden="true">×</span></button>`;
|
||
|