mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +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,12 +1,12 @@
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import I18n from "discourse-i18n";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
export default class DeletePostsConfirmation extends Component {
|
||||
@tracked value;
|
||||
|
||||
get text() {
|
||||
return I18n.t("admin.user.delete_posts.confirmation.text", {
|
||||
return i18n("admin.user.delete_posts.confirmation.text", {
|
||||
username: this.args.model.user.username,
|
||||
post_count: this.args.model.user.post_count,
|
||||
});
|
||||
|
Reference in New Issue
Block a user