-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature you'd like
As the title suggests, there is some untranslatable text in the mod, which I believe is detrimental to the mod's development.
- The tooltip for content
var altTooltip = TooltipComponent.of(Text.translatable("Hold [ALT] to open").formatted(Formatting.GRAY).asOrderedText()); - Page title displayed in the tooltip
Oracle-Index/common/src/main/java/rearth/oracle/mixin/DrawContextMixin.java
Lines 59 to 62 in d3b0461
var stackLink = OracleClient.ITEM_LINKS.get(stackId); var tooltipText = Text.literal("\uD83D\uDCD5 ").append(Text.literal(stackLink.bookId() + ": ").formatted(Formatting.ITALIC)).append(Text.literal(stackLink.entryName())); var tooltip = TooltipComponent.of(tooltipText.formatted(Formatting.GRAY).asOrderedText()); modifiableComponents.add(tooltip);
This is some code that may be relevant. Currently, it only displays the title in English. I wonder if it might be possible to display different titles depending on the language? - Some text on the page, such as “danger” and “warning”
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request