Skip to content

Tab title and search location chip keep the old language after a language change #3917

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

After a language change in Preferences, the browser tab title and the search location chip keep the old language.

  • Tab title: web-runtime/src/App.vue sets document.title only on route changes (onPathChange).
  • Chip: web-pkg/src/components/SearchBarFilter.vue stores the already translated option title and translates it again ($gettext(currentSelection.value?.title)). That only works when the stored title is the English msgid, so it fails when switching away from a non-English language.

Reproduction Steps

  1. Set the language to German and reload.
  2. Switch the language to English in Preferences.
  3. Look at the browser tab title and the location chip in the search bar.

Expected Outcome

Both follow the new language.

Actual Outcome

The tab title stays German until the next route change, the chip shows "Alle Dateien" until a reload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions