Update localization files + references (#4556)

* Initial plan

* Add localization support to NameChangeModal component

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

* Add NameChangeModal translations to English language file

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

* fix(i18n): fix localization keys

* chore(test): add i18n test

* chore(i18n): update translation script

* chore(i18n): reorgnize translation keys and update components

* chore: fix linting warnings

* chore(i18n): update all the language files

* feat(i18n): add last live ago i18n key

---------

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: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Copilot
2025-09-15 19:27:56 -07:00
committed by GitHub
co-authored by gabek copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Gabe Kangas
parent 401b5897e2
commit 1cf923a5af
46 changed files with 6053 additions and 4639 deletions
+60
View File
@@ -0,0 +1,60 @@
{
"Admin": {
"EditInstanceDetails": {
"directoryDescription": "Increase your audience by appearing in the <a href=\"https://owncast.directory\" target=\"_blank\" rel=\"noreferrer\"><strong>Owncast Directory</strong></a>. This is an external service run by the Owncast project. <a href=\"https://owncast.online/docs/directory/?source=admin\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more</a>.",
"offlineMessageDescription": "The offline message is displayed to your page visitors when you're not streaming. Markdown is supported.",
"serverUrlRequiredForDirectory": "You must set your <strong>Server URL</strong> above to enable the directory."
}
},
"Common": {
"poweredByOwncastVersion": "Powered by <a href='https://owncast.online'>Owncast v{{versionNumber}}</a>"
},
"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."
},
"NameChangeModal": {
"authInfo": "You can also authenticate an IndieAuth or Fediverse account via the \"Authenticate\" menu.",
"buttonText": "Change name",
"colorLabel": "Your Color",
"description": "Your chat display name is what people see when you send chat messages.",
"overLimit": "Over limit",
"placeholder": "Your chat display name"
},
"componentError": "Error: {{message}}",
"helloWorld": "Hello <strong>{{name}}</strong>, welcome to the world!",
"notificationMessage": "You can <a href=\"#\">click here</a> to receive notifications when {{streamer}} goes live.",
"offlineBasic": "This stream is offline. Check back soon!",
"offlineFediverseOnly": "This stream is offline. <span class='follow-link'>Follow</span> {{fediverseAccount}} on the Fediverse to see the next time {{streamer}} goes live.",
"offlineNotifyAndFediverse": "This stream is offline. You can <span class='notify-link'>be notified</span> the next time {{streamer}} goes live or <span class='follow-link'>follow</span> {{fediverseAccount}} on the Fediverse.",
"offlineNotifyOnly": "This stream is offline. <span class='notify-link'>Be notified</span> the next time {{streamer}} goes live."
},
"Testing": {
"itemCount": "You have {{count}} items",
"itemCount_one": "You have {{count}} item",
"messageCount": "You have {{count}} messages from {{sender}}",
"messageCount_one": "You have {{count}} message from {{sender}}",
"noPluralKey": "This key has no plural variants - {{count}} things",
"simpleKey": "Simple translation text"
}
}