Skip to content

Tell translators what the auth code wait strings hold - #354

Merged
hatstand merged 4 commits into
masterfrom
claude/auth-code-string-context-5aq9e3
Oct 22, 2026
Merged

hatstand merged 4 commits into
masterfrom
claude/auth-code-string-context-5aq9e3

Conversation

@hatstand

@hatstand hatstand commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Requested by John · project thread

The Android half of clementine-player/iOS-Remote#53, which gives the iOS copies of these strings the same notes.

A translator on Transifex asked what goes in the %s of too_many_wrong_auth_codes. It's the wait from RetryWait.describe: one of the wait_seconds, wait_minutes or wait_hours plurals ("10 seconds", "3 minutes", "2 hours"), or wait_a_while ("a while").

  • too_many_wrong_auth_codes and download_noti_too_many_wrong_auth_codes get the same comment as their iOS copies: what the placeholder holds, with examples. The iOS app writes the wait in iOS's own words, which can't take another grammatical form, and the two clients share translations, so the comment asks for sentences that read right with the wait as it is. Transifex shows these comments to translators as the string's developer note.
  • The comment on the wait_ strings asks for plain durations, to match. wait_a_while gets its own comment.
  • CLAUDE.md now says that translations are shared with the iOS client, and that a shared string gets the same English and the same note in both.

Only comments and docs change, so there's no release note. I couldn't build here (no Android Gradle plugin offline). The file parses as XML, and CI will build it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9Kb2PrrBMXJ5Y89E3CKib

A translator on Transifex asked what goes in the %s of
too_many_wrong_auth_codes. Say it's the wait from the wait_ strings,
with examples, on both strings that use it, and on the wait_ strings
say which sentence they go into.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9Kb2PrrBMXJ5Y89E3CKib
@hatstand hatstand self-assigned this Oct 22, 2026
The iOS remote shares these sentences' translations, and writes the
wait in iOS's own words, which can't be put in another grammatical
form. So ask for the sentences to read right with the wait as it is,
in the same note the iOS strings get, and for the wait_ strings to be
plain durations.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9Kb2PrrBMXJ5Y89E3CKib
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9Kb2PrrBMXJ5Y89E3CKib
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9Kb2PrrBMXJ5Y89E3CKib
@hatstand
hatstand marked this pull request as ready for review October 22, 2026 15:24
@hatstand
hatstand merged commit 2f01362 into master Oct 22, 2026
6 checks passed
@hatstand
hatstand deleted the claude/auth-code-string-context-5aq9e3 branch October 22, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants