mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
Fixes namespace errors in keys for the two extracted strings.
This commit is contained in:
parent
78cd35d93c
commit
1a3e085a9c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user