discourse/app/assets/javascripts/discourse-common/addon/helpers/bound-i18n.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
175 B
JavaScript
Raw Normal View History

import { htmlSafe } from "@ember/template";
import { i18n } from "discourse-i18n";
export default function boundI18n(key, options) {
return htmlSafe(i18n(key, options));
}