added new machines
This commit is contained in:
parent
ceb168de55
commit
8603834f56
35 changed files with 2223 additions and 1204 deletions
16
i18n.lua
16
i18n.lua
|
|
@ -1,8 +1,8 @@
|
|||
--[[
|
||||
Internationalization (i18n) Setup
|
||||
---------------------------------
|
||||
Defines the global translation function S() for the mod.
|
||||
It dynamically gets the mod's name to support renaming the mod folder.
|
||||
--]]
|
||||
|
||||
S = minetest.get_translator(minetest.get_current_modname())
|
||||
-- Internationalization (i18n) support
|
||||
local mod_name = "bank_accounts"
|
||||
if minetest.get_translator then
|
||||
S = minetest.get_translator(minetest.get_current_modname())
|
||||
else
|
||||
-- Fallback for older Minetest versions
|
||||
S = function(str) return str end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue