diff --git a/web/i18n/translations.de.json b/web/i18n/translations.de.json index d166eb865..960e82d61 100644 --- a/web/i18n/translations.de.json +++ b/web/i18n/translations.de.json @@ -1,19 +1,19 @@ { - "Notify": "Notify (de)", - "Powered by Owncast": "Powered by Owncast (de)", - "Documentation": "Documentation (de)", - "Contribute": "Contribute (de)", - "Source": "Source (de)", - "Skip to player": "Skip to player (de)", - "Skip to offline message": "Skip to offline message (de)", - "Skip to page content": "Skip to page content (de)", - "Skip to footer": "Skip to footer (de)", - "Chat is offline": "Chat is offline (de)", - "Stay updated!": "Stay updated! (de)", - "Click and never miss future streams!": "Click and never miss future streams! (de)", - "This stream is offline": "This stream is offline. (de)", - "the next time goes live": "the next time goes live (de)", - "Follow": "Follow (de)", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live (de)", - "Last live ago": "Last live ago (de)" + "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 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" } diff --git a/web/i18n/translations.en.json b/web/i18n/translations.en.json index d3d6e3dab..960e82d61 100644 --- a/web/i18n/translations.en.json +++ b/web/i18n/translations.en.json @@ -1,19 +1,19 @@ { - "Notify": "Notify (en)", - "Powered by Owncast": "Powered by Owncast (en)", - "Documentation": "Documentation (en)", - "Contribute": "Contribute (en)", - "Source": "Source (en)", - "Skip to player": "Skip to player (en)", - "Skip to offline message": "Skip to offline message (en)", - "Skip to page content": "Skip to page content (en)", - "Skip to footer": "Skip to footer (en)", - "Chat is offline": "Chat is offline (en)", - "Stay updated!": "Stay updated! (en)", - "Click and never miss future streams!": "Click and never miss future streams! (en)", - "This stream is offline": "This stream is offline. (en)", - "the next time goes live": "the next time goes live (en)", - "Follow": "Follow (en)", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live (en)", - "Last live ago": "Last live ago (en)" + "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 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" } diff --git a/web/i18n/translations.es.json b/web/i18n/translations.es.json index 32e532a41..960e82d61 100644 --- a/web/i18n/translations.es.json +++ b/web/i18n/translations.es.json @@ -1,19 +1,19 @@ { - "Notify": "Notify (es)", - "Powered by Owncast": "Powered by Owncast (es)", - "Documentation": "Documentation (es)", - "Contribute": "Contribute (es)", - "Source": "Source (es)", - "Skip to player": "Skip to player (es)", - "Skip to offline message": "Skip to offline message (es)", - "Skip to page content": "Skip to page content (es)", - "Skip to footer": "Skip to footer (es)", - "Chat is offline": "Chat is offline (es)", - "Stay updated!": "Stay updated! (es)", - "Click and never miss future streams!": "Click and never miss future streams! (es)", - "This stream is offline": "This stream is offline. (es)", - "the next time goes live": "the next time goes live (es)", - "Follow": "Follow (es)", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live (es)", - "Last live ago": "Last live ago (es)" + "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 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" } diff --git a/web/i18n/translations.fr.json b/web/i18n/translations.fr.json index b29477922..960e82d61 100644 --- a/web/i18n/translations.fr.json +++ b/web/i18n/translations.fr.json @@ -1,19 +1,19 @@ { - "Notify": "Notify (fr)", - "Powered by Owncast": "Powered by Owncast (fr)", - "Documentation": "Documentation (fr)", - "Contribute": "Contribute (fr)", - "Source": "Source (fr)", - "Skip to player": "Skip to player (fr)", - "Skip to offline message": "Skip to offline message (fr)", - "Skip to page content": "Skip to page content (fr)", - "Skip to footer": "Skip to footer (fr)", - "Chat is offline": "Chat is offline (fr)", - "Stay updated!": "Stay updated! (fr)", - "Click and never miss future streams!": "Click and never miss future streams! (fr)", - "This stream is offline": "This stream is offline. (fr)", - "the next time goes live": "the next time goes live (fr)", - "Follow": "Follow (fr)", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live (fr)", - "Last live ago": "Last live ago (fr)" + "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 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" } diff --git a/web/i18n/translations.sp.json b/web/i18n/translations.sp.json index 23027848e..960e82d61 100644 --- a/web/i18n/translations.sp.json +++ b/web/i18n/translations.sp.json @@ -1,19 +1,19 @@ { - "Notify": "Notify (sp)", - "Powered by Owncast": "Powered by Owncast (sp)", - "Documentation": "Documentation (sp)", - "Contribute": "Contribute (sp)", - "Source": "Source (sp)", - "Skip to player": "Skip to player (sp)", - "Skip to offline message": "Skip to offline message (sp)", - "Skip to page content": "Skip to page content (sp)", - "Skip to footer": "Skip to footer (sp)", - "Chat is offline": "Chat is offline (sp)", - "Stay updated!": "Stay updated! (sp)", - "Click and never miss future streams!": "Click and never miss future streams! (sp)", - "This stream is offline": "This stream is offline. (sp)", - "the next time goes live": "the next time goes live (sp)", - "Follow": "Follow (sp)", - "on the Fediverse to see the next time goes live": "on the Fediverse to see the next time goes live (sp)", - "Last live ago": "Last live ago (sp)" + "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 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" } diff --git a/web/i18next-parser.config.mjs b/web/i18next-parser.config.mjs index 6009ed2c7..d046a4767 100644 --- a/web/i18next-parser.config.mjs +++ b/web/i18next-parser.config.mjs @@ -10,10 +10,9 @@ export default { defaultNamespace: 'translation', // Default namespace used in your i18next config - defaultValue: null, - // defaultValue: function (locale, namespace, key, value) { - // return `${key} (${locale})`; - // }, // Default value to give to keys with no value + defaultValue: function (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 indentation: 2,