contact i18n

Signed-off-by: Alex J <odyssey346@disroot.org>
This commit is contained in:
Alex J 2022-06-21 20:24:18 +02:00
parent f980b9d0a7
commit 3ea415e0e7
4 changed files with 29 additions and 25 deletions

View File

@ -15,5 +15,11 @@
"DONATEDESCRIPTION": "The ways you can donate to us and more",
"DONATEPLEASEDO": "please do",
"DONATEEXPLANATION": "If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. I really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks!",
"DONATEOKSURE": "sure I'll donate. Links?"
"DONATEOKSURE": "sure I'll donate. Links?",
"CONTACTTITLE": "Contact Us",
"CONTACTDESCRIPTION": "Do you want to contact us?",
"CONTACTOUREMAIL": "Our email",
"CONTACTEMAILEX": "Please be aware that Microsoft often blocks non-popular emails, if you do contact us through there, make sure to check your spam and mark it as not-spam!",
"CONTACTPEOPLE": "People",
"CONTACTCLICK": "Click to show who is active on what platform"
}

View File

@ -15,5 +15,11 @@
"DONATEDESCRIPTION": "Veiene du kan donere til oss og mer",
"DONATEPLEASEDO": "vær så snill",
"DONATEEXPLANATION": "Hvis du donerer, blir vi mer motivert til å jobbe på serverene våres og ofre flere tjenester, og kanskje skaffe oss mer maskinvare. Jeg anbefaler at du donerer reservepenger hvis du liker å bruke tjenestene våres, eller hvis du bruker våres tjenester på en daglig basis. Takk!",
"DONATEOKSURE": "greit, jeg skal donere. Hvor kan jeg donere?"
"DONATEOKSURE": "greit, jeg skal donere. Hvor kan jeg donere?",
"CONTACTTITLE": "Få kontakt med oss",
"CONTACTDESCRIPTION": "Veier du kan komme i kontakt med oss.",
"CONTACTOUREMAIL": "Våres e-post",
"CONTACTEMAILEX": "Microsoft (Outlook, Hotmail) pleier å markere e-poster som ikke er populære som søppelpost. Hvis du sender oss en e-post via Microsoft, husk å markere oss som ikke søppelpost!",
"CONTACTPEOPLE": "Medlemmer i Project Segfault",
"CONTACTCLICK": "Klikk for å komme i kontakt med en av medlemmene våres."
}

View File

@ -1,22 +1,14 @@
<!--TODO: Bring back the SEO stuff-->
<script lang="ts">
export let title;
export let description;
export let separator;
import SvelteSeo from "svelte-seo";
import * as strings from "$lib/strings";
// Enjoy the jank.
if (title === "Project Segfault") {
title = "";
separator = "";
} else {
separator = "|";
}
</script>
<SvelteSeo
openGraph={{
title: title,
description: description,
title: "Project Segfault",
description: "4 idiots, a Sun server and a Hitachi Compute Rack.",
type: "website",
images: [
{
@ -30,7 +22,7 @@
/>
<svelte:head>
<title>{title} {separator} Project Segfault</title>
<title>Project Segfault</title>
</svelte:head>
<div class="mdsvex_content">

View File

@ -1,18 +1,18 @@
---
title: Contact Us
description: Do you want to contact us?
---
# {title}
<script lang="ts">
import { t } from '$lib/translations';
</script>
## {description}
<h1>{$t('common.CONTACTTITLE')}</h1>
# Our email
<h2>{$t('common.CONTACTDESCRIPTION')}</h2>
<h1>{$t('common.CONTACTOUREMAIL')}</h1>
<p><a href="mailto:contact@projectsegfau.lt">contact@projectsegfau.lt</a></p>
<p><i>Please be aware that Microsoft often blocks non-popular emails, if you do contact us through there, make sure to check your spam and mark it as not-spam!</i></p>
<p><i>{$t('common.CONTACTEMAILEX')}</i></p>
<h1>People</h1>
<h1>{$t('common.CONTACTPEOPLE')}</h1>
<div id="Active" style="display:none">
<div class="parent">
@ -37,7 +37,7 @@ type="button"
onclick='document.getElementById("Active").style.display ="block"; document.getElementById("hide").style.display = "none" ;'
>
Click to show who is active on what platform
{$t('common.CONTACTCLICK')}
</button>