Say whose limit it is in the Brazilian Portuguese rate-limit note - #357
Merged
Merged
Conversation
"Limite atingido" reads as "you reached your limit", so a 429 from the usage endpoint showed in the tooltip as if the account were out of quota while the ring beside it sat at 15%. The English source says the request was rate limited; "Limite de requisições" says the same, matches the wording the catalogue already uses for "Rate limited. Wait for the retry deadline.", and lines up with the Korean and Ukrainian strings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLHUJtpnkAejFRQpnKvLP9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On Windows in Brazilian Portuguese, a 429 from the Claude usage endpoint shows up in the ring's tooltip as "Limite atingido, nova tentativa em 60s". That reads as "you've hit your limit", so it looks like the account is out of quota while the ring next to it says 15%. The English source, "Rate limited, retrying in 60s", means the request was rate limited, not the user.
This changes the four pt-BR strings (the two
TEXTkeys and the twoPATTERNSregexes, for both the,and—variants) to "Limite de requisições", meaning "request limit". That:Rate limited. Wait for the retry deadline.("Limite de requisições atingido…"), and요청 제한) and Ukrainian (Ліміт запитів) strings, which both say "request limit".The strings came in with #300. No other locale or file is affected:
Limite atingidoappears only in these four lines.Changes
windows/codenotch/ui/notch.html:Limite atingido→Limite de requisiçõesin the pt-BR rate-limit note (4 lines).Test Plan
textCopy()fromnotch.htmlin Node withuiLang = 'pt-BR':Rate limited, retrying in 60s→Limite de requisições, nova tentativa em 60 sRate limited — retrying in 120s→Limite de requisições — nova tentativa em 120 scargo build --release -p codenotch) on Windows 11 and ran it with the language set to pt-BR.make test-ci): not run, because this is a Windows-only UI string and I have no Mac here.🤖 Generated with Claude Code
https://claude.ai/code/session_01PLHUJtpnkAejFRQpnKvLP9