WIP - First attemplte of Pluralization

This commit is contained in:
Grzegorz Leoniec 2018-12-28 20:10:01 +01:00
parent 6c2b606341
commit 7bd345ceec
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
3 changed files with 28 additions and 11 deletions

View File

@ -94,4 +94,4 @@
"author": "Afrikanisches Sprichwort"
}
}
}
}

View File

@ -1,4 +1,21 @@
{
"common": {
"post": "Post ::: Posts",
"comment": "Comment ::: Comments",
"letsTalk": "Let`s Talk",
"versus": "Versus",
"moreInfo": "More Info",
"takeAction": "Take Action",
"shout": "Shout ::: Shouts",
"user": "User ::: Users",
"category": "Category ::: Categories",
"organization": "Organization ::: Organizations",
"project": "Project ::: Projects",
"tag": "Tag ::: Tags",
"name": "Name ::: Names",
"loadMore": "load more",
"loading": "loading"
},
"login": {
"copy": "If you already have a human-connection account, login here.",
"login": "Login",
@ -94,4 +111,4 @@
"author": "African proverb"
}
}
}
}

View File

@ -18,33 +18,33 @@
<script>
export default {
data() {
return {
routes: [
computed: {
routes() {
return [
{
name: 'Post',
name: this.$t('common.post', null, 1),
path: `/post/${this.$route.params.slug}`,
children: [
{
name: 'Kommentare',
name: this.$t('common.comment', null, 2),
path: `/post/${this.$route.params.slug}#comments`
},
{
name: 'Miteinander reden',
name: this.$t('common.letsTalk'),
path: `/post/${this.$route.params.slug}#lets-talk`
},
{
name: 'Versus',
name: this.$t('common.versus'),
path: `/post/${this.$route.params.slug}#versus`
}
]
},
{
name: 'Mehr Info',
name: this.$t('common.moreInfo'),
path: `/post/${this.$route.params.slug}/more-info`
},
{
name: 'Aktiv werden',
name: this.$t('common.takeAction'),
path: `/post/${this.$route.params.slug}/take-action`
}
]