Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internationalize text #45

Open
keturn opened this issue Mar 20, 2021 · 0 comments
Open

internationalize text #45

keturn opened this issue Mar 20, 2021 · 0 comments
Labels
Good First Issue Good for learners that are new to Terasology Revive: Keep issue has been looked at and deemed potentially helpful for revive Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity

Comments

@keturn
Copy link
Member

keturn commented Mar 20, 2021

Some widgets have user-facing text, sometimes in tooltips

// TODO: Translate
button.setTooltip("Expand");

or labels

private static final String NULL_LABEL = "Object is null.";
private static final String MODIFY_LABEL = "Modify Object";

or other buttons

// TODO: Translate
addElementButton.setText("Add Element");

Any text that appears as part of the UI on screen should be translatable. The above are examples, not an exhaustive list, and they might not all have such helpful "TODO" markers on them.

Use existing NUI translation interfaces if possible.

@jdrueckert jdrueckert added Revive: Keep issue has been looked at and deemed potentially helpful for revive Good First Issue Good for learners that are new to Terasology Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good for learners that are new to Terasology Revive: Keep issue has been looked at and deemed potentially helpful for revive Type: Refactoring Request for or implementation of pure and automatic refactorings, e.g. renaming, to improve clarity
Projects
None yet
Development

No branches or pull requests

2 participants