mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-26 23:09:13 +08:00
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
6 lines
175 B
JavaScript
Vendored
6 lines
175 B
JavaScript
Vendored
import { htmlSafe } from "@ember/template";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default function boundI18n(key, options) {
|
|
return htmlSafe(i18n(key, options));
|
|
}
|