-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minetest 0.4 compatibility solved #13
Comments
heh, I have the necessary code in place for |
Might still not work, I haven't really kept 0.4.x in mind when adding features |
is working @LoneWolfHT in my venenux sub.nasa-g0v server at subs.fusilsystem.com currently.. maybe i will move in future.. but is working in both 0.4 and 5.X |
* if translation is not supported use english on compat/mtg.lua * improved the code of translation of the already init.lua * this solves: closes minetest-mods#13 * this solves: closes https://codeberg.org/minenux/lavastuff/issues/1 * close https://codeberg.org/minenux/lavastuff/issues/1
* real fix for minetest-mods#13 * use native translator or intlib property as must be, but mock if both fails
* real fix for minetest-mods#13 * use native translator or intlib property as must be, but mock if both fails
i pushed the #16 due the made by you @LoneWolfHT is incomplete after some test |
* added minetest 0.4 compatibility due the trasnlation missing support * if translation is not supported use english on compat/mtg.lua * improved the code of translation of the already init.lua * this solves: closes #13 * this solves: closes https://codeberg.org/minenux/lavastuff/issues/1 * close https://codeberg.org/minenux/lavastuff/issues/1 * real fix for compatibility later trasnlations * real fix for #13 * use native translator or intlib property as must be, but mock if both fails * fix modname and use intlib depennds only in older engines * autodetect mod name from minetest api * added only intllib in depends.txt for older 0.4.X, mod.conf its for 5+ so due 5+ has built in internationalization its not necesary in that file * added the depends only when necesary for intllib * Update init.lua usage or MODNAME and MODPATH Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com> * puff also uage ot the MODNAME in get translator * update luacheck as suggested by lonewolf i dont know how to avoid the usage of those variables.. but he suggested to just put those .. #16 (comment) * move intllib to others to do not fail in checks agains moderns engine also added ',' at the en of the line Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
i used this mod with 0.4.17.1 server (usage of 0.4 is more light rather than mineclone) to allow phone mt clients
it crash due the trasnlations susport only in 5.X so i patches with:
in minetest it crash with log, that the patch solves the problem for all versions of minetest
The text was updated successfully, but these errors were encountered: