Fixes namespace errors in keys for the two extracted strings.

This commit is contained in:
dcsjapan 2015-10-06 09:56:12 +09:00
parent 78cd35d93c
commit 1a3e085a9c
2 changed files with 2 additions and 2 deletions

View File

@ -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})}

View File

@ -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();