Skip to content

Commit

Permalink
Merge pull request #12 from h4ml3t/development_2
Browse files Browse the repository at this point in the history
2019-11-12
  • Loading branch information
FaceDeer authored Dec 27, 2019
2 parents 111b148 + 08ee00d commit 0994499
Show file tree
Hide file tree
Showing 18 changed files with 449 additions and 205 deletions.
18 changes: 15 additions & 3 deletions arrow_slits.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_masonry")

else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")

end


castle_masonry.register_arrowslit = function(material)
local composition_def, burn_time, tile, desc = castle_masonry.get_material_properties(material)
Expand Down
15 changes: 14 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ dofile(MP.."/murder_holes.lua")
dofile(MP.."/stone_wall.lua")
dofile(MP.."/paving.lua")

local S, NS = dofile(MP.."/intllib.lua")

-- Used for localization, choose either built-in or intllib.

local S, NS = nil

if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")

else
-- internationalization boilerplate
S, NS = dofile(MP.."/intllib.lua")

end


local read_setting = function(name, default)
local setting = minetest.settings:get_bool(name)
Expand Down
49 changes: 49 additions & 0 deletions locale/castle_masonry.it.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# textdomain:castle_masonry

@1 Arrowslit=Feritoia per frecce di @1
@1 Arrowslit with Cross=Feritoia a croce per frecce di @1
@1 Arrowslit with Hole=Feritoia a foro per frecce di @1
@1 Embrasure=Feritoia di @1
Stonewall=muro di pietra
Cobble=ciottoli
Stonebrick=mattone di pietra
Sandstone Brick=mattone d'arenaria
Desert Stone Brick=mattone di pietra del deserto
Desert Sandstone Brick=mattone d'arenaria del deserto
Silver Sandstone Brick=mattone d'arenaria argentata
Stone=pietra
Sandstone=arenaria
Desert Stone=pietra del deserto
Desert Sandstone=arenaria del deserto
Silver Sandstone=arenaria argentata
Wood=legno
Ice=ghiaccio
Snow=neve
Obsidian Brick=mattone d'ossidiana
@1 Murder Hole=Buca assassina di @1
@1 Machicolation=Caditoia di @1
Paving Stone=Pietra pavimentale
Pavement Brick=Mattone pavimentale
Castle Pavement Stair=Scala pavimentale del castello
Castle Pavement Slab=Lastra pavimentale del castello
Roof Slates=Tegole d'ardesia
@1 Pillar Base=Base della colonna di @1
@1 Half Pillar Base=Mezza base della colonna di @1
@1 Pillar Top=Capitello di @1
@1 Half Pillar Top=Mezzo capitello di @1
@1 Pillar Middle=Fusto della colonna di @1
@1 Half Pillar Middle=Mezzo fusto della colonna di @1
@1 Crossbrace=Costolone di @1
@1 Extended Crossbrace=Costolone esteso di @1
Castle Wall=Muro del castello
Castle Rubble=Detriti del castello
Castle Corner=Angolo del castello
Stone Wall=Muro di pietra
Rubble=Detriti
Castle Stonewall Stair=Scala del castello in muro di pietra
Castle Stonewall Slab=Lastra del castello in muro di pietra
Castle Rubble Stair=Scala del castello in detriti
Castle Rubble Slab=Lastra del castello in detriti
Dungeon Stone=Pietra del sotterraneo
Dungeon Stone Stair=Scala di pietra del sotterraneo
Dungeon Stone Slab=Lastra di pietra del sotterraneo
111 changes: 66 additions & 45 deletions locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,182 +8,203 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 23:41-0700\n"
"POT-Creation-Date: 2019-11-12 13:31+0100\n"
"PO-Revision-Date: 2017-04-28 15:23-0400\n"
"Last-Translator: Carlos Barraza\n"
"Language-Team: Español\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: arrow_slits.lua:12
#: arrow_slits.lua
msgid "@1 Arrowslit"
msgstr "Aspillera de @1"

#: arrow_slits.lua:33
#: arrow_slits.lua
msgid "@1 Arrowslit with Cross"
msgstr "Aspillera con Crus de @1"

#: arrow_slits.lua:58
#: arrow_slits.lua
msgid "@1 Arrowslit with Hole"
msgstr "Aspillera con Agujero de @1"

#: arrow_slits.lua:81
#: arrow_slits.lua
msgid "@1 Embrasure"
msgstr "Aféizar de @1 "

#: init.lua:29
#: init.lua
msgid "Stonewall"
msgstr "Pared de piedra"

#: init.lua:32
#: init.lua
msgid "Cobble"
msgstr "Adoquín"

#: init.lua:35
#: init.lua
msgid "Stonebrick"
msgstr "Ladrillo de Piedra"

#: init.lua:38
#: init.lua
msgid "Sandstone Brick"
msgstr "Ladrillo de Arenisca"

#: init.lua:41
#: init.lua
msgid "Desert Stone Brick"
msgstr "Ladrillo de Piedra del Desierto"

#: init.lua:44
#: init.lua
#, fuzzy
msgid "Desert Sandstone Brick"
msgstr "Ladrillo de Piedra del Desierto"

#: init.lua
#, fuzzy
msgid "Silver Sandstone Brick"
msgstr "Ladrillo de Arenisca"

#: init.lua
msgid "Stone"
msgstr "Piedra"

#: init.lua:47
#: init.lua
msgid "Sandstone"
msgstr "Arenisca"

#: init.lua:50
#: init.lua
msgid "Desert Stone"
msgstr "Piedra del Desierto"

#: init.lua:53
#: init.lua
#, fuzzy
msgid "Desert Sandstone"
msgstr "Piedra del Desierto"

#: init.lua
#, fuzzy
msgid "Silver Sandstone"
msgstr "Arenisca"

#: init.lua
msgid "Wood"
msgstr "Madera"

#: init.lua:56
#: init.lua
msgid "Ice"
msgstr "Hielo"

#: init.lua:59
#: init.lua
msgid "Snow"
msgstr "Nieve"

#: init.lua:62
#: init.lua
msgid "Obsidian Brick"
msgstr "Ladrillo de Obsidiana"

#: murder_holes.lua:14
#: murder_holes.lua
msgid "@1 Murder Hole"
msgstr "Agujero de @1"

#: murder_holes.lua:33
#: murder_holes.lua
msgid "@1 Machicolation"
msgstr "Matacán de @1"

#: paving.lua:11
#: paving.lua
msgid "Paving Stone"
msgstr "Piedra Pavimentada"

#: paving.lua:30
#: paving.lua
msgid "Pavement Brick"
msgstr "Ladrillo Pavimentado"

#: paving.lua:40
#: paving.lua
msgid "Castle Pavement Stair"
msgstr "Escalera de Castillo Pavimentada"

#: paving.lua:41
#: paving.lua
msgid "Castle Pavement Slab"
msgstr "Pavimento de Castillo"

#: paving.lua:49
#: paving.lua
msgid "Roof Slates"
msgstr "Pizarras de Techo"

#: pillars.lua:18
#: pillars.lua
msgid "@1 Pillar Base"
msgstr "Base de Pilar de @1"

#: pillars.lua:36
#: pillars.lua
msgid "@1 Half Pillar Base"
msgstr "Base de Medio Pilar de @1"

#: pillars.lua:54
#: pillars.lua
msgid "@1 Pillar Top"
msgstr "Parte Superior de Pilar de @1"

#: pillars.lua:72
#: pillars.lua
msgid "@1 Half Pillar Top"
msgstr "Parte Superior de Medio Pilar @1"

#: pillars.lua:90
#: pillars.lua
msgid "@1 Pillar Middle"
msgstr "Medio Pilar de @1"

#: pillars.lua:106
#: pillars.lua
msgid "@1 Half Pillar Middle"
msgstr "Medio del Medio Pilar de @1"

#: pillars.lua:123
#: pillars.lua
msgid "@1 Crossbrace"
msgstr "Viga de @1"

#: pillars.lua:147
#: pillars.lua
msgid "@1 Extended Crossbrace"
msgstr "Viga Extendida de @1"

#: stone_wall.lua:11
#: stone_wall.lua
msgid "Castle Wall"
msgstr "Pared de Castillo"

#: stone_wall.lua:22
#: stone_wall.lua
msgid "Castle Rubble"
msgstr "Escombros de Castillo"

#: stone_wall.lua:57
#: stone_wall.lua
msgid "Castle Corner"
msgstr "Esquina de Castillo"

#: stone_wall.lua:78
#: stone_wall.lua
msgid "Stone Wall"
msgstr "Pared de Piedra"

#: stone_wall.lua:86
#: stone_wall.lua
msgid "Rubble"
msgstr "Escombros"

#: stone_wall.lua:100
#: stone_wall.lua
msgid "Castle Stonewall Stair"
msgstr "Escalera de Pared de Castillo"

#: stone_wall.lua:101
#: stone_wall.lua
msgid "Castle Stonewall Slab"
msgstr "Losa de Pared de Castillo"

#: stone_wall.lua:108
#: stone_wall.lua
msgid "Castle Rubble Stair"
msgstr "Escalera de Escombro de Castillo"

#: stone_wall.lua:109
#: stone_wall.lua
msgid "Castle Rubble Slab"
msgstr "Losa de Escombro de Castillo"

#: stone_wall.lua:117 stone_wall.lua:143
#: stone_wall.lua
msgid "Dungeon Stone"
msgstr "Piedra de Mazmorra"

#: stone_wall.lua:156
#: stone_wall.lua
msgid "Dungeon Stone Stair"
msgstr "Escalera de Piedra de Mazmorra"

#: stone_wall.lua:157
#: stone_wall.lua
msgid "Dungeon Stone Slab"
msgstr "Losa de Piedra de Mazmorra"
Loading

0 comments on commit 0994499

Please sign in to comment.