Builds the full DefaultLayoutTranslations map from the app's own messages.
Parameters
translate: (key:string)=>string
A useTranslations("Components.VideoPlayer") function
Returns DefaultLayoutTranslations
Every layout word, resolved for the active locale
Remarks
The return type is the complete map rather than the Partial the layout
accepts. That is the point: a Vidstack upgrade that adds or renames a word
fails pnpm typecheck here, instead of silently rendering an English
control label to a Spanish learner.
Builds the full
DefaultLayoutTranslationsmap from the app's own messages.