diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json index 8b8f0811..d6ae6c96 100644 --- a/materialious/src/lib/i18n/locales/en.json +++ b/materialious/src/lib/i18n/locales/en.json @@ -3,6 +3,7 @@ "copyUrl": "Copy URL", "loadMore": "Load more", "views": "views", + "invidiousBlockWarning": "Invidious is currently being blocked by Google. If videos aren't loading for this instance, please use this instance on Materialious on {android} or {desktop} to get around this with local video fallback.", "videos": "videos", "cancel": "Cancel", "create": "Create", diff --git a/materialious/src/routes/(app)/+layout.svelte b/materialious/src/routes/(app)/+layout.svelte index 96a8a039..e98c47a2 100644 --- a/materialious/src/routes/(app)/+layout.svelte +++ b/materialious/src/routes/(app)/+layout.svelte @@ -290,21 +290,14 @@
- Invidious is currently being blocked by Google. If videos aren't loading for this - instance, please use this instance on Materialious on - Android - or - Desktop to get around this with local video fallback. + {@html $_('invidiousBlockWarning', { + values: { + android: + 'Android', + desktop: + 'Desktop' + } + })}