TeamMidnightDust / MidnightLib

Common Library for Team MidnightDust's mods. Provides a config api, common utils, and cosmetics.
https://midnightdust.eu/midnightlib
MIT License
34 stars 17 forks source link

Translation handling for "Reset" #25

Closed Amirhan-Taipovjan-Greatest-I closed 1 year ago

Amirhan-Taipovjan-Greatest-I commented 1 year ago

I found that string "Reset" unavailable for translation in en_us.json

image This is a demonstation of fully translated library into Tatar language that I submitted earlier (#24)

Possible solutions: You can add own translation for it (i. e. add this string as translatable in en_us.json, but I think that the second one solution is better than this)... Or use it from Vanilla strings (For example, this string appears in "Key Binds" and has the same size as this button).

Motschen commented 1 year ago

This is actually by choice, as some equivalents for the word "reset" (like "zurücksetzen" in German) would easily exceed the button. The text also gets shortened to just "R" on list and color fields, which would be confusing if the language's equivalent doesn't start with R. Basically everyone knows what reset means, so I don't think this is a particularly big issue.

Motschen commented 1 year ago

I'm leaving this open though, in case someone comes up with a better solution.

Amirhan-Taipovjan-Greatest-I commented 11 months ago