IliaIdakiev / angular-material-timepicker

Angular Material Timepicker Input for Template and Reactive forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error extracting i18n message files

rayita opened this issue · comments

Hello I'm getting error when I try to extract localization message file using "ng xi18n".

You can try in your own demo application.
This trace is from your demo app:

ERROR in src/app/app.component.html(21,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(21,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(21,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Property '_isServer' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Property 'readonly' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Property '_isNativeSelect' does not exist on type 'MatTimepickerDirective'.
src/app/app.component.html(21,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(21,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(21,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(30,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(42,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(52,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(65,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(75,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(91,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(102,9): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.
src/app/app.component.html(117,5): Directive MatTimepickerDirective, Expected 0 arguments, but got 1.

Cheers

@rayita can you please provide the code from app.component.html as well in order to test it. Thanks.

Hi.

This error it's from you own demo application, no modifications at all, just install and build.
It's build ok but do not extract.

So it is https://github.com/IliaIdakiev/angular-material-timepicker/blob/master/src/app/app.component.html

:)

I saw the issue, I will fix it tomorrow and I will close the issue after afterwards to let you know when it's done. Thanks. ✌️

Fixed 9178cc0
. The timepicker now has 18n support. Thanks for the ticket.

Thanks for the library.

You'r welcome. If you want to show appreciation please click the 'star' button in the top right cornder of the repo.