Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
140 stars 2 forks source link

Null equip names showing locale string #3171

Closed Gyztor closed 3 days ago

Gyztor commented 1 week ago

Describe the bug?

Null equip names showing locale string

To Reproduce

Step 1: have a tool that has a null equip name Step 2: click to equip and see local string

Expected behavior

To not show local string and have null handling

Screenshots

Image Image

Resonite Version Number

Beta 2024.11.12.1329

What Platforms does this occur on?

Windows, Linux, Android / Quest

What headset if any do you use?

Quest 3 on VD

Log Files

Shouldn't be needed but if so let me know so I can clear mods. other people without mods see problem as well

Additional Context

No response

Reporters

Gyztor Mizirath, Lixquid, alizard

shiftyscales commented 1 week ago

It appears there was a typo in the locale key in the locale file, @Frooxius - The locale file contains Interaction.NamedEquipTools.Default the code is looking for Interaction.NamedEquipTools.Default.

Considering the named tools key is Interaction.NamedEquipTool that seems like the proper convention and we should probably just update the key in the locale file itself- thoughts?

Frooxius commented 3 days ago

Fixed this in 2024.11.19.479, thanks for report!