mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Translations and style adapted
This commit is contained in:
parent
036e2605b7
commit
c00f281e6c
@ -21,11 +21,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"site": {
|
"site": {
|
||||||
|
"thx": "Danke!",
|
||||||
"made": "Mit ❤ gemacht",
|
"made": "Mit ❤ gemacht",
|
||||||
"imprint": "Impressum",
|
"imprint": "Impressum",
|
||||||
"data-privacy": "Datenschutz",
|
"data-privacy": "Datenschutz",
|
||||||
"termsAndConditions": "Nutzungsbedingungen",
|
"termsAndConditions": "Nutzungsbedingungen",
|
||||||
"newTermsAndConditions": "Neue Nutzungsbedingungen",
|
|
||||||
"changelog": "Änderungen & Verlauf",
|
"changelog": "Änderungen & Verlauf",
|
||||||
"contact": "Kontakt",
|
"contact": "Kontakt",
|
||||||
"tribunal": "Registergericht",
|
"tribunal": "Registergericht",
|
||||||
@ -35,9 +35,7 @@
|
|||||||
"responsible": "Verantwortlicher gemäß § 55 Abs. 2 RStV ",
|
"responsible": "Verantwortlicher gemäß § 55 Abs. 2 RStV ",
|
||||||
"bank": "Bankverbindung",
|
"bank": "Bankverbindung",
|
||||||
"germany": "Deutschland",
|
"germany": "Deutschland",
|
||||||
"code-of-conduct": "Verhaltenscodex",
|
"code-of-conduct": "Verhaltenscodex"
|
||||||
"termsAndConditionsConfirmed": "Ich habe die <a href=\"/terms-and-conditions\" target=\"_blank\">Nutzungsbedingungen</a> durchgelesen und stimme ihnen zu.",
|
|
||||||
"termsAndConditionsNewConfirm": "Bestätige bitte die neuen Nutzungsbedingungen"
|
|
||||||
},
|
},
|
||||||
"sorting": {
|
"sorting": {
|
||||||
"newest": "Neuste",
|
"newest": "Neuste",
|
||||||
@ -571,6 +569,11 @@
|
|||||||
"get-help": "Wenn du einem inakzeptablen Verhalten ausgesetzt bist, es miterlebst oder andere Bedenken hast, benachrichtige bitte so schnell wie möglich einen Organisator der Gemeinschaft und verlinke oder verweise auf den entsprechenden Inhalt:"
|
"get-help": "Wenn du einem inakzeptablen Verhalten ausgesetzt bist, es miterlebst oder andere Bedenken hast, benachrichtige bitte so schnell wie möglich einen Organisator der Gemeinschaft und verlinke oder verweise auf den entsprechenden Inhalt:"
|
||||||
},
|
},
|
||||||
"termsAndConditions": {
|
"termsAndConditions": {
|
||||||
|
"newTermsAndConditions": "Neue Nutzungsbedingungen",
|
||||||
|
"termsAndConditionsConfirmed": "Ich habe die <a href=\"/terms-and-conditions\" target=\"_blank\">Nutzungsbedingungen</a> durchgelesen und stimme ihnen zu.",
|
||||||
|
"termsAndConditionsNewConfirmText": "Unsere <a href=\"/terms-and-conditions\" target=\"_blank\"><span class=\"ds-chip ds-chip-size-large ds-chip-warning ds-chip-round\">Nutzungsbedingungen</span></a> haben sich geändert!",
|
||||||
|
"termsAndConditionsNewConfirm": "Ich bestätige die neuen Nutzungsbedingungen",
|
||||||
|
"agree": "Ich Stimme zu!",
|
||||||
"risk": {
|
"risk": {
|
||||||
"title": "Unfallgefahr",
|
"title": "Unfallgefahr",
|
||||||
"description": "Das ist eine Testversion! Alle Daten, Dein Profil und die Server können jederzeit komplett vernichtet, verloren, verbrannt und vielleicht auch in der Nähe von Alpha Centauri synchronisiert werden. Die Benutzung läuft auf eigene Gefahr. Mit kommerziellen Nebenwirkungen ist jedoch nicht zu rechnen."
|
"description": "Das ist eine Testversion! Alle Daten, Dein Profil und die Server können jederzeit komplett vernichtet, verloren, verbrannt und vielleicht auch in der Nähe von Alpha Centauri synchronisiert werden. Die Benutzung läuft auf eigene Gefahr. Mit kommerziellen Nebenwirkungen ist jedoch nicht zu rechnen."
|
||||||
|
|||||||
@ -21,10 +21,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"site": {
|
"site": {
|
||||||
|
"thx": "Thanks!",
|
||||||
"made": "Made with ❤",
|
"made": "Made with ❤",
|
||||||
"imprint": "Imprint",
|
"imprint": "Imprint",
|
||||||
"termsAndConditions": "Terms and conditions",
|
"termsAndConditions": "Terms and conditions",
|
||||||
"newTermsAndConditions": "New Terms and conditions",
|
|
||||||
"data-privacy": "Data privacy",
|
"data-privacy": "Data privacy",
|
||||||
"changelog": "Changes & History",
|
"changelog": "Changes & History",
|
||||||
"contact": "Contact",
|
"contact": "Contact",
|
||||||
@ -35,9 +35,7 @@
|
|||||||
"responsible": "responsible for contents of this page (§ 55 Abs. 2 RStV)",
|
"responsible": "responsible for contents of this page (§ 55 Abs. 2 RStV)",
|
||||||
"bank": "bank account",
|
"bank": "bank account",
|
||||||
"germany": "Germany",
|
"germany": "Germany",
|
||||||
"code-of-conduct": "Code of Conduct",
|
"code-of-conduct": "Code of Conduct"
|
||||||
"termsAndConditionsConfirmed": "I have read and confirmed the <a href=\"/terms-and-conditions\" target=\"_blank\">terms and conditions</a>.",
|
|
||||||
"termsAndConditionsNewConfirm": "Please confirm the new Terms and Conditions"
|
|
||||||
},
|
},
|
||||||
"sorting": {
|
"sorting": {
|
||||||
"newest": "Newest",
|
"newest": "Newest",
|
||||||
@ -571,6 +569,11 @@
|
|||||||
"get-help": "If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible and link or refer to the corresponding content:"
|
"get-help": "If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible and link or refer to the corresponding content:"
|
||||||
},
|
},
|
||||||
"termsAndConditions": {
|
"termsAndConditions": {
|
||||||
|
"newTermsAndConditions": "New Terms and Conditions",
|
||||||
|
"termsAndConditionsConfirmed": "I have read and confirmed the <a href=\"/terms-and-conditions\" target=\"_blank\">Terms and Conditions</a>.",
|
||||||
|
"termsAndConditionsNewConfirmText": "Our <a href=\"/terms-and-conditions\" target=\"_blank\"><span class=\"ds-chip ds-chip-size-large ds-chip-warning ds-chip-round\">Terms and Conditions</span></a> have changed!",
|
||||||
|
"termsAndConditionsNewConfirm": "I confirm the new Terms and Conditions",
|
||||||
|
"agree": "I agree!",
|
||||||
"risk": {
|
"risk": {
|
||||||
"title": "Risk of accident",
|
"title": "Risk of accident",
|
||||||
"description": "This is a test version! All data, your profile and the server can be completely destroyed, wiped out, lost, burnt and eventually synchronised near Alpha Centauri at any time. Use on your own risk. Commercial effects are not likely though."
|
"description": "This is a test version! All data, your profile and the server can be completely destroyed, wiped out, lost, burnt and eventually synchronised near Alpha Centauri at any time. Use on your own risk. Commercial effects are not likely though."
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export default async ({ store, env, route, redirect }) => {
|
|||||||
}
|
}
|
||||||
if (route.name === 'terms-and-conditions-confirm') return true // avoid endless loop
|
if (route.name === 'terms-and-conditions-confirm') return true // avoid endless loop
|
||||||
|
|
||||||
if(store.getters['auth/termsAndConditionsAgreed']) return true
|
if (store.getters['auth/termsAndConditionsAgreed']) return true
|
||||||
|
|
||||||
let params = {}
|
let params = {}
|
||||||
if (!isEmpty(route.path) && route.path !== '/') {
|
if (!isEmpty(route.path) && route.path !== '/') {
|
||||||
|
|||||||
@ -1,34 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<ds-container width="medium">
|
||||||
<ds-space>
|
<ds-card icon="balance-scale" header=" " primary centered>
|
||||||
<ds-heading tag="h2">{{ $t(`site.newTermsAndConditions`) }}</ds-heading>
|
<ds-text
|
||||||
</ds-space>
|
tag="h2"
|
||||||
<ds-container>
|
v-html="$t(`termsAndConditions.termsAndConditionsNewConfirmText`)"
|
||||||
<div>
|
></ds-text>
|
||||||
<ds-button secondary class="display:none" @click="submit">
|
<template slot="footer">
|
||||||
{{ $t(`site.termsAndConditionsNewConfirm`) }}
|
<ds-button @click="submit">
|
||||||
|
{{ $t(`termsAndConditions.termsAndConditionsNewConfirm`) }}
|
||||||
</ds-button>
|
</ds-button>
|
||||||
</div>
|
</template>
|
||||||
<div>
|
</ds-card>
|
||||||
<ol>
|
</ds-container>
|
||||||
<li v-for="section in sections" :key="section">
|
|
||||||
<strong>{{ $t(`termsAndConditions.${section}.title`) }}:</strong>
|
|
||||||
<p v-html="$t(`termsAndConditions.${section}.description`)" />
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
<p>{{ $t(`termsAndConditions.have-fun`) }}</p>
|
|
||||||
<br />
|
|
||||||
<p>
|
|
||||||
<strong v-html="$t(`termsAndConditions.closing`)" />
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<ds-button secondary class="display:none" @click="submit">
|
|
||||||
{{ $t(`site.termsAndConditionsNewConfirm`) }}
|
|
||||||
</ds-button>
|
|
||||||
</div>
|
|
||||||
</ds-container>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -47,7 +30,7 @@ export default {
|
|||||||
layout: 'default',
|
layout: 'default',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.newTermsAndConditions'),
|
title: this.$t('termsAndConditions.newTermsAndConditions'),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -95,7 +78,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
this.$toast.success(this.$t('DANKE'))
|
this.$toast.success(this.$t('site.thx'))
|
||||||
this.$router.replace(this.$route.query.path || '/')
|
this.$router.replace(this.$route.query.path || '/')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.$toast.error(err.message)
|
this.$toast.error(err.message)
|
||||||
|
|||||||
@ -45,7 +45,7 @@ export const getters = {
|
|||||||
},
|
},
|
||||||
termsAndConditionsAgreed(state) {
|
termsAndConditionsAgreed(state) {
|
||||||
return state.user && state.user.termsAndConditionsAgreedVersion === VERSION
|
return state.user && state.user.termsAndConditionsAgreedVersion === VERSION
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export const actions = {
|
export const actions = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user