Skip to content

[Bug]: Escaped Ampersands in Translations Malfunctioning #1100

@CyanVoxel

Description

@CyanVoxel

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.5.4

Operating System & Version

macOS 15.6.1

Description

Translation strings that have an escaped ampersand (e.g. "&Search && Relink", which also includes a mnemonic) are not properly showing up in the UI:
Image
Image

The English strings affected are:

"entries.unlinked.search_and_relink": "&Search && Relink",
"tag.create_add": "Create && Add \"{query}\"",

Expected Behavior

An escaped ampersand string(such as "&Search && Relink" or "Create && Add") should display with a single ampersand in the UI and without the second ampersand in the pair becoming a mnemonic:

Image Image

Steps to Reproduce

  1. Visit a the "Fix Unlinked Entries" modal to see the "Search & Relink" text or type in a tag name that doesn't exist in the "Manage Tags" or "Add Tag" modals to see the "Create & Add" text and observe the mangled ampersands in the translations.

Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastType: BugSomething isn't working as intendedType: TranslationsModifies translation keys or translation capabilities.Type: UI/UXUser interface and/or user experience

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions