diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index 3f01e862..f25aa723 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -906,7 +906,8 @@ "invalid_vote_value": "You can't commit voter fraud on Lemmy posts, sorry.", "language_not_allowed": "That language isn't allowed in this community. Unset it to use the community's default.", "couldnt_find_person": "That user doesn't exist.", - "couldnt_find_community": "That community doesn't exist." + "couldnt_find_community": "That community doesn't exist.", + "not_an_admin": "You are not an admin of this instance." }, "aria": { "pagination": { diff --git a/src/routes/registration_applications/+page.svelte b/src/routes/registration_applications/+page.svelte new file mode 100644 index 00000000..e69de29b diff --git a/src/routes/registration_applications/+page.ts b/src/routes/registration_applications/+page.ts new file mode 100644 index 00000000..52de40dc --- /dev/null +++ b/src/routes/registration_applications/+page.ts @@ -0,0 +1,5 @@ +import { redirect } from '@sveltejs/kit' + +export function load({}) { + redirect(302, '/admin/applications') +}