mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
DEV: fix deprecation warnings in specs
Also fixed a typo in a string key "max_pm_recepients" -> "max_pm_recipients"
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ class PostCreator
|
||||
if names.length > max_allowed_message_recipients
|
||||
errors.add(
|
||||
:base,
|
||||
I18n.t(:max_pm_recepients, recipients_limit: max_allowed_message_recipients)
|
||||
I18n.t(:max_pm_recipients, recipients_limit: max_allowed_message_recipients)
|
||||
)
|
||||
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user