mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
Fixes namespace errors in keys for the two extracted strings.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user