mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +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) {
|
||||
const text = app.trans('core.admin.discussion_list_empty_text');
|
||||
const text = app.trans('core.forum.discussion_list_empty_text');
|
||||
return (
|
||||
<div className="DiscussionList">
|
||||
{Placeholder.component({text})}
|
||||
|
@@ -95,7 +95,7 @@ export default {
|
||||
* Delete the user.
|
||||
*/
|
||||
deleteAction() {
|
||||
if (confirm(app.trans('core.admin.user_controls_delete_confirmation'))) {
|
||||
if (confirm(app.trans('core.forum.user_controls_delete_confirmation'))) {
|
||||
this.delete().then(() => {
|
||||
if (app.current instanceof UserPage && app.current.user === this) {
|
||||
app.history.back();
|
||||
|
Reference in New Issue
Block a user