Repository navigation
Give each dropped recording source whole sentences - #16003
namespaceMarcello wants to merge 2 commits into
Conversation
The notice for an audio source that could not be recorded passed the
English word "desktop" or "microphone" into one shared sentence, so
every translation showed that word in English ("Optager uden
microphone-lyd"). Each source now has its own two sentences, as
docs/i18n.md asks. The two old keys go; the sync workflow prunes their
translations and translates the new ones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge; each dropped audio source selects the correct complete sentences. SummaryGives dropped desktop and microphone audio sources separate, complete notification sentences.
No actionable issues found. The previous and current commits have different merge bases with the target, so the full PR diff was reviewed. No previous review threads were supplied. Tests were inspected, not run. Reviews (2) · Last reviewed commit: "Merge quattro into the recording audio s..." · Reviewed by Greptile |
|
Reviewed at d6f8076, nothing found. The problem is real: on What ran, on a disposable Omarchy worker: the new check in Second opinion: Codex at medium effort read the change and found no defects. It agreed the problem is real and the fix proportionate (its independence from this review is not guaranteed). It did check something I hadn't: that Nothing is left for the author. This waits on the maintainer. |
The English CLI catalog gained and lost keys next to this branch's: omacom#16499 dropped capture.recordingSavedHint and added the size and screenshot keys. Keep quattro's keys and swap the two shared-sentence keys for this branch's four, in sorted order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Re-reviewed at f37ac4c after your merge of The merge resolved the conflict in What ran, on a disposable Omarchy worker: the new check in Second opinion: Codex at medium effort and muse-wonder (via pi, thinking high) both read the merge resolution and the change against current Nothing is left for you to do. This waits on the maintainer. |
Summary
When a requested audio source can't be recorded,
omarchy-capture-screenrecordingannounces it withcapture.recordingWithoutAudioandcapture.audioNotAdded, passing the English worddesktopormicrophoneas%1. Every translation therefore shows that word in English inside its own sentence: "Optager uden microphone-lyd" in Danish, "microphone の音声なしで録画中" in Japanese, "Запись без звука microphone" in Russian.docs/i18n.mdasks for whole sentences rather than glued pieces for exactly this reason.This gives each source its own two sentences,
capture.recordingWithoutDesktopAudio,capture.recordingWithoutMicrophoneAudio,capture.desktopAudioNotAddedandcapture.microphoneAudioNotAdded, with the same English text as before, and drops the two shared keys. Asdocs/i18n.mddescribes, only the English side changes here; the sync workflow translates the new keys and prunes the old ones. Until it has run, other languages show these two notices in English, as with any untranslated key.Validation:
test/shell.d/screenrecording-wf-audio-test.shgains a check that, with both sources dropped, the notices use the four whole-sentence keys and pass no argument; it reads the arguments the notification command receives. Onquattroit fails, showingcapture.recordingWithoutAudio desktopthroughcapture.audioNotAdded microphone. The existing checks, which read the English text and expect the right source named, pass unchanged; the sixscreenrecording-*test files give 62 passing checks. Handing the desktop sentence its name back as an argument, swapping the two sources' sentences, or misspelling a key each turns the test red. Thei18n-checksteps pass:I18N_STRUCTURAL=1 bash test/shell.d/i18n-test.sh(401 ok) andscripts/i18n-sync.py extract-scan --check(no candidates)../test/allin an Arch container: 6394 passing checks, 69 skipped, 4 failing, and those 4 fail the same way onquattro.Risk: limited to these two notices. Until the sync runs, non-English users see them fully in English instead of with one English word. Reverting the commit restores the shared keys, whose translations stay in the catalogs until the sync prunes them.
Updated 2026-10-25: merged
quattroat 2fca7fe. #16499 removedcapture.recordingSavedHintand added the size and screenshot keys next to these, which is where the English catalog conflicted; quattro's keys are kept and the four whole-sentence keys replace the two shared ones, in sorted order. The script merged cleanly and still passes the source name onquattro(bin/omarchy-capture-screenrecording:238). After the merge the fivescreenrecording-*test files pass (31 checks), the three broken variants above turnscreenrecording-wf-audio-test.shred, and thei18n-checksteps pass (402 ok, no candidates).Written by Claude Code (AI assistant) on behalf of @namespaceMarcello, who directs this work.
🤖 Generated with Claude Code