mirror of
https://github.com/discourse/discourse.git
synced 2025-09-09 15:29:41 +08:00
Revert "DEV: enforces ember-template-lint: no-triple-curlies (#9150)"
This reverts commit d436b600fb
.
Triple curlies are still necessary for some raw templates.
This commit is contained in:
parent
74acbad505
commit
f795c1b8e8
152 changed files with 284 additions and 345 deletions
|
@ -1,7 +1,6 @@
|
|||
import { registerUnbound } from "discourse-common/lib/helpers";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
|
||||
registerUnbound("i18n", (key, params) => htmlSafe(I18n.t(key, params)));
|
||||
registerUnbound("i18n", (key, params) => I18n.t(key, params));
|
||||
registerUnbound("i18n-yes-no", (value, params) =>
|
||||
I18n.t(value ? "yes_value" : "no_value", params)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue