mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:32:45 +08:00
DEV: Use the i18n helper in wizard (#29109)
This commit is contained in:
parent
4d1e66418c
commit
607134545b
|
@ -7,11 +7,9 @@ import didUpdate from "@ember/render-modifiers/modifiers/did-update";
|
||||||
import { schedule } from "@ember/runloop";
|
import { schedule } from "@ember/runloop";
|
||||||
import { htmlSafe } from "@ember/template";
|
import { htmlSafe } from "@ember/template";
|
||||||
import emoji from "discourse/helpers/emoji";
|
import emoji from "discourse/helpers/emoji";
|
||||||
import I18n from "discourse-i18n";
|
import i18n from "discourse-common/helpers/i18n";
|
||||||
import WizardField from "./wizard-field";
|
import WizardField from "./wizard-field";
|
||||||
|
|
||||||
const i18n = (...args) => I18n.t(...args);
|
|
||||||
|
|
||||||
export default class WizardStepComponent extends Component {
|
export default class WizardStepComponent extends Component {
|
||||||
@tracked saving = false;
|
@tracked saving = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user