stujones11 / minetest-3d_armor

Visible player armor & wielded items for minetest
Other
56 stars 98 forks source link

complete intllib support (i18n) #118

Closed fat115 closed 7 years ago

fat115 commented 7 years ago

I've seen that intllib was partially supported (without lcale files) so I've upgraded to the latest boilerplate in 3d_armor mod. There is a script to update pot template and po files in tools folder, it takes care of all mods included in 3d_armor modpack folder.

Removed optional dependecy to intllib for mods others than 3d_armor. Added S function (standard gettext) and F function (gettext with minetest.formspec_escape) for strings in formspec. Only required ones are locally defined in *.lua files.

Hope it could be useful.

Ps : I've also added a translatable tooltip for unified inventory

stujones11 commented 7 years ago

Looks good, thank you for your contribution.