CasimirKaPazi / Voxelgarden

Subgame for Minetest
https://forum.minetest.net/viewtopic.php?f=15&t=6346
47 stars 13 forks source link

Better translation support #68

Closed Wuzzy2 closed 3 years ago

Wuzzy2 commented 3 years ago

I contribute for Voxelgarden improved translation support for all mods.

Most problems were with strings that were either not collected at all or collected incorrectly (incorrect use of S function for parameters). Another common problem was call of default.get_translator for non-default mods. The last problem was legacy code for intllib in mobs. This is gone as well, and the old .po files have been converted.

I have made some superficial tests, it should be OK.

Enjoy! :)

CasimirKaPazi commented 3 years ago

Thank you very much. This is a pile of work that was on my don't-want-but-have-to-do list.

I was aware that my initial attempt at translations was messy. Apparently it was even worse than I thought.