You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Localize the GPU status summary and causes #945
The light's tooltip, title and labels come from frontend/data/locale/en-US.ini. The summary and causes come from rust/obs-gpu-status/src/report.rs and are English only. Translators can't reach them.
Proposal
Rust returns message keys and parameters (e.g. {"key":"GpuStatus.Yellow","gpu":"...","renderer":"..."}). The frontend renders them through QTStr with locale strings. The summary and causes strings stay in English in the JSON, so the obs-websocket output does not change.
Acceptance criteria
RED: a test asserts that the report carries a key for each state and cause; it fails on stubs.
GREEN: the dialog text comes from en-US.ini. Changing a string there changes the dialog (checked by hand or with a frontend test).
GetStats.gpuAcceleration.summary is unchanged.
Decisions
Keep the English text in the JSON for API stability; add the keys alongside it.
Activity
obs-gpu-status: Add failing tests for localized GPU status text (RED)
frontend: Localize the GPU status summary and causes (GREEN)
obs-gpu-status: Red for a GPU OBS can't use, yellow for software-only…
obs-gpu-status: Readout for the GPU: x% label
frontend: GPU: x% label replaces the GPU status light text
obs-gpu-status: Readout for the GPU: x% label
obs-gpu-status: Readout for the GPU: x% label
frontend: GPU: x% label replaces the GPU status light text
frontend: GPU: x% label replaces the GPU status light text (obs-rust#…