diff options
author | Niklp <89982526+Niklp09@users.noreply.github.com> | 2023-07-24 09:59:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 09:59:26 +0200 |
commit | 1440f35fa62fd2c01b4844261290c88e42d2430f (patch) | |
tree | e42db53056e5d6f1c4fd562a924934081ae787c4 /ontime_clocks/init.lua | |
parent | e0e03058362e038d07d4063c4fbd6999ad27109c (diff) | |
download | display_modpack_no_craft-1440f35fa62fd2c01b4844261290c88e42d2430f.tar.gz display_modpack_no_craft-1440f35fa62fd2c01b4844261290c88e42d2430f.zip |
Add luacheck, update translations, replace ABMs, bug fixes (#1)
* luacheck, mt 5 translation, german translation, maintenance
* fix luacheck warnings
* Fix digital clock nodebox and texture
* Fix luacheck usage
* Add comment why fonts are not split into several lines
Diffstat (limited to 'ontime_clocks/init.lua')
-rw-r--r-- | ontime_clocks/init.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ontime_clocks/init.lua b/ontime_clocks/init.lua index d0ac334..83edcdb 100644 --- a/ontime_clocks/init.lua +++ b/ontime_clocks/init.lua @@ -1,5 +1,5 @@ --[[ - ontime_clocks mod for Minetest - Clock nodes displaying ingame time + ontime_clocks mod for Minetest - Clock nodes displaying ingame time (c) Pierre-Yves Rollo This file is part of ontime_clocks. @@ -22,9 +22,8 @@ ontime_clocks = {} ontime_clocks.name = minetest.get_current_modname() ontime_clocks.path = minetest.get_modpath(ontime_clocks.name) --- Load support for intllib. -local S, NS = dofile(ontime_clocks.path.."/intllib.lua") -ontime_clocks.intllib = S +-- Translation support +ontime_clocks.S = minetest.get_translator(ontime_clocks.name) dofile(ontime_clocks.path.."/common.lua") dofile(ontime_clocks.path.."/nodes.lua") |