{#snippet prefix()}
-
+
{/snippet}
{$t('profile.profile')}
{#snippet prefix()}
-
+
{/snippet}
{$t('profile.inbox')}
{#if $notifications.inbox > 0}
@@ -108,21 +110,34 @@
{#snippet prefix()}
-
+
{/snippet}
{$t('profile.saved')}
+ {:else}
+
+ {#snippet prefix()}
+
+ {/snippet}
+ {$t('account.login')}
+
+
+ {#snippet prefix()}
+
+ {/snippet}
+ {$t('account.signup')}
+
{/if}
{#snippet prefix()}
-
+
{/snippet}
{$t('account.accounts')}
{$t('nav.menu.app')}
{#snippet prefix()}
-
+
{/snippet}
{$t('nav.menu.settings')}
@@ -166,7 +181,7 @@
{#if settings.debugInfo}
{#snippet prefix()}
-
+
{/snippet}
Debug
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 39c3c593..c1d3558d 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -183,12 +183,19 @@
"chooseInstance": "Choose an instance",
"application": {
"label": "Application",
- "info": "To join this instance, you must fill out this application, and wait to be accepted. You will receive an email if your application is accepted."
+ "info": "To join this instance, you must fill out this application, and wait to be accepted. You will receive an email if your application is accepted.",
+ "notice": "Your signup is now pending. Once an administrator reviews it, you will receive an email if it was accepted. You then can log in."
},
"closed": {
"title": "Registrations closed",
"description": "This instance has registrations closed. Find another instance.",
"anotherInstance": "Find another instance"
+ },
+ "verify": {
+ "title": "Verify email",
+ "description": "Check your inbox for a verification link. Once you've clicked it, press the button below.",
+ "submit": "I've verified my email",
+ "error": "Your email has not been verified."
}
},
"description": "Description",
@@ -927,14 +934,14 @@
"incorrect_login": "Incorrect login credentials. Please try again.",
"incorrect_login_2": "Incorrect login credentials. Try again.",
"incorrect_login_3": "Incorrect, again. Try a few more times.",
- "incorrect_login_4": "Those still aren't the right credentials. Keep trying.",
- "incorrect_login_5": "I swear, you need to look at the keys you're pressing.",
- "incorrect_login_6": "Is this a joke to you?",
- "incorrect_login_7": "Either you struggle with typing or you're harassing me at this point.",
+ "incorrect_login_4": "Successfully logged-wait no. Incorrect credentials.",
+ "incorrect_login_5": "Look at your keyboard while typing this time.",
+ "incorrect_login_6": "I believe in you.",
+ "incorrect_login_7": "Okay, you're messing with me now.",
"incorrect_login_8": "I give up.",
"incorrect_login_9": "Each of these requests you make are sending data through via an incredible technology. And you're using it to make failed logins.",
"incorrect_login_10": "Think about this. The poor instance admins have to maintain their server just for you to make these useless requests.",
- "incorrect_login_11": "I give up, for real this time.",
+ "incorrect_login_11": "Each press of the button uses thousands of CPU cycles to process your request, which ends up failing.",
"incorrect_login_12": "...",
"registration_application_is_pending": "The registration application for that account hasn't been accepted yet.",
"couldnt_find_post": "That post doesn't exist, isn't on this instance, or was removed.",
diff --git a/src/routes/accounts/+page.svelte b/src/routes/accounts/+page.svelte
index 0b9e083c..839a7f23 100644
--- a/src/routes/accounts/+page.svelte
+++ b/src/routes/accounts/+page.svelte
@@ -23,6 +23,7 @@
ChevronUp,
EllipsisHorizontal,
Icon,
+ Identification,
Plus,
QuestionMarkCircle,
} from 'svelte-hero-icons'
@@ -119,6 +120,12 @@
{/snippet}
{$t('account.login')}
+
{#if !LINKED_INSTANCE_URL}