fix(web): set page title on chat embed pages (#4820)

Set a translated page title on the readonly and readwrite chat embed
pages so popout/embedded chat windows display a meaningful title
based on the configured stream name, addressing #4794.

Uses next-export-i18n with a new chatEmbedTitle key for proper
localization. Also fixes the readonly embed error boundary
componentName from ReadWriteChatEmbed to ReadOnlyChatEmbed.
This commit is contained in:
John Costa
2026-03-31 20:36:28 -07:00
committed by GitHub
parent e738156fd7
commit 8ccec822b4
4 changed files with 26 additions and 4 deletions
+1
View File
@@ -9,6 +9,7 @@ export const Localization = {
*/
Frontend: {
// Chat interface
chatEmbedTitle: 'Frontend.chatEmbedTitle',
chatOffline: 'Chat is offline',
chatDisabled: 'Chat is disabled',
chatWillBeAvailable: 'Chat will be available when the stream is live',