Closed tomastrajan closed 6 years ago
We should use ngPlural for description of todos filter based on amount of items
ngPlural
Please check NgPlural documentation.
We will be replacing
<mat-chip [disabled]=true> {{ 'anms.examples.todos.filter.description' | translate }} {{todos.filter !== 'ALL' ? filteredTodos.length : ''}} {{ ('anms.examples.todos.filter.' + todos.filter.toLowerCase() | translate).toLowerCase() }} {{todos.filter === 'ALL' ? filteredTodos.length : ''}} {{ 'anms.examples.todos.filter.items' | translate }} </mat-chip>
part of todos-container.component.html.
todos-container.component.html
Please use translate for all ngPlural cases, we should be aiming for =0, =1 and >1.
translate
=0
=1
>1
Describe the feature you'd like:
We should use
ngPlural
for description of todos filter based on amount of itemsOther information:
Please check NgPlural documentation.
We will be replacing
part of
todos-container.component.html
.Please use
translate
for allngPlural
cases, we should be aiming for=0
,=1
and>1
.