Repository navigation
fix(receiver): centre the connecting screen and translate its role line - #214
Merged
swellweb merged 1 commit intoOct 16, 2026
Merged
Conversation
The connecting screen placed each line at an offset tuned for the English word "TargetBridge", so translations and longer names sat off centre, and "RECEIVER" was not translated. Lines are now centred on their measured width, and the role line reads receiver.splash.role in all five languages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kenshinice-ai
added a commit
to kenshinice-ai/pwe-imac-display
that referenced
this pull request
Oct 14, 2026
- pwe/PATCHES.md lists every commit that changes an upstream file, with its upstream PR (swellweb#212, swellweb#214) and status. - .github/SECURITY.md: report PWE problems privately to [email protected]; upstream problems go to TargetBridge first. - HANDOFF: main is upstream plus registered patches, not upstream unchanged; the x86_64 receiver passed the smoke test under Rosetta on 2026-10-14. - Install guide: says it covers only the PWE build, and replaces the claim that any Gatekeeper warning means a foreign file with checksum steps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
|
Thank you for the centering and translated role label. I moved this to maint-3.6 and rendered the actual Receiver drawing code offscreen in all five supported languages, alongside the waiting-screen change. The combined Sender tests, Receiver checks and local connection/decode smoke test pass. I am keeping the hardware validation separate from these local checks. |
This was referenced Oct 16, 2026
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.
The Receiver's connecting screen (shown between the sender connecting and the first frame) placed each line at a fixed offset tuned for the English text:
center_x - 156for "TargetBridge",center_x - 48for "RECEIVER", and so on. Translated lines are longer or shorter than the English, so they sat off centre, and "RECEIVER" itself was never translated.tb_disp_text_width()measures a string with Core Text;tb_disp_draw_text_centered()draws it centred on a point. The five splash lines use it.common.app_name(still "TargetBridge"), and the role line reads a new key,receiver.splash.role: RECEIVER / RICEVITORE / EMPFÄNGER / RÉCEPTEUR / 接收端.Checks:
check_localizations.shpasses for all five languages;makeandmake testpass. I have not photographed the screen on real hardware in every language, so a look in Italian or German would be welcome.🤖 Generated with Claude Code