zonemaster / zonemaster-gui

The Zonemaster GUI - part of the Zonemaster project
Other
14 stars 23 forks source link

Warnings building GUI #402

Closed matsduf closed 1 year ago

matsduf commented 1 year ago

I get the following warnings when I build GUI on current develop branch (1a48a28). Is that unproblematic?

WARNING [src/locale/messages.sv.xlf]: File target locale ('sv-SE') does not match configured locale ('sv')
✔ Browser application bundle generation complete.
⠋ Generating localized bundles...No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
No translation found for "ngb.pagination.first" ("««").
No translation found for "ngb.pagination.previous" ("«").
No translation found for "ngb.pagination.next" ("»").
No translation found for "ngb.pagination.last" ("»»").
No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
No translation found for "ngb.progressbar.value" ("{$INTERPOLATION}").
✔ Localized bundle generation complete.
✔ Copying assets complete.
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
⠋ Generating index html...1 rules skipped due to selector errors:
  legend+* -> Cannot read properties of undefined (reading 'type')
✔ Index html generation complete.

(...)
Warning: /home/ubuntu/git/zonemaster-gui/src/app/components/navigation/navigation.component.ts depends on 'rxjs/internal/operators'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
hannaeko commented 1 year ago

The warning concerning the mismatched target local for sv could be fixed by updating the target local in messages.sv.xlf but can be ignored. The warning concerning the commonjs dependency could be fixed by adjusting the angular.json but can be ignored. Warnings concerning the missing translation for ng bootstrap can be ignored.

hannaeko commented 1 year ago

Acutally we may have to translate those four as we are using the pagination module.

No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").
matsduf commented 1 year ago

Acutally we may have to translate those four as we are using the pagination module.

No translation found for "ngb.pagination.first-aria" ("First").
No translation found for "ngb.pagination.previous-aria" ("Previous").
No translation found for "ngb.pagination.next-aria" ("Next").
No translation found for "ngb.pagination.last-aria" ("Last").

Do you know what to do? Can I assign that to you in an issue?

hannaeko commented 1 year ago

done in https://github.com/zonemaster/zonemaster-gui/pull/405

matsduf commented 1 year ago

Relevant parts are handled by other PRs or issues.