Skip to content

Add "always show" interaction mode for quest translations#12

Open
Kenneth-Audenaert wants to merge 2 commits intorubenzantingh:retailfrom
Kenneth-Audenaert:feature/always-show-interaction
Open

Add "always show" interaction mode for quest translations#12
Kenneth-Audenaert wants to merge 2 commits intorubenzantingh:retailfrom
Kenneth-Audenaert:feature/always-show-interaction

Conversation

@Kenneth-Audenaert
Copy link
Copy Markdown

@Kenneth-Audenaert Kenneth-Audenaert commented Mar 24, 2026

Summary

  • Add a third interaction mode "always show" that displays quest translations permanently while a quest is selected, without requiring hover
  • Register always as a built-in interaction option alongside hover and hover-hotkey
  • Add translated labels for all 10 supported languages (EN, ES, DE, FR, PT, RU, CN, KO, MX, TW)
  • Handle QUEST_LOG_UPDATE events and QuestMapDetailsScrollFrame show/hide to auto-update translations in "always" mode
  • Make UpdateQuestTranslationFrame global so language packs can also call it from their own hooks
  • Skip the IsMouseOver() check when "always" is selected
  • Prevent OnLeave from hiding the translation frame when "always" mode is active

Motivation

Some users prefer to see quest translations at all times rather than only on hover. This adds "always show" as a complete, self-contained feature in the core addon — no language pack required.

Test plan

  • Verify hover mode still works as before (translation shows on mouse-over, hides on mouse-leave)
  • Verify hover-hotkey mode still works as before
  • Verify always show mode displays translations automatically when a quest is selected in the quest log
  • Verify translations hide when quest details are closed in "always" mode
  • Verify the "always show" option appears in the interaction dropdown with correct translations for each game language

🤖 Generated with Claude Code

Make UpdateQuestTranslationFrame global so language packs can trigger
it from events/hooks. Skip the IsMouseOver() check when the interaction
mode is set to "always", and prevent OnLeave from hiding the translation
frame in that mode.

This enables language packs (e.g. MultiLanguage_NL) to register an
"always show" interaction option that displays quest translations
without requiring hover, while leaving existing hover/hotkey behavior
completely unchanged.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rubenzantingh
Copy link
Copy Markdown
Owner

To include this in the main addon the merge request needs to contain all functionalities to make this possible. That means that the interaction mode option should be added within this merge request, because it would otherwise require the MultiLaguage_NL addon to work. I also want people who have no interest in the Dutch language to be able to use this.

Move the "always show" feature entirely into the core addon so it works
for all users without requiring a language pack. Adds translated labels
for all 10 supported languages, registers the option in defaults, and
handles QUEST_LOG_UPDATE and QuestMapDetailsScrollFrame show/hide events.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kenneth-Audenaert Kenneth-Audenaert changed the title Support "always" interaction mode for quest translations Add "always show" interaction mode for quest translations Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants