Make user profile follow(ed) lists exceeds 5 users and X more better translatable

Slite adjustment of `more` to `more …`
This commit is contained in:
Wolfgang Huß 2019-08-23 13:51:36 +02:00
parent 66612801ce
commit a10e2e3a9b
3 changed files with 12 additions and 8 deletions

View File

@ -122,8 +122,7 @@
"followingNobody": "folgt niemandem.",
"followedBy": "wird gefolgt von:",
"followedByNobody": "wird von niemandem gefolgt.",
"and": "und",
"more": "weitere"
"andMore": "und {number} weitere …"
},
"invites": {
"title": "Lade jemanden zu Human Connection ein!",

View File

@ -122,8 +122,7 @@
"followingNobody": "follows nobody.",
"followedBy": "is followed by:",
"followedByNobody": "is not followed by anyone.",
"and": "and",
"more": "more"
"andMore": "and {number} more …"
},
"invites": {
"title": "Invite somebody to Human Connection!",

View File

@ -95,8 +95,11 @@
</ds-space>
<ds-space v-if="user.followingCount - user.following.length" margin="small">
<ds-text size="small" color="softer">
{{ $t('profile.network.and') }} {{ user.followingCount - user.following.length }}
{{ $t('profile.network.more') }}
{{
$t('profile.network.andMore', {
number: user.followingCount - user.following.length,
})
}}
</ds-text>
</ds-space>
</template>
@ -122,8 +125,11 @@
</ds-space>
<ds-space v-if="user.followedByCount - user.followedBy.length" margin="small">
<ds-text size="small" color="softer">
{{ $t('profile.network.and') }} {{ user.followedByCount - user.followedBy.length }}
{{ $t('profile.network.more') }}
{{
$t('profile.network.andMore', {
number: user.followedByCount - user.followedBy.length,
})
}}
</ds-text>
</ds-space>
</template>