mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
DEV: Consolidate i18n import paths (#29804)
Enables our new eslint rules which enforce consistent i18n imports. For more info, see 0d58b40cd7
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import Component from "@glimmer/component";
|
||||
import I18n from "discourse-i18n";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
export default class WebhookEventChooser extends Component {
|
||||
get details() {
|
||||
return I18n.t(
|
||||
return i18n(
|
||||
`admin.web_hooks.${this.args.group}_event.${this.args.type.name}`
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user