diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json index b555cfde..7605f2a9 100644 --- a/materialious/src/lib/i18n/locales/en.json +++ b/materialious/src/lib/i18n/locales/en.json @@ -7,9 +7,18 @@ "loadMore": "Load more", "views": "views", "login": "Login", + "username": "Username", + "password": "Password", + "invalidPassword": "Invalid password", + "usernameTaken": "Username taken", + "createAccount": "Create account", + "needRegister": "I need to register", + "needLogin": "I need to login", "recommendedVideos": "Recommended Videos", "playlistVideos": "Playlist Videos", - "invidiousLogin": "Please log in with your Invidious account", + "invidiousLogin": "Please log in with your Invidious account.", + "materialiousLogin": "Please login with your Materialious account.", + "materialiousCreate": "Please create your Materialious account.", "invalidInstance": "Please verify the URL. If it's correct, the instance may be down or may not support third-party clients.", "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", diff --git a/materialious/src/routes/(app)/+layout.svelte b/materialious/src/routes/(app)/+layout.svelte index 18c46daf..131671ef 100644 --- a/materialious/src/routes/(app)/+layout.svelte +++ b/materialious/src/routes/(app)/+layout.svelte @@ -117,6 +117,7 @@ async function login() { if (isOwnBackend()?.internalAuth) { + goto(resolve('/internal/login', {})); return; } @@ -499,11 +500,11 @@
- +
- +