CasimirKaPazi / vortoj

Mod to provide server side item translations for Minetest
https://forum.minetest.net/viewtopic.php?t=8497
6 stars 7 forks source link

Capitalization issue #14

Closed ShadowNinja closed 9 years ago

ShadowNinja commented 9 years ago

Currently the translation files have all-caps language codes and init.lua checks for then case-sensitively. This should work on case-insensitive fileyestem implementations (eg, HFS+, Windows's default NTFS API, and the FAT family I think) but will fail on all others if the code doesn't happen to be all caps in the config (and it's usually lowercase).

Init.lua should use string.upper() to ensure the case doesn't matter.

CasimirKaPazi commented 9 years ago

Thanks for pointing this out. It's included now.