Skip to content

Commit

Permalink
2019-11-11 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamlet authored and FaceDeer committed Nov 11, 2019
1 parent ec989cc commit d67d7a3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 3 deletions.
18 changes: 15 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
@@ -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 = {}

Expand Down
6 changes: 6 additions & 0 deletions locale/castle_tapestries.it.tr
Original file line number Diff line number Diff line change
@@ -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 changes: 6 additions & 0 deletions locale/template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# textdomain:castle_tapestries

Tapestry Top=
Tapestry=
Tapestry (Long)=
Tapestry (Very Long)=
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified textures/castle_tapestry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified textures/castle_tapestry_inv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d67d7a3

Please sign in to comment.