Skip to content

Tell translators where "Playing from" and "Connected for" are shown - #50

Merged
hatstand merged 1 commit into
mainfrom
claude/ios-string-comments
Oct 6, 2026
Merged

hatstand merged 1 commit into
mainfrom
claude/ios-string-comments

Conversation

@hatstand

@hatstand hatstand commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Translators see these two strings without the screen around them. "Connected for" was translated into Russian as "Подключено для", which means "connected for the benefit of" rather than "connected for how long".

Each string now has a comment saying where it appears. Transifex shows these comments to translators.

  • "Connected for": "Label for how long the phone has been connected to Clementine, shown next to it as a duration such as 01:23:45."
  • "Playing from": "Small heading at the top of the player, above the name of the playlist the song is playing from."

The comments live in the code (Text(_:comment:)), and from there in the String Catalog. "Connected for" now uses LabeledContent with a Text label, because only a Text takes a comment; it looks the same as before. I added the comments to the catalog by hand, in the layout Xcode writes, and CI's catalog check confirms that a build would produce the same file.

The Android remote's same two strings get the same comments in clementine-player/Android-Remote#349.

No release note: users don't see any change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J1hktAVUxNdVQ8kB7kcTzB


Generated by Claude Code

Out of context, "Connected for" was translated as "connected for the
benefit of" rather than "for how long". Each string now has a comment
saying where it appears, in the code and so in the String Catalog, which
Transifex shows translators. "Connected for" is a LabeledContent with a
Text label, as only a Text takes a comment; it looks the same. The
Android remote's same strings have the same comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1hktAVUxNdVQ8kB7kcTzB
@hatstand
hatstand enabled auto-merge (rebase) October 6, 2026 21:04
@hatstand
hatstand merged commit 7be2618 into main Oct 6, 2026
4 checks passed
@hatstand
hatstand deleted the claude/ios-string-comments branch October 6, 2026 21:15
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Screenshots

From run 37531041409, against a real Clementine. Left: main. Right: this pull request, light and dark.

Screen main This PR This PR, dark
01_connect
02_queue
03_player
04_connection
05_settings
06_library
07_library_album
08_search –
09_outputs –
10_internet
11_internet_radio

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