diff --git a/js/src/forum/components/Poll/PollList.js b/js/src/forum/components/Poll/PollList.js index 5acf0163..e6f9d308 100644 --- a/js/src/forum/components/Poll/PollList.js +++ b/js/src/forum/components/Poll/PollList.js @@ -26,16 +26,12 @@ export default class PollList extends Component { } else if (state.hasNext()) { loading = ( ); } if (state.isEmpty()) { - { - /* TODO: IS THIS THE RIGHT KEY? MAYBE WE SHOULD MAKE A NEW ONE? */ - } const text = app.translator.trans('fof-polls.forum.polls_list.empty_text'); return (
diff --git a/resources/locale/en.yml b/resources/locale/en.yml index fb2f6d01..6bc5237b 100755 --- a/resources/locale/en.yml +++ b/resources/locale/en.yml @@ -28,6 +28,10 @@ fof-polls: start_poll_button: Start Global Poll cannot_start_poll_button: Cannot Start Poll + polls_list: + empty_text: It looks as though there are no community wide polls here. + load_more_button: Load More + composer_discussion: add_poll: => fof-polls.forum.moderation.add edit_poll: => fof-polls.forum.moderation.edit