Thanks to visit codestin.com
Credit goes to github.com

Skip to content

There are some untranslatale texts #16

@nageih

Description

@nageih

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”
Image

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions