update translation check, added spanish and italian locale

This commit is contained in:
TenPlus1 2020-07-08 14:05:34 +01:00
parent e4a0a9bfe9
commit e6eaea544c
3 changed files with 16 additions and 1 deletions

View File

@ -6,7 +6,8 @@ local min, max, random = math.min, math.max, math.random
-- Load support for intllib.
local S, NS = dofile(path .. "/intllib.lua")
local S = minetest.get_translator and minetest.get_translator("bonemeal") or
dofile(path .. "/intllib.lua")
-- creative check

7
locale/es.txt Normal file
View File

@ -0,0 +1,7 @@
# init.lua
Mulch = Mantillo
Bone Meal = Comida de hueso
Fertiliser = Fertilizante
Bone = Hueso
[bonemeal] loaded = [bonemeal] cargado

7
locale/it.txt Normal file
View File

@ -0,0 +1,7 @@
# init.lua
Mulch = Pacciame
Bone Meal = Pasto osseo
Fertiliser = Fertilizzante
Bone = Ossa
[bonemeal] loaded = [bonemeal] caricata