FIX: Add missing pluralization keys to poll plugin locale

This commit is contained in:
Gerhard Schlager
2015-09-27 21:36:57 +02:00
parent 193f04842e
commit bb52042b46
4 changed files with 18 additions and 8 deletions

View File

@ -50,7 +50,7 @@ describe PostsController do
expect(response).not_to be_success
json = ::JSON.parse(response.body)
expect(json["errors"][0]).to eq(I18n.t("poll.default_poll_must_have_less_options", max: SiteSetting.poll_maximum_options))
expect(json["errors"][0]).to eq(I18n.t("poll.default_poll_must_have_less_options", count: SiteSetting.poll_maximum_options))
end
it "should have valid parameters" do