refactor(compiler-cli): improve error message formatting (#45827)
refactor(compiler-cli): improve error message formatting (#45827)

Changes the message from:

```
The component 'HelloComponent' appears in 'imports', but is not standalone
and cannot be imported directly It must be imported via an NgModule.
```
to

```
The component 'HelloComponent' appears in 'imports', but is not standalone
and cannot be imported directly. It must be imported via an NgModule.
```

PR Close #45827

JiaLiPassion/angular,gnomeontherun/angular,angular/angular,gnomeontherun/angular,JiaLiPassion/angular,angular/angular,angular/angular,angular-indonesia/angular,gkalpak/angular,gnomeontherun/angular,gkalpak/angular,angular/angular,angular-indonesia/angular,angular-indonesia/angular,JiaLiPassion/angular,gnomeontherun/angular,JiaLiPassion/angular,angular-indonesia/angular,gkalpak/angular,gkalpak/angular