Update BrowserNotifyModal.tsx to use Localization component (#4444)

* Initial plan

* Update BrowserNotifyModal.tsx to use Localization component

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* Organize BrowserNotifyModal localization keys into namespaces

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* chore: update extracted translations

* Update web/components/modals/BrowserNotifyModal/BrowserNotifyModal.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update web/i18n/en/translation_old.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
Co-authored-by: Owncast default web localizations <owncast@owncast.online>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2025-07-30 13:02:03 -07:00
committed by GitHub
co-authored by gabek Copilot copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Owncast default web localizations Gabe Kangas
parent 12974e69fe
commit 57cd0f974f
4 changed files with 211 additions and 32 deletions
+23
View File
@@ -37,6 +37,29 @@
"Find an audience on the Owncast Directory": "Find an audience on the Owncast Directory",
"Fix your problems": "Fix your problems",
"Frontend": {
"BrowserNotifyModal": {
"allowButton": "Allow",
"blockButton": "Block",
"deniedDescription": "To enable push notifications from {{hostname}} access your browser permissions for this site and turn on notifications. Then reload this page to apply your updated settings on this site. <a href='https://owncast.online/docs/notifications'>Learn more.</a>",
"deniedTitle": "Notifications are blocked on your device",
"enabledDescription": "To disable push notifications from {{hostname}} access your browser permissions for this site and turn off notifications. <a href='https://owncast.online/docs/notifications'>Learn more.</a>",
"enabledTitle": "Notifications are enabled",
"errorTitle": "Browser Notification Error",
"iosAddButton": "Add",
"iosAddToHomeScreen": "Add to Home Screen",
"iosAllowPrompt": "Allow",
"iosComeBack": "Come back to this screen and enable notifications.",
"iosDescription": "It takes a couple extra steps to make sure you get notified when your favorite streams go live.",
"iosNameAndTap": "Give this link a name and tap the new icon on your home screen",
"iosShareButton": "share",
"iosTitle": "Get notified on iOS",
"learnMore": "Learn more",
"mainDescription": "Get notified right in the browser each time this stream goes live.",
"permissionWantsTo": "{{hostname}} wants to",
"showNotifications": "Show notifications",
"unsupported": "Browser notifications are not supported in your browser.",
"unsupportedLocal": "Browser notifications are not supported for local servers."
},
"chatOffline": "<strong><em>Missing translation Frontend.chatOffline: Please report</em></strong>",
"componentError": "Error: {{message}}",
"helloWorld": "<strong><em>Missing translation Frontend.helloWorld: Please report</em></strong>",