mirror of
https://github.com/flarum/framework.git
synced 2025-02-08 05:21:45 +08:00
Fixes namespace errors in keys for the two extracted strings.
This commit is contained in:
parent
f53c46f85c
commit
ed2ee7de4c
|
@ -55,7 +55,7 @@ export default class DiscussionList extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.discussions.length === 0 && !this.loading) {
|
if (this.discussions.length === 0 && !this.loading) {
|
||||||
const text = app.trans('core.admin.discussion_list_empty_text');
|
const text = app.trans('core.forum.discussion_list_empty_text');
|
||||||
return (
|
return (
|
||||||
<div className="DiscussionList">
|
<div className="DiscussionList">
|
||||||
{Placeholder.component({text})}
|
{Placeholder.component({text})}
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default {
|
||||||
* Delete the user.
|
* Delete the user.
|
||||||
*/
|
*/
|
||||||
deleteAction() {
|
deleteAction() {
|
||||||
if (confirm(app.trans('core.admin.user_controls_delete_confirmation'))) {
|
if (confirm(app.trans('core.forum.user_controls_delete_confirmation'))) {
|
||||||
this.delete().then(() => {
|
this.delete().then(() => {
|
||||||
if (app.current instanceof UserPage && app.current.user === this) {
|
if (app.current instanceof UserPage && app.current.user === this) {
|
||||||
app.history.back();
|
app.history.back();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user