Skip to content

A platform for community discussion. Free, open, simple.

DEV: Use the i18n helper in wizard (#29109)

Jarek Radosz607134545bf7
diff --git a/app/assets/javascripts/discourse/app/static/wizard/components/wizard-step.gjs b/app/assets/javascripts/discourse/app/static/wizard/components/wizard-step.gjs
index 98222bb2c18..90311a65288 100644
--- a/app/assets/javascripts/discourse/app/static/wizard/components/wizard-step.gjs
+++ b/app/assets/javascripts/discourse/app/static/wizard/components/wizard-step.gjs
@@ -7,11 +7,9 @@ import didUpdate from "@ember/render-modifiers/modifiers/did-update";
import { schedule } from "@ember/runloop";
import { htmlSafe } from "@ember/template";
import emoji from "discourse/helpers/emoji";
-import I18n from "discourse-i18n";
+import i18n from "discourse-common/helpers/i18n";
import WizardField from "./wizard-field";
-const i18n = (...args) => I18n.t(...args);
-
export default class WizardStepComponent extends Component {
@tracked saving = false;