mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:38:04 +08:00
FIX: Add missing pluralization keys to poll plugin locale
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user