2019-11-11 (#9)

This commit is contained in:
Hamlet 2019-11-11 20:20:51 +01:00 committed by FaceDeer
parent ec989ccae1
commit d67d7a34c8
6 changed files with 27 additions and 3 deletions

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_tapestries")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
local tapestry = {}

View File

@ -0,0 +1,6 @@
# textdomain:castle_tapestries
Tapestry Top=Cima dell'arazzo
Tapestry=Arazzo
Tapestry (Long)=Arazzo (lungo)
Tapestry (Very Long)=Arazzo (molto lungo)

6
locale/template.txt Normal file
View File

@ -0,0 +1,6 @@
# textdomain:castle_tapestries
Tapestry Top=
Tapestry=
Tapestry (Long)=
Tapestry (Very Long)=

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB