From 648856dcd18c85d38fbdf8f1fc4fcc36eb00d0c5 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 15 Jan 2025 13:41:44 -0800 Subject: [PATCH] chore: update i18n workflow/config --- .github/workflows/translations.yml | 5 +- crowdin.yml | 5 +- web/i18n/ar.json | 20 --- web/i18n/bn.json | 20 --- web/i18n/de.json | 20 --- web/i18n/el.json | 20 --- web/i18n/en.json | 20 --- ...ssages to change their visibility to.json} | 0 web/i18n/en/Streaming Keys.json | 1 + web/i18n/en/Streaming URL.json | 1 + web/i18n/en/translation.json | 128 ++++++++++++++++++ web/i18n/es.json | 20 --- web/i18n/fr.json | 20 --- web/i18n/ga.json | 20 --- web/i18n/hi.json | 20 --- web/i18n/hr.json | 20 --- web/i18n/it.json | 20 --- web/i18n/ja.json | 20 --- web/i18n/ko.json | 20 --- web/i18n/ms.json | 20 --- web/i18n/nl.json | 20 --- web/i18n/no.json | 20 --- web/i18n/pa.json | 20 --- web/i18n/pl.json | 20 --- web/i18n/pt.json | 20 --- web/i18n/ru.json | 20 --- web/i18n/strings_old.json | 20 --- web/i18n/sv.json | 20 --- web/i18n/th.json | 20 --- web/i18n/vi.json | 20 --- web/i18n/zh.json | 20 --- web/i18next-parser.config.mjs | 11 +- 32 files changed, 144 insertions(+), 507 deletions(-) delete mode 100644 web/i18n/ar.json delete mode 100644 web/i18n/bn.json delete mode 100644 web/i18n/de.json delete mode 100644 web/i18n/el.json delete mode 100644 web/i18n/en.json rename web/i18n/{strings.json => en/Check multiple messages to change their visibility to.json} (100%) create mode 100644 web/i18n/en/Streaming Keys.json create mode 100644 web/i18n/en/Streaming URL.json create mode 100644 web/i18n/en/translation.json delete mode 100644 web/i18n/es.json delete mode 100644 web/i18n/fr.json delete mode 100644 web/i18n/ga.json delete mode 100644 web/i18n/hi.json delete mode 100644 web/i18n/hr.json delete mode 100644 web/i18n/it.json delete mode 100644 web/i18n/ja.json delete mode 100644 web/i18n/ko.json delete mode 100644 web/i18n/ms.json delete mode 100644 web/i18n/nl.json delete mode 100644 web/i18n/no.json delete mode 100644 web/i18n/pa.json delete mode 100644 web/i18n/pl.json delete mode 100644 web/i18n/pt.json delete mode 100644 web/i18n/ru.json delete mode 100644 web/i18n/strings_old.json delete mode 100644 web/i18n/sv.json delete mode 100644 web/i18n/th.json delete mode 100644 web/i18n/vi.json delete mode 100644 web/i18n/zh.json diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 2cfaff3f7..1b03fc154 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -3,7 +3,7 @@ name: Translation job on: push: paths: - - 'web/i18n/strings.json' + - 'web/i18n/en/translation.json' - 'web/**/*.tsx' - 'web/**/*.js' - 'crowdin.yml' @@ -37,7 +37,10 @@ jobs: with: upload_sources: true download_translations: false + create_pull_request: true + pull_request_title: 'New Translations' localization_branch_name: translations + pull_request_base_branch_name: 'develop' config: crowdin.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/crowdin.yml b/crowdin.yml index 9fc313c75..a14e111dc 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -4,7 +4,8 @@ pull_request_title: Translations update pull_request_labels: - crowdin - i18n + - translation commit_message: Updated translations files: - - source: /web/i18n/strings.json - translation: /web/i18n/%two_letters_code%.json + - source: /web/i18n/en/translation.json + translation: /web/i18n/%two_letters_code%/translation.json diff --git a/web/i18n/ar.json b/web/i18n/ar.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/ar.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/bn.json b/web/i18n/bn.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/bn.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/de.json b/web/i18n/de.json deleted file mode 100644 index be7e48261..000000000 --- a/web/i18n/de.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Benachrichtigen", - "Powered by Owncast": "Betrieben von Owncast", - "Documentation": "Dokumentation", - "Contribute": "Beitragen", - "Source": "Quelle", - "Skip to player": "Zum Spieler springen", - "Skip to offline message": "Zur Offline-Nachricht springen", - "Skip to page content": "Direkt zum Hauptinhalt", - "Skip to footer": "Zum Footer springen", - "Chat will be available when the stream is live": "Chat ist verfügbar, wenn der Stream live ist.", - "Chat is offline": "Chat ist offline", - "Stay updated!": "Bleiben Sie auf dem Laufenden Ihrer Tätigkeiten!", - "Click and never miss future streams!": "Klicke und verpasse niemals zukünftige Streams!", - "This stream is offline": "Dieser Stream ist offline.", - "the next time goes live": "das nächste Mal geht live", - "Follow": "Folgen", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Zuletzt live" -} diff --git a/web/i18n/el.json b/web/i18n/el.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/el.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/en.json b/web/i18n/en.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/en.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/strings.json b/web/i18n/en/Check multiple messages to change their visibility to.json similarity index 100% rename from web/i18n/strings.json rename to web/i18n/en/Check multiple messages to change their visibility to.json diff --git a/web/i18n/en/Streaming Keys.json b/web/i18n/en/Streaming Keys.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/web/i18n/en/Streaming Keys.json @@ -0,0 +1 @@ +{} diff --git a/web/i18n/en/Streaming URL.json b/web/i18n/en/Streaming URL.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/web/i18n/en/Streaming URL.json @@ -0,0 +1 @@ +{} diff --git a/web/i18n/en/translation.json b/web/i18n/en/translation.json new file mode 100644 index 000000000..934c1bff0 --- /dev/null +++ b/web/i18n/en/translation.json @@ -0,0 +1,128 @@ +{ + "Notify": "Notify", + "Level": "Level", + "Info": "Info", + "Warning": "Warning", + "Error": "Error", + "Timestamp": "Timestamp", + "Message": "Message", + "Logs": "Logs", + "Link": "Link", + "No news": "No news.", + "News & Updates from Owncast": "News & Updates from Owncast", + "Use your broadcasting software": "Use your broadcasting software", + "Learn how to point your existing software to your new server and start streaming your content": "Learn how to point your existing software to your new server and start streaming your content.", + "View": "View", + "Overridden via command line": "Overridden via command line.", + "Embed your video onto other sites": "Embed your video onto other sites", + "Learn how you can add your Owncast stream to other sites you control": "Learn how you can add your Owncast stream to other sites you control.", + "Chat is disabled": "Chat is disabled", + "Chat will continue to be disabled until you begin a live stream": "Chat will continue to be disabled until you begin a live stream.", + "Find an audience on the Owncast Directory": "Find an audience on the Owncast Directory", + "List yourself in the Owncast Directory and show off your stream": { + " Enable it in": "List yourself in the Owncast Directory and show off your stream. Enable it in" + }, + "settings": "settings.", + "Add your Owncast instance to the Fediverse": "Add your Owncast instance to the Fediverse", + "Enable Owncast social features": "Enable Owncast social features", + "to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream": "to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.", + "No stream is active": "No stream is active", + "You should start one": "You should start one.", + "Healthy Stream": "Healthy Stream", + "Yes": "Yes", + "No": "No", + "Playback Health": "Playback Health", + "Stream health represents": "Stream health represents", + "of all known players": { + " Other player status is unknown": "of all known players. Other player status is unknown." + }, + "TROUBLESHOOT": "TROUBLESHOOT", + "Powered by Owncast": "Powered by Owncast", + "Documentation": "Documentation", + "Contribute": "Contribute", + "Source": "Source", + "Skip to player": "Skip to player", + "Skip to offline message": "Skip to offline message", + "Skip to page content": "Skip to page content", + "Skip to footer": "Skip to footer", + "Chat will be available when the stream is live": "Chat will be available when the stream is live.", + "Chat is offline": "Chat is offline", + "Stay updated!": "Stay updated!", + "Click and never miss future streams!": "Click and never miss future streams!", + "This stream is offline": "This stream is offline.", + "the next time goes live": "the next time goes live", + "Follow": "Follow", + "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", + "Last live ago": "Last live ago", + "Time": "Time", + "User": "User", + "Visible messages": "Visible messages", + "Hidden messages": "Hidden messages", + "Chat Messages": "Chat Messages", + "Manage the messages from viewers that show up on your stream": "Manage the messages from viewers that show up on your stream.", + "Show": "Show", + "Hide": "Hide", + "Visit the": "Visit the", + "documentation": "documentation", + "to configure additional details about your viewers": "to configure additional details about your viewers.", + "When a stream is active and chat is enabled, connected chat clients will be displayed here": "When a stream is active and chat is enabled, connected chat clients will be displayed here.", + "Connected": "Connected", + "offline": "offline", + "Banned Users": "Banned Users", + "IP Bans": "IP Bans", + "Moderators": "Moderators", + "Hardware Info": "Hardware Info", + "Please wait": "Please wait", + "No hardware details have been collected yet": "No hardware details have been collected yet.", + "CPU": "CPU", + "Memory": "Memory", + "Disk": "Disk", + "used": "used", + "I want to configure my owncast instance": "I want to configure my owncast instance", + "Learn more": "Learn more", + "Help configuring my broadcasting software": "Help configuring my broadcasting software", + "I want to embed my stream into another site": "I want to embed my stream into another site", + "I want to customize my website": "I want to customize my website", + "I want to tweak my video output": "I want to tweak my video output", + "I want to use an external storage provider": "I want to use an external storage provider", + "I found a bug": "I found a bug", + "If you found a bug, then please": "If you found a bug, then please", + "let us know": "let us know", + "I have a general question": "I have a general question", + "Most general questions are answered in our": "Most general questions are answered in our", + "FAQ": "FAQ", + "or exist in our": "or exist in our", + "discussions": "discussions", + "I want to build add-ons for Owncast": "I want to build add-ons for Owncast", + "You can build your own bots, overlays, tools and add-ons with our": "You can build your own bots, overlays, tools and add-ons with our", + "developer APIs": "developer APIs.", + "How can we help you?": "How can we help you?", + "Troubleshooting": "Troubleshooting", + "Fix your problems": "Fix your problems", + "Read the Docs": "Read the Docs", + "Common tasks": "Common tasks", + "Other": "Other", + "Outbound Video Stream": "Outbound Video Stream", + "Outbound Audio Stream": "Outbound Audio Stream", + "Stream started": "Stream started", + "Viewers": "Viewers", + "Peak viewer count": "Peak viewer count", + "Outbound Stream Details": "Outbound Stream Details", + "Inbound Stream Details": "Inbound Stream Details", + "Input": "Input", + "Inbound Video Stream": "Inbound Video Stream", + "Inbound Audio Stream": "Inbound Audio Stream", + "Current stream": "Current stream", + "Last 12 hours": "Last 12 hours", + "Last 24 hours": "Last 24 hours", + "Last 7 days": "Last 7 days", + "Last 30 days": "Last 30 days", + "Last 3 months": "Last 3 months", + "Last 6 months": "Last 6 months", + "Viewer Info": "Viewer Info", + "Current viewers": "Current viewers", + "Max viewers this stream": "Max viewers this stream", + "Max viewers last stream": "Max viewers last stream", + "max viewers": "max viewers", + "No viewer data has been collected yet": "No viewer data has been collected yet." +} diff --git a/web/i18n/es.json b/web/i18n/es.json deleted file mode 100644 index fcf5fe7b3..000000000 --- a/web/i18n/es.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notificar", - "Powered by Owncast": "Desarrollado por Owncast", - "Documentation": "Documentación", - "Contribute": "Contribuir", - "Source": "Fuente", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/fr.json b/web/i18n/fr.json deleted file mode 100644 index 2a5f29d94..000000000 --- a/web/i18n/fr.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Avertir", - "Powered by Owncast": "Propulsé par Owncast", - "Documentation": "Documentation", - "Contribute": "Contribuer", - "Source": "Source", - "Skip to player": "Passer au joueur", - "Skip to offline message": "Aller au message d'absence", - "Skip to page content": "Aller au contenu principal", - "Skip to footer": "Aller au pied de page", - "Chat will be available when the stream is live": "Le chat sera disponible quand le direct débutera.", - "Chat is offline": "Le chat est hors ligne", - "Stay updated!": "Restez à jour !", - "Click and never miss future streams!": "Cliquez et ne manquez jamais les futurs diffusions !", - "This stream is offline": "Ce serveur est hors-ligne.", - "the next time goes live": "la prochaine fois que diffuse en direct", - "Follow": "Suivre", - "on the Fediverse to see the next time goes live": "sur le Fédiverse pour voir la prochaine fois que lance un direct", - "Last live ago": "Dernière diffusion il y a" -} diff --git a/web/i18n/ga.json b/web/i18n/ga.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/ga.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/hi.json b/web/i18n/hi.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/hi.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/hr.json b/web/i18n/hr.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/hr.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/it.json b/web/i18n/it.json deleted file mode 100644 index 86584d77c..000000000 --- a/web/i18n/it.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notifica", - "Powered by Owncast": "Alimentato da Owncast", - "Documentation": "Documentazione", - "Contribute": "Contribuisci", - "Source": "Fonte", - "Skip to player": "Vai al lettore video", - "Skip to offline message": "Vai al messaggio offline", - "Skip to page content": "Vai al contenuto della pagina", - "Skip to footer": "Vai a piè di pagina", - "Chat will be available when the stream is live": "La chat sarà disponibile quando lo stream è in diretta.", - "Chat is offline": "La chat è offline", - "Stay updated!": "Rimani aggiornato!", - "Click and never miss future streams!": "Clicca e non perderti mai gli stream futuri!", - "This stream is offline": "Questo stream è offline.", - "the next time goes live": "la prossima volta che andrà in diretta", - "Follow": "Segui", - "on the Fediverse to see the next time goes live": "sul Fediverso per vedere la prossima volta che andrà in diretta", - "Last live ago": "Ultima diretta fa" -} diff --git a/web/i18n/ja.json b/web/i18n/ja.json deleted file mode 100644 index 1875f2486..000000000 --- a/web/i18n/ja.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "通知", - "Powered by Owncast": "Owncastによる提供", - "Documentation": "ドキュメンテーション", - "Contribute": "貢献", - "Source": "ソース", - "Skip to player": "プレイヤーへスキップ", - "Skip to offline message": "オフラインメッセージへスキップ", - "Skip to page content": "メインコンテンツへスキップ", - "Skip to footer": "フッターへスキップ", - "Chat will be available when the stream is live": "チャットは配信が始まると利用できます", - "Chat is offline": "チャットはオフラインです", - "Stay updated!": "通知を受け取るようにしましょう", - "Click and never miss future streams!": "配信を見逃さないようにクリックしましょう", - "This stream is offline": "配信はオフラインです", - "the next time goes live": "次の配信で", - "Follow": "フォロー", - "on the Fediverse to see the next time goes live": "Fediverseで次回のライブを見るために", - "Last live ago": "前回の配信は 前でした" -} diff --git a/web/i18n/ko.json b/web/i18n/ko.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/ko.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/ms.json b/web/i18n/ms.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/ms.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/nl.json b/web/i18n/nl.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/nl.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/no.json b/web/i18n/no.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/no.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/pa.json b/web/i18n/pa.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/pa.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/pl.json b/web/i18n/pl.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/pl.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/pt.json b/web/i18n/pt.json deleted file mode 100644 index 58d53a1e1..000000000 --- a/web/i18n/pt.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notificar", - "Powered by Owncast": "Desenvolvido por Owncast", - "Documentation": "Documentação", - "Contribute": "Contribua", - "Source": "Fonte", - "Skip to player": "Pular para o player", - "Skip to offline message": "Pular para mensagem offline", - "Skip to page content": "Pular para página de conteúdo", - "Skip to footer": "Pular para o rodapé", - "Chat will be available when the stream is live": "O Chat estará disponível quando a transmissão estiver ativa.", - "Chat is offline": "O chat está off-line", - "Stay updated!": "Mantenha-se atualizado!", - "Click and never miss future streams!": "Clique e não perca futuras transmissões!", - "This stream is offline": "Esta transmissão não está ativa.", - "the next time goes live": "a próxima transmissão será", - "Follow": "Siga", - "on the Fediverse to see the next time goes live": "no Fediverse para ver a data da próxima transmissão", - "Last live ago": "Última transmissão foi" -} diff --git a/web/i18n/ru.json b/web/i18n/ru.json deleted file mode 100644 index 3d4b46b9e..000000000 --- a/web/i18n/ru.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Оповещать", - "Powered by Owncast": "Работает на Owncast", - "Documentation": "Документация", - "Contribute": "Внести вклад", - "Source": "Исходный код", - "Skip to player": "Перейти к плееру", - "Skip to offline message": "Перейти к сообщениям офлайн", - "Skip to page content": "Перейти к основному содержимому", - "Skip to footer": "Перейти к нижнему колонтитулу", - "Chat will be available when the stream is live": "Чат будет доступен, когда будет запущен прямой эфир.", - "Chat is offline": "Чат не в сети", - "Stay updated!": "Будьте в курсе!", - "Click and never miss future streams!": "Кликните и никогда не пропустите будущие стримы!", - "This stream is offline": "Эта трансляция выключена.", - "the next time goes live": "в следующий раз, когда выйдет в эфир", - "Follow": "Подписаться", - "on the Fediverse to see the next time goes live": "на Fedivers, чтобы посмотреть, когда в следующий раз выйдет в прямой эфир", - "Last live ago": "Последний эфир назад" -} diff --git a/web/i18n/strings_old.json b/web/i18n/strings_old.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/strings_old.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/sv.json b/web/i18n/sv.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/sv.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/th.json b/web/i18n/th.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/th.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/vi.json b/web/i18n/vi.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/vi.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18n/zh.json b/web/i18n/zh.json deleted file mode 100644 index 87240540e..000000000 --- a/web/i18n/zh.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Notify": "Notify", - "Powered by Owncast": "Powered by Owncast", - "Documentation": "Documentation", - "Contribute": "Contribute", - "Source": "Source", - "Skip to player": "Skip to player", - "Skip to offline message": "Skip to offline message", - "Skip to page content": "Skip to page content", - "Skip to footer": "Skip to footer", - "Chat will be available when the stream is live": "Chat will be available when the stream is live.", - "Chat is offline": "Chat is offline", - "Stay updated!": "Stay updated!", - "Click and never miss future streams!": "Click and never miss future streams!", - "This stream is offline": "This stream is offline.", - "the next time goes live": "the next time {{streamer}} goes live", - "Follow": "Follow", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live", - "Last live ago": "Last live {{timeAgo}} ago" -} diff --git a/web/i18next-parser.config.mjs b/web/i18next-parser.config.mjs index 611bdc72a..924b9ee65 100644 --- a/web/i18next-parser.config.mjs +++ b/web/i18next-parser.config.mjs @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unused-modules */ +/* eslint-disable @typescript-eslint/no-unused-vars */ // i18next-parser.config.js export default { @@ -10,7 +12,7 @@ export default { defaultNamespace: 'translation', // Default namespace used in your i18next config - defaultValue: function (locale, namespace, key, value) { + defaultValue(locale, namespace, key, value) { return `${key}`; }, // Default value to give to keys with no value // You may also specify a function accepting the locale, namespace, key, and value as arguments @@ -55,8 +57,9 @@ export default { // Namespace separator used in your translation keys // If you want to use plain english keys, separators such as `.` and `:` will conflict. You might want to set `keySeparator: false` and `namespaceSeparator: false`. That way, `t('Status: Loading...')` will not think that there are a namespace and three separator dots for instance. - output: 'i18n/strings.json', - // Supports $LOCALE and $NAMESPACE injection + // output: 'i18n/strings.json', + output: 'i18n/$LOCALE/$NAMESPACE.json', // Output file structure + // // Supports $LOCALE and $NAMESPACE injection // Supports JSON (.json) and YAML (.yml) file formats // Where to write the locale files relative to process.cwd() @@ -72,7 +75,7 @@ export default { sort: false, // Whether or not to sort the catalog. Can also be a [compareFunction](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#parameters) - verbose: false, + verbose: true, // Display info about the parsing including some stats failOnWarnings: false,