-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
308 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script setup lang="ts"> | ||
import { RouterView } from 'vue-router'; | ||
</script> | ||
|
||
<template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"de": "Deutsch", | ||
"en": "Englisch", | ||
"username": "Benutzername", | ||
"password": "Passwort", | ||
"passerror": "Benutzer oder Passwort fehlerhaft.", | ||
"logout": "Abmelden", | ||
"thankyou": "Danke!", | ||
"OK": "Ok", | ||
"cancel": "Abbruch", | ||
"delete": "Löschen", | ||
"error": "Fehler", | ||
"emailform": { | ||
"title": "Email senden", | ||
"intro": "Hier kannst du deine Email an die ausgewählte Person oder Funktion senden", | ||
"invalid": "Der Link ist fehlerhaft oder inzwischen veraltet. Bitte lass dir einen Neuen schicken.", | ||
"your_email_to": "Deine Email an", | ||
"subject": "Betreff", | ||
"message": "Nachricht", | ||
"done": "Deine Email wurde versandt!" | ||
}, | ||
"contactform": { | ||
"title": "Email senden", | ||
"intro": "Wir haben keine Datenschutzrelevanten Funktionen auf unserer Webseite. Nur hier benötigen wir zuerst deine Emailadresse. Wir freuen uns von die zu hören!", | ||
"who_to_contact": "Mit wem möchtest du in Kontakt treten?", | ||
"your_email": "Deine Emailadresse", | ||
"check_your_email": "Wir haben eine Email mit dem Link zum Kontaktformular an dich gesendet. Bitte schau in dein Postfach. Eventuell solltest du auch deinen Spam checken." | ||
}, | ||
"templates": { | ||
"active": "Aktiv", | ||
"purpose": "Ziel", | ||
"purpose_full": "Ziel der Email (Beschreibung des Empfängers)", | ||
"to": "An", | ||
"to_full": "Email des Empfämgers", | ||
"from_full": "Email Konto von dem gesendet wird", | ||
"subject": "Betreff", | ||
"text": "Email mit Validierungslink", | ||
"add": "Hinzufügen" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"de": "German", | ||
"en": "English", | ||
"username": "Username", | ||
"password": "Password", | ||
"passerror": "Username or password incorrect.", | ||
"logout": "Logout", | ||
"thankyou": "Thank you!", | ||
"OK": "Ok", | ||
"cancel": "Cancel", | ||
"delete": "Delete", | ||
"error": "Error", | ||
"emailform": { | ||
"title": "Send Email", | ||
"intro": "Here you can send your email to the requested person or team or function", | ||
"invalid": "The Link is wrong or outdated. Please get a new link.", | ||
"your_email_to": "Your Email to", | ||
"subject": "Subject", | ||
"message": "Your message", | ||
"done": "We have sent your message!" | ||
}, | ||
"contactform": { | ||
"title": "Send Email", | ||
"intro": "Our web site is free from any privacy related functionality. No cookies nor external embedded content nor tracking. For the contact form we expect you to provide your email address first. We are looking forward to hear from you!", | ||
"who_to_contact": "Who do you want to contact?", | ||
"your_email": "Your Email Address", | ||
"check_your_email": "We have sent an email containing the link to the contact form to you. Please check your Inbox and maybe your Spam folder." | ||
}, | ||
"templates": { | ||
"active": "Active", | ||
"purpose": "Purpose", | ||
"purpose_full": "Purpose of Email (describe the receiver)", | ||
"to": "To", | ||
"to_full": "Email of the receiver", | ||
"from_full": "Email Accont to send from", | ||
"subject": "Subject", | ||
"text": "Text for validation email", | ||
"add": "Add" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,32 @@ | ||
import './style.css' | ||
import { createApp } from 'vue'; | ||
import { createPinia } from 'pinia'; | ||
import { createApp } from 'vue' | ||
import { createPinia } from 'pinia' | ||
import { createI18n } from 'vue-i18n' | ||
|
||
import App from './App.vue'; | ||
import { router } from './router'; | ||
import App from "./App.vue"; | ||
import { router } from "./router"; | ||
import en from './locales/en.json'; | ||
import de from './locales/de.json'; | ||
|
||
type MessageSchema = typeof en | ||
const config = { | ||
legacy: false, | ||
locale: "de", | ||
fallbackLocale: "de", | ||
availableLocales: ["de","en"], | ||
messages: { | ||
de, | ||
en | ||
}, | ||
} | ||
|
||
const i18n = createI18n<[MessageSchema], 'en' | 'de'>(config); | ||
const app = createApp(App); | ||
|
||
app.use(createPinia()); | ||
app.use(router); | ||
app.use(i18n); | ||
|
||
app.mount("#app"); | ||
|
||
app.mount('#app'); | ||
export default config.availableLocales |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.