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

Chest name displaying incorrectly #5232

Closed
Rukki13 opened this issue Apr 1, 2024 · 6 comments
Closed

Chest name displaying incorrectly #5232

Rukki13 opened this issue Apr 1, 2024 · 6 comments
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems

Comments

@Rukki13
Copy link

Rukki13 commented Apr 1, 2024

Terasology Launcher Version: 4.8.0
Terasology Version: 5.3.0
Operating System: Windows 11 Home
Onboard / Dedicated Graphics: GTX 1650 TI
Java Version: 8 Update 202

Problem: When I look at the chest block, its name isn't displayed correctly.
image
Game Template: Lost

I will work on it and push the code.

@Rukki13 Rukki13 added Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems labels Apr 1, 2024
@Rukki13
Copy link
Author

Rukki13 commented Apr 1, 2024

Where are the blocks properties defined for a certain block? The template is Lost

@BenjaminAmos
Copy link
Contributor

The tooltips come from the WorldlyTooltip module. That particular string looks like a translated ("i18n"/internationalisation) string. The main ones can be found in the files at engine/src/main/resources/org/terasology/engine/assets/i18n).

The name string for that particular chest though is defined in https://github.com/Terasology/CoreAdvancedAssets/blob/develop/assets/i18n/game.lang. That placeholder string is supposed to be replaced by the translation system, so the issue may lie within the WordlyTooltip module itself.

@BenjaminAmos
Copy link
Contributor

NUI's ToStringTextRenderer class might have been intended to do it also, although you'll need to pass a translator instance into it directly.

@soloturn
Copy link
Contributor

soloturn commented May 4, 2024

@Rukki13 how can one quickest find such a chest?

@Rukki13
Copy link
Author

Rukki13 commented May 5, 2024

I entered the first house I've encountered

@jdrueckert
Copy link
Member

@Rukki13 I'm closing this as this is a duplicate of Terasology/CoreAdvancedAssets#6
In the original issue you'll find some more information about the assumed problem and ideas how to fix it.

@jdrueckert jdrueckert closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems
Projects
Status: Done
Status: No status
Development

No branches or pull requests

4 participants