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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user