mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: rate limiter text is confusing, should not say daily
Also, adds easily parseable JSON so users can figure out how long to wait when the API is limited. ("extras" "wait_seconds")
This commit is contained in:
parent
0b13b82e94
commit
38f4acd55a
3 changed files with 7 additions and 2 deletions
|
@ -538,7 +538,7 @@ en:
|
|||
|
||||
rate_limiter:
|
||||
slow_down: "You have performed this action too many times, try again later."
|
||||
too_many_requests: "We have a daily limit on how many times that action can be taken. Please wait %{time_left} before trying again."
|
||||
too_many_requests: "You have performed this action too many times. Please wait %{time_left} before trying again."
|
||||
by_type:
|
||||
first_day_replies_per_day: "You've reached the maximum number of replies a new user can create on their first day. Please wait %{time_left} before trying again."
|
||||
first_day_topics_per_day: "You've reached the maximum number of topics a new user can create on their first day. Please wait %{time_left} before trying again."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue