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
|
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
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.
Oracle-Index/common/src/main/java/rearth/oracle/mixin/DrawContextMixin.java
Line 80 in d3b0461
Oracle-Index/common/src/main/java/rearth/oracle/mixin/DrawContextMixin.java
Lines 59 to 62 in d3b0461
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?
Describe alternatives you've considered
No response
Additional context
No response