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", "moderators": "Moderatoren",
"myContributions": "Meine Beiträge zum Gemeinwohl", "myContributions": "Meine Beiträge zum Gemeinwohl",
"openContributionLinks": "öffentliche Beitragslinklist", "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", "other-communities": "Weitere Gemeinschaften",
"statistic": "Statistik", "statistic": "Statistik",
"submitContribution": "Beitrag einreichen", "submitContribution": "Beitrag einreichen",

View File

@ -30,7 +30,7 @@
"moderators": "Moderators", "moderators": "Moderators",
"myContributions": "My contributions to the common good", "myContributions": "My contributions to the common good",
"openContributionLinks": "open Contribution links list", "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", "other-communities": "Other communities",
"statistic": "Statistics", "statistic": "Statistics",
"submitContribution": "Submit contribution", "submitContribution": "Submit contribution",

View File

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