add count to the locales: openContributionLinkText

This commit is contained in:
ogerly 2022-08-05 11:20:23 +02:00
parent 4ab160ec44
commit 45f877f559
3 changed files with 8 additions and 4 deletions

View File

@ -30,7 +30,7 @@
"moderators": "Moderatoren",
"myContributions": "Meine Beiträge zum Gemeinwohl",
"openContributionLinks": "öffentliche Beitragslinklist",
"openContributionLinkText": "Folgende automatische Schöpfungen werden zur Zeit durch die Gemeinschaft '{_name_}' bereitgestellt.",
"openContributionLinkText": "Folgende {_count_} automatische Schöpfungen werden zur Zeit durch die Gemeinschaft '{_name_}' bereitgestellt.",
"other-communities": "Weitere Gemeinschaften",
"statistic": "Statistik",
"submitContribution": "Beitrag einreichen",

View File

@ -30,7 +30,7 @@
"moderators": "Moderators",
"myContributions": "My contributions to the common good",
"openContributionLinks": "open Contribution links list",
"openContributionLinkText": "The following automatic creations are currently provided by the '{_name_}' community.",
"openContributionLinkText": "The following {_count_} automatic creations are currently provided by the '{_name_}' community.",
"other-communities": "Other communities",
"statistic": "Statistics",
"submitContribution": "Submit contribution",

View File

@ -15,9 +15,13 @@
<b-container>
<div class="h3">{{ $t('community.openContributionLinks') }}</div>
<small>
{{ $t('community.openContributionLinkText', { _name_: CONFIG.COMMUNITY_NAME }) }}
{{
$t('community.openContributionLinkText', {
_name_: CONFIG.COMMUNITY_NAME,
_count_: count,
})
}}
</small>
Momentan gibt es aktuell {{ count }} Aktionen.
<ul>
<li v-for="item in itemsContributionLinks" v-bind:key="item.id">
<div>{{ item.name }}</div>