anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
47 stars 16 forks source link

Damage log reasons "heal" and "gravity" missing from translation files #4422

Open tannyl opened 3 weeks ago

tannyl commented 3 weeks ago

Game Version

1.20.0-pre.9

Platform

Linux

Modded

Vanilla

SP/MP

Singleplayer

Description

I am in the process of translating to danish and was translating the damage log entries.

I can't find the heal or gravity reasons strings in the translation files or on crowdin.

There might also be missing other strings, as I don't know how many reasons there might be.

See screenshot below.

How to reproduce

No response

Screenshots

Screenshot from 2024-11-02 16-06-04

Logs

Log

Craluminum2413 commented 3 weeks ago

https://github.com/anegostudios/vsapi/blob/310979a89bb1b5659bbf7a651e959e9e9de93bbc/Common/Entity/EntityPlayer.cs#L1309-L1327

Should be

Lang.Get(damageSource.Type.ToString().ToLowerInvariant())

instead

damageSource.Type.ToString().ToLowerInvariant()