For post waits like the “wait 0 secs before posting again” it should say “wait less then a second before posting again. (Precise value 1/15 or so)”
AI-generated summary
The discussion revolves around improving the wording for very short post wait times in Discourse forums. Logan_Devine suggests changing “wait 0 secs” to “wait less than a second” for more precision. codinghorror requests a screenshot, which Logan provides.
neil identifies the relevant code and proposes using “wait a few seconds” instead. Mittineague suggests rounding up to 1 second, while cmwebdev recommends “please try again now.”
codinghorror expresses approval for cmwebdev’s suggestion, prioritizing simplicity. However, neil ultimately decides on “a few seconds” to avoid invalidating existing translations across the platform.
The discussion highlights the community’s effort to improve user experience by refining small but noticeable interface elements.
Can you screenshot this? Where exactly are you seeing it?
Sure, maybe @neil can double check that code path, we have standard time display handlers.
Ok, it’s here:
if @available_in < 1.minute.to_i
time_left = I18n.t("rate_limiter.seconds", count: @available_in)
Is “wait less then a second” any better than “wait 0 seconds” though? It’s still silly… Maybe “wait a few seconds”?
Why not just ceil it to 1 second? Seems like only the Flash would be able to detect the inaccuracy.
Or please try again now?
Yes, for my response time that would work. Do you feel there is any chance a retry might happen before the full fraction of a second has elapsed?
Whatever is simplest and gets this off our plate is fine by me. ![]()
I do like @cmwebdev’s suggestion though!
I went with “a few seconds” instead of @cmwebdev’s idea because of how the translation strings are created. Invalidating all those translations isn’t worth it in this case imo.
