Fix watchers count message pluralization

stable
Daniel García 2018-12-03 11:15:40 +01:00 committed by Alex Hermida
parent ef89ae73e5
commit a2a9cd8df1
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
div.ticket-watch-title(
title="{{ 'COMMON.WATCH_BUTTON.COUNTER_TITLE'|translate:{total:vm.item.watchers.length||0}:'messageformat' }}",
tg-loading="vm.loading"
) {{ vm.item.watchers.length }} {{'COMMON.WATCHERS.WATCHERS' | translate}}
) {{ 'COMMON.WATCH_BUTTON.COUNTER_TITLE'|translate:{total:vm.item.watchers.length||0}:'messageformat' }}
div.ticket-watch-inner
a.ticket-watch-button(

View File

@ -2,7 +2,7 @@ mixin counter
span.track-button-counter(
title="{{ 'COMMON.WATCH_BUTTON.COUNTER_TITLE'|translate:{total:vm.item.watchers.length||0}:'messageformat' }}",
tg-loading="vm.loading"
) {{ vm.item.watchers.length }}
) {{ 'COMMON.WATCH_BUTTON.COUNTER_TITLE'|translate:{total:vm.item.watchers.length||0}:'messageformat' }}
//- Registered user button