mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
homepage_widget counters pluralization
This commit is contained in:
@@ -6,22 +6,22 @@
|
||||
<div class="custom1">
|
||||
<ul class="list-unstyled">
|
||||
<li v-if="counter.notifications > 0">
|
||||
<b>{{ counter.notifications }}</b> {{ $t('counter.unread_notifications') }}
|
||||
<span class="counter">{{ $tc('counter.unread_notifications', {n: counter.notifications }) }}</span>
|
||||
</li>
|
||||
<li v-if="counter.accompanyingCourses > 0">
|
||||
<b>{{ counter.accompanyingCourses }}</b> {{ $t('counter.assignated_courses') }}
|
||||
<span class="counter">{{ $tc('counter.assignated_courses', {n: counter.accompanyingCourses }) }}</span>
|
||||
</li>
|
||||
<li v-if="counter.works > 0">
|
||||
<b>{{ counter.works }}</b> {{ $t('counter.assignated_actions') }}
|
||||
<span class="counter">{{ $tc('counter.assignated_actions', {n: counter.works }) }}</span>
|
||||
</li>
|
||||
<li v-if="counter.evaluations > 0">
|
||||
<b>{{ counter.evaluations }}</b> {{ $t('counter.assignated_evaluations') }}
|
||||
<span class="counter">{{ $tc('counter.assignated_evaluations', {n: counter.evaluations }) }}</span>
|
||||
</li>
|
||||
<li v-if="counter.tasksAlert > 0">
|
||||
<b>{{ counter.tasksAlert }}</b> {{ $t('counter.alert_tasks') }}
|
||||
<span class="counter">{{ $tc('counter.alert_tasks', {n: counter.tasksAlert }) }}</span>
|
||||
</li>
|
||||
<li v-if="counter.tasksWarning > 0">
|
||||
<b>{{ counter.tasksWarning }}</b> {{ $t('counter.warning_tasks') }}
|
||||
<span class="counter">{{ $tc('counter.warning_tasks', {n: counter.tasksWarning }) }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user