Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for MT 5 game translation (tags00) #2364
This Pull Request and comprised commits are aiming to add support for the MT 5 game translation by help of the
Please note the about 400 lines of code changed in the Lua code of the existing mods by addition of a
The code was briefly tested in a MT 5.0.1 client on macOS. This is my first GitHub branch commit ever and please accept my apologies for any inconvienance in advance.
N.B. My family and me are enjoying the results of your coding efforts at home for a long time now.
I would like to thank all of the MT developers and certainly @kaeza for 'intllib' which gave me the idea and the motivation for this contribution.
[snoopy (Zweihorn)] 2019-05-13
This was referenced
May 13, 2019
Due to a basic misunderstanding I was not aware of the 'luacheck' avalilability for Mac OS. This was rather unfortunate and led to quite a many rounds and checks online.
Only recently I installed the 'luarocks' with MacPorts and thus the 'luarocks install luachecks'. This provides to do local code checks before commits.
Please accept my apologies and I will seek to always perform a local code check with luacheck before commiting in the future. Happy hacking.
(1) Add function
Presumably, setting the
Example by 'beds' mod:
(a) main lua file:
(b) sub-ordinated lua file:
This may be understood as redundant if there is solely the 'init.lua' file in a mod respectively.
(2) Local luacheck and brief run test with MT client
Hope this helps.
Please note and consider my current position:
Log functions like
Hope this helps and could find a consent. Any advice welcome.