File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
projects/igniteui-angular/src/lib/calendar Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ export class IgxCalendarBaseDirective implements ControlValueAccessor {
445445 case 'month' :
446446 return `${ this . resourceStrings . igx_calendar_previous_month } , ${ detail } `
447447 case 'year' :
448- return this . resourceStrings . igx_calendar_previous_year . replace ( '{0}' , '15' ) ;
448+ return this . resourceStrings . igx_calendar_previous_year ;
449449 case 'decade' :
450450 return this . resourceStrings . igx_calendar_previous_years . replace ( '{0}' , '15' ) ;
451451 }
@@ -456,7 +456,7 @@ export class IgxCalendarBaseDirective implements ControlValueAccessor {
456456 case 'month' :
457457 return `${ this . resourceStrings . igx_calendar_next_month } , ${ detail } `
458458 case 'year' :
459- return this . resourceStrings . igx_calendar_next_year . replace ( '{0}' , '15' ) ;
459+ return this . resourceStrings . igx_calendar_next_year ;
460460 case 'decade' :
461461 return this . resourceStrings . igx_calendar_next_years . replace ( '{0}' , '15' ) ;
462462 }
Original file line number Diff line number Diff line change 1515 tabindex ="0 "
1616 class ="igx-calendar-picker__prev "
1717 role ="button "
18- [attr.aria-label] ="prevNavLabel((getPrevYearDate(viewDate) | date: 'YYYY ')) "
18+ [attr.aria-label] ="prevNavLabel((getPrevYearDate(viewDate) | date: 'yyyy ')) "
1919 data-action ="prev "
2020 igxCalendarScrollPage
2121 (mousedown) ="previousPage() "
3232 tabindex ="0 "
3333 class ="igx-calendar-picker__next "
3434 role ="button "
35- [attr.aria-label] ="nextNavLabel((getNextYearDate(viewDate) | date: 'YYYY ')) "
35+ [attr.aria-label] ="nextNavLabel((getNextYearDate(viewDate) | date: 'yyyy ')) "
3636 data-action ="next "
3737 igxCalendarScrollPage
3838 (mousedown) ="nextPage() "
You can’t perform that action at this time.
0 commit comments