@@ -109,7 +109,7 @@ class DateRangeEditorComponent implements OnInit, AfterViewInit, Focusable {
109109
110110 bool _supportsComparison = true ;
111111
112- String get comparisonHeaderMsg => Intl .message ('Compare' ,
112+ static final comparisonHeaderMsg = Intl .message ('Compare' ,
113113 name: 'comparisonHeaderMsg' ,
114114 desc: 'Label for a toggle that turns time comparison on/off.' );
115115
@@ -503,43 +503,43 @@ class DateRangeEditorComponent implements OnInit, AfterViewInit, Focusable {
503503
504504 String get customRangeDescription => formatRange (model.range.value);
505505
506- String get navigateBeforeMsg => Intl .message ('Previous date range' ,
506+ static final navigateBeforeMsg = Intl .message ('Previous date range' ,
507507 name: 'navigateBeforeMsg' ,
508508 meaning: 'Update the calendar display to show the previous time period.' ,
509509 desc: 'Label for control button which changes the range of dates shown in'
510510 'the calendar to the previous range of dates.' );
511511
512- String get navigateNextMsg => Intl .message ('Next date range' ,
512+ static final navigateNextMsg = Intl .message ('Next date range' ,
513513 name: 'navigateNextMsg' ,
514514 meaning: 'Update the calendar display to show the next time period' ,
515515 desc: 'Label for control button which changes the range of dates shown in'
516516 'the calendar to the next range of dates.' );
517517
518- String get clearRangeMsg => Intl .message ('Clear date range' ,
518+ static final clearRangeMsg = Intl .message ('Clear date range' ,
519519 name: 'DateRangeEditorComponent_clearRangeMsg' ,
520520 meaning: 'Clear the current range.' ,
521521 desc: 'Label for an option in the preset list at the left which '
522522 'clears the current selection.' );
523523
524- String get customRangeMsg => Intl .message ('Custom' ,
524+ static final customRangeMsg = Intl .message ('Custom' ,
525525 name: 'DateRangeEditorComponent_customRangeMsg' ,
526526 meaning: 'Replace the current range with a Custom range that has the '
527527 'same endpoints.' ,
528528 desc: 'Label for an option in the preset list at the left which '
529529 'replaces the current selection with a "Custom" range.' );
530530
531531 // TODO(google): Check if some locales require text before the input.
532- String get daysToTodayMsg => Intl .message ('days up to today' ,
532+ static final daysToTodayMsg = Intl .message ('days up to today' ,
533533 name: 'daysToTodayMsg' ,
534534 desc: 'Label for number input which changes the range of dates shown in'
535535 ' the calendar to [today - number, today].' );
536536
537- String get daysToYesterdayMsg => Intl .message ('days up to yesterday' ,
537+ static final daysToYesterdayMsg = Intl .message ('days up to yesterday' ,
538538 name: 'daysToYesterdayMsg' ,
539539 desc: 'Label for number input which changes the range of dates shown in'
540540 ' the calendar to [yesterday - number, yesterday].' );
541541
542- String get rangeDisabledTooltip => Intl .message ('No days available' ,
542+ static final rangeDisabledTooltip = Intl .message ('No days available' ,
543543 name: 'DateRangeEditorComponent_rangeDisabledTooltip' ,
544544 desc: 'Message that explains why a date range is invalid.' );
545545}
0 commit comments