Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings building GUI #402

Closed
matsduf opened this issue Apr 25, 2023 · 5 comments
Closed

Warnings building GUI #402

matsduf opened this issue Apr 25, 2023 · 5 comments
Labels
T-Bug Type: Bug in software or error in test case description
Milestone

Comments

@matsduf
Copy link
Contributor

matsduf commented Apr 25, 2023

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
@matsduf matsduf added the T-Bug Type: Bug in software or error in test case description label Apr 25, 2023
@matsduf matsduf added this to the v2023.1 milestone Apr 25, 2023
@hannaeko
Copy link
Member

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
Copy link
Member

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
Copy link
Contributor Author

matsduf commented Apr 25, 2023

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
Copy link
Member

done in #405

@matsduf
Copy link
Contributor Author

matsduf commented Apr 26, 2023

Relevant parts are handled by other PRs or issues.

@matsduf matsduf closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Bug Type: Bug in software or error in test case description
Projects
None yet
Development

No branches or pull requests

2 participants