mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 03:23:43 +08:00
32665cf9dd
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
7 lines
175 B
JavaScript
7 lines
175 B
JavaScript
import { htmlSafe } from "@ember/template";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default function boundI18n(key, options) {
|
|
return htmlSafe(i18n(key, options));
|
|
}
|