Merge pull request #81 from gradido/improve-translations

feat: improve translations
This commit is contained in:
Ulf Gebhardt 2021-03-24 20:16:50 +01:00 committed by GitHub
commit 8b63f080a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 84 additions and 83 deletions

View File

@ -6,7 +6,7 @@
"signup": "Registrieren", "signup": "Registrieren",
"imprint":"Impressum", "imprint":"Impressum",
"privacy_policy":"Datenschutzerklärung", "privacy_policy":"Datenschutzerklärung",
"back":"zurück", "back":"Zurück",
"sent":"Senden", "sent":"Senden",
"transactions":"Transaktionen", "transactions":"Transaktionen",
"language":"Language", "language":"Language",
@ -15,7 +15,7 @@
"en": "English" "en": "English"
}, },
"form": { "form": {
"cancel":"abbrechen", "cancel":"Abbrechen",
"firstname":"Vorname", "firstname":"Vorname",
"lastname":"Nachname", "lastname":"Nachname",
"email":"eMail", "email":"eMail",
@ -29,7 +29,7 @@
"from":"von", "from":"von",
"to":"bis", "to":"bis",
"at":"am", "at":"am",
"send_now":"jetzt versenden" "send_now":"Jetzt versenden"
}, },
"transaction":{ "transaction":{
"show_part": "Die letzten <strong>{count}</strong> Transaktionen", "show_part": "Die letzten <strong>{count}</strong> Transaktionen",
@ -54,7 +54,7 @@
"password": { "password": {
"title": "Passwort zurücksetzen", "title": "Passwort zurücksetzen",
"subtitle": "Wenn du dein Passwort vergessen hast, kannst du es hier zurücksetzen.", "subtitle": "Wenn du dein Passwort vergessen hast, kannst du es hier zurücksetzen.",
"reset_now": "jetzt zurücksetzen" "reset_now": "Jetzt zurücksetzen"
}, },
"thx": { "thx": {
"title": "Danke!", "title": "Danke!",
@ -68,7 +68,7 @@
}, },
"navbar" : { "navbar" : {
"my-profil":"Mein Profil", "my-profil":"Mein Profil",
"settings":"Einstellung", "settings":"Einstellungen",
"activity":"Aktivität", "activity":"Aktivität",
"support":"Support" "support":"Support"
}, },
@ -80,19 +80,19 @@
}, },
"landing1" : { "landing1" : {
"explore": "Erkunden Sie Gradido", "explore": "Erkunden Sie Gradido",
"text": "Gesundes Geld für eine gesunde Welt - Das Gradido-Modell kann weltweiten Wohlstand und Frieden schaffen", "text": "Gesundes Geld für eine gesunde Welt Das Gradido-Modell kann weltweiten Wohlstand und Frieden schaffen",
"link": "Seiten erkunden" "link": "Seiten erkunden"
}, },
"404" : { "404" : {
"ooops" : "Ooops!", "ooops" : "Ooops!",
"text" : "Seite nicht gefunden. Aber keine Sorge, wir haben noch viele andere Seiten zum Erkunden", "text" : "Seite nicht gefunden. Aber keine Sorge, wir haben noch viele andere Seiten zum Erkunden",
"back" : "zurück zur Übersicht!" "back" : "Zurück zur Übersicht!"
} }
}, },
"admin": { "admin": {
"site": { "site": {
"overview": { "overview": {
"created": "created", "created": "Schöpfen",
"transience" : "Transience", "transience" : "Transience",
"exchanged": "Exchanged", "exchanged": "Exchanged",
"members" : "Members" "members" : "Members"
@ -102,4 +102,4 @@
"nav": { "nav": {
"features": "Neuigkeiten" "features": "Neuigkeiten"
} }
} }

View File

@ -6,9 +6,9 @@
"signup": "Sign up", "signup": "Sign up",
"imprint":"Legal notice", "imprint":"Legal notice",
"privacy_policy":"Privacy policy", "privacy_policy":"Privacy policy",
"back":"back", "back":"Back",
"sent":"Send", "sent":"Send",
"transactions":"transactions", "transactions":"Transactions",
"language":"Sprache", "language":"Sprache",
"languages":{ "languages":{
"de": "Deutsch", "de": "Deutsch",
@ -19,9 +19,9 @@
"firstname":"Firstname", "firstname":"Firstname",
"lastname":"Lastname", "lastname":"Lastname",
"email":"Email", "email":"Email",
"email_repeat":"repeat_email", "email_repeat":"Repeat Email",
"password":"Password", "password":"Password",
"password_repeat":"repeat password", "password_repeat":"Repeat password",
"amount":"Amount", "amount":"Amount",
"memo":"Memo", "memo":"Memo",
"message":"Message", "message":"Message",
@ -30,7 +30,7 @@
"to":"to", "to":"to",
"at":"at", "at":"at",
"time":"Time", "time":"Time",
"send_now":"send now" "send_now":"Send now"
}, },
"transaction":{ "transaction":{
"show_part": "The last <strong>{count}</strong> transactions", "show_part": "The last <strong>{count}</strong> transactions",
@ -48,18 +48,18 @@
"signup": { "signup": {
"title": "Create your Gradido account", "title": "Create your Gradido account",
"subtitle": "Become a part of the community!", "subtitle": "Become a part of the community!",
"strength":"password strength:", "strength":"Password strength:",
"strong":"strong", "strong":"strong",
"agree":"I have read and understood and agree to them the" "agree":"I have read and understood and agree to them"
}, },
"password": { "password": {
"title": "reset password", "title": "Reset password",
"subtitle": "If you have forgotten your password, you can reset it here.", "subtitle": "If you have forgotten your password, you can reset it here.",
"reset_now": "reset now" "reset_now": "Reset now"
}, },
"thx": { "thx": {
"title": "Thank you", "title": "Thank you!",
"subtitle": "We have sent you an eMail." "subtitle": "We have sent you an email."
}, },
"overview":{ "overview":{
"account_overview":"Account overview", "account_overview":"Account overview",
@ -68,7 +68,7 @@
"add_work":"New Community Contribution" "add_work":"New Community Contribution"
}, },
"navbar" : { "navbar" : {
"my-profil":"My Profil", "my-profil":"My profile",
"settings":"Settings", "settings":"Settings",
"activity":"Activity", "activity":"Activity",
"support":"Support" "support":"Support"
@ -76,16 +76,17 @@
"sidebar" : { "sidebar" : {
"community":"Community", "community":"Community",
"members_area":"Members area", "members_area":"Members area",
"membership":"Membership" "membership":"Membership",
"language":"Languages"
}, },
"landing1" : { "landing1" : {
"explore":"Explore Gradido", "explore":"Explore Gradido",
"text":"If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example pages.", "text":"Healthy money for a healthy world — the Gradido model can create global prosperity and peace",
"link":"Explore pages" "link":"Explore pages"
}, },
"404" : { "404" : {
"ooops" : "Ooops!", "ooops" : "Ooops!",
"text" : "Page not found. Don't worry though, we have plenty of other pages to explore", "text" : "Page not found. Do not worry though, we have plenty of other pages to explore",
"back" : "Back to dashboard!" "back" : "Back to dashboard!"
} }
}, },

View File

@ -3,28 +3,28 @@
<notifications></notifications> <notifications></notifications>
<side-bar> <side-bar>
<template slot="links" > <template slot="links" >
<b-nav-item href="#!" to="/overview"> <b-nav-item href="#!" to="/overview">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('sent')}}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/transactions">
<b-nav-text class="p-0 text-lg text-muted">Transaktionen</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/profile">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.my-profil')}}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/profileedit">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.settings') }}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/activity">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.activity') }}</b-nav-text>
</b-nav-item>
<b-nav-text class="p-0 text-lg text-muted">{{ $t('sent')}}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/transactions">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('transactions')}}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/profile">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.my-profil')}}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/profileedit">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.settings') }}</b-nav-text>
</b-nav-item>
<b-nav-item href="#!" to="/activity">
<b-nav-text class="p-0 text-lg text-muted">{{ $t('site.navbar.activity') }}</b-nav-text>
</b-nav-item>
</template> </template>
</side-bar> </side-bar>
<div class="main-content"> <div class="main-content">
@ -41,49 +41,49 @@
</div> </div>
</template> </template>
<script> <script>
/* eslint-disable no-new */ /* eslint-disable no-new */
import PerfectScrollbar from 'perfect-scrollbar'; import PerfectScrollbar from 'perfect-scrollbar';
import 'perfect-scrollbar/css/perfect-scrollbar.css'; import 'perfect-scrollbar/css/perfect-scrollbar.css';
function hasElement(className) { function hasElement(className) {
return document.getElementsByClassName(className).length > 0; return document.getElementsByClassName(className).length > 0;
} }
function initScrollbar(className) { function initScrollbar(className) {
if (hasElement(className)) { if (hasElement(className)) {
new PerfectScrollbar(`.${className}`); new PerfectScrollbar(`.${className}`);
} else { } else {
// try to init it later in case this component is loaded async // try to init it later in case this component is loaded async
setTimeout(() => { setTimeout(() => {
initScrollbar(className); initScrollbar(className);
}, 100); }, 100);
} }
} }
import DashboardNavbar from './DashboardNavbar.vue'; import DashboardNavbar from './DashboardNavbar.vue';
import ContentFooter from './ContentFooter.vue'; import ContentFooter from './ContentFooter.vue';
// import DashboardContent from './Content.vue'; // import DashboardContent from './Content.vue';
import { FadeTransition } from 'vue2-transitions'; import { FadeTransition } from 'vue2-transitions';
export default { export default {
components: { components: {
DashboardNavbar, DashboardNavbar,
ContentFooter, ContentFooter,
// DashboardContent, // DashboardContent,
FadeTransition FadeTransition
}, },
methods: { methods: {
initScrollbar() { initScrollbar() {
let isWindows = navigator.platform.startsWith('Win'); let isWindows = navigator.platform.startsWith('Win');
if (isWindows) { if (isWindows) {
initScrollbar('sidenav'); initScrollbar('sidenav');
} }
} }
}, },
mounted() { mounted() {
this.initScrollbar() this.initScrollbar()
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
</style> </style>