Skip to content

eQSL settings: untranslated error messages and error banner not cleared on navigation #2641

@hellofinch

Description

@hellofinch

I have checked the following

  • I am running the latest version of Wavelog
  • I have cleared my browser cache
  • This is a bug, not a setup question or feature request

Bug Description

I’d like to report a couple of issues related to the eQSL settings page and its error messages:

Some error messages are not translated / not in Weblate

  • On the eQSL import/export page, certain error messages appear in English even when another UI language is selected.

  • These strings do not seem to be available in Weblate, so they cannot be translated.

  • It looks like these error messages are not correctly bound to the translation system (or are missing from the translation catalog).

Error message is not cleared when navigating away

  • When an error occurs on the eQSL settings page, an error banner/message is shown.

  • If I then switch to another page/section in the UI, the error message remains visible and does not disappear, even though I’m no longer on the eQSL settings page.

  • This can be confusing, because it looks like the error is related to the new page as well.

Steps to Reproduce

  1. click to http://host:port/wavelog/eqsl/import
  2. eQSL are not setting.

Expected Behavior

All error messages on the eQSL settings page should be properly registered in the translation system (and therefore visible/editable in Weblate).

Error banners/messages should be cleared when leaving the eQSL settings page or when the context that triggered the error is no longer relevant.

Wavelog Version

2.2

PHP Version

8.3.6

MySQL/MariaDB Version

10.6.22-MariaDB-0ubuntu0.22.04.1

Server OS

linux

Browser

Chrome

Device Type

Desktop

Screenshots / Browser Console

Image Image

Additional Context

Have a nice day.
73
: )

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions