1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44:27 +02:00

Merge pull request #577 from dcsjapan/leftover-string-extraction

Extract leftover core strings
This commit is contained in:
Toby Zerner
2015-10-14 14:48:02 +10:30
4 changed files with 4 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ export default class DiscussionList extends Component {
}
if (this.discussions.length === 0 && !this.loading) {
const text = 'Looks like there are no discussions here. Why don\'t you create a new one?';
const text = app.trans('core.forum.discussion_list_empty_text');
return (
<div className="DiscussionList">
{Placeholder.component({text})}