From a5eef1c5de77fa7770877802e66c3e1c53f9a0da Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 24 Apr 2019 18:59:36 -0400 Subject: update castles, areas, homedecor, plantlife, gloopblocks, hotbar, inspector, maptools, mesecons, moreblocks, moreores, technic, teleport_request, and worldedit switched to caverealms_lite (with minor fixes by me) switched to CWz's fork of player_textures The homedecor update brings in the big split, and will require you to re-enable all modpack components in order to avoid loss of content. --- castle_gates/gate_functions.lua | 4 +- castle_gates/gates.lua | 195 +++++++++++++++++++++++---------------- castle_gates/locale/es.po | 91 ++++++++++-------- castle_gates/locale/it.po | 68 ++++++++------ castle_gates/locale/template.pot | 50 +++++----- castle_gates/locale/update.bat | 6 ++ 6 files changed, 246 insertions(+), 168 deletions(-) create mode 100644 castle_gates/locale/update.bat (limited to 'castle_gates') diff --git a/castle_gates/gate_functions.lua b/castle_gates/gate_functions.lua index 5d1e6b7..c44cda5 100644 --- a/castle_gates/gate_functions.lua +++ b/castle_gates/gate_functions.lua @@ -116,6 +116,8 @@ end local get_door_layout = function(pos, facedir, player) + if facedir > 23 then return nil end -- A bug in another mod once resulted in bad param2s being written to nodes, this will at least prevent crashes if something like that happens again. + -- This method does a flood-fill looking for all nodes that meet the following criteria: -- belongs to a "castle_gate" group -- has the same "back" direction as the initial node @@ -153,7 +155,7 @@ local get_door_layout = function(pos, facedir, player) local test_node_def = minetest.registered_nodes[test_node.name] can_slide_to:set_pos(test_pos, test_node_def.buildable_to == true) - if test_node_def.paramtype2 == "facedir" then -- prospective door nodes need to be of type facedir + if test_node_def.paramtype2 == "facedir" and test_node.param2 <= 23 then -- prospective door nodes need to be of type facedir and have a valid param2 local test_node_dirs = get_dirs(test_node.param2) local coplanar = vector.equals(test_node_dirs.back, door.directions.back) -- the "back" vector needs to point in the same direction as the rest of the door diff --git a/castle_gates/gates.lua b/castle_gates/gates.lua index e7195ef..ce47176 100644 --- a/castle_gates/gates.lua +++ b/castle_gates/gates.lua @@ -2,21 +2,37 @@ local MP = minetest.get_modpath(minetest.get_current_modname()) local S, NS = dofile(MP.."/intllib.lua") -minetest.register_node("castle_gates:portcullis_bars", { +minetest.register_alias("castle_gates:gate_edge", "castle_gates:wood_gate_edge") +minetest.register_alias("castle_gates:gate_edge_handle", "castle_gates:wood_gate_edge_handle") +minetest.register_alias("castle_gates:gate_hinge", "castle_gates:wood_gate_hinge") +minetest.register_alias("castle_gates:gate_panel", "castle_gates:wood_gate_panel") +minetest.register_alias("castle_gates:portcullis_bars", "castle_gates:wood_portcullis_bars") +minetest.register_alias("castle_gates:portcullis_bars_bottom", "castle_gates:wood_portcullis_bars_bottom") + +local register_gates = function(node_prefix, material_description, material_texture, gate_groups, gate_sounds, portcullis_recipe, panel_recipe) + +local portcullis_groups = {castle_gate = 1, flow_through = 1} +local panel_groups = {castle_gate = 1} +for group, val in pairs(gate_groups) do + portcullis_groups[group] = val + panel_groups[group] = val +end + +minetest.register_node("castle_gates:"..node_prefix.."_portcullis_bars", { drawtype = "nodebox", - description = S("Portcullis Bars"), + description = S("@1 Portcullis Bars", material_description), _doc_items_longdesc = castle_gates.doc.portcullis_bars_longdesc, _doc_items_usagehelp = castle_gates.doc.portcullis_bars_usagehelp, - groups = {castle_gate = 1, choppy = 1, flow_through = 1}, + groups = portcullis_groups, tiles = { - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -32,21 +48,21 @@ minetest.register_node("castle_gates:portcullis_bars", { on_rightclick = castle_gates.trigger_gate, }) -minetest.register_node("castle_gates:portcullis_bars_bottom", { +minetest.register_node("castle_gates:"..node_prefix.."_portcullis_bars_bottom", { drawtype = "nodebox", - description = S("Portcullis Bottom"), + description = S("@1 Portcullis Bottom", material_description), _doc_items_longdesc = castle_gates.doc.portcullis_bars_bottom_longdesc, _doc_items_usagehelp = castle_gates.doc.portcullis_bars_bottom_usagehelp, - groups = {castle_gate = 1, choppy = 1, flow_through = 1}, + groups = portcullis_groups, tiles = { - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -67,53 +83,46 @@ minetest.register_node("castle_gates:portcullis_bars_bottom", { }) minetest.register_craft({ - output = "castle_gates:portcullis_bars 3", - recipe = { - {"group:wood","default:steel_ingot","group:wood" }, - {"group:wood","default:steel_ingot","group:wood" }, - {"group:wood","default:steel_ingot","group:wood" }, - }, + output = "castle_gates:"..node_prefix.."_portcullis_bars 3", + recipe = portcullis_recipe, }) minetest.register_craft({ - output = "castle_gates:portcullis_bars", + output = "castle_gates:"..node_prefix.."_portcullis_bars", recipe = { - {"castle_gates:portcullis_bars_bottom"} + {"castle_gates:"..node_prefix.."_portcullis_bars_bottom"} }, }) minetest.register_craft({ - output = "castle_gates:portcullis_bars_bottom", + output = "castle_gates:"..node_prefix.."_portcullis_bars_bottom", recipe = { - {"castle_gates:portcullis_bars"} + {"castle_gates:"..node_prefix.."_portcullis_bars"} }, }) -------------------------------------------------------------------------------------------------------------- minetest.register_craft({ - output = "castle_gates:gate_panel 8", - recipe = { - {"stairs:slab_wood","stairs:slab_wood", ""}, - {"stairs:slab_wood","stairs:slab_wood", ""}, - }, + output = "castle_gates:"..node_prefix.."_gate_panel 8", + recipe = panel_recipe, }) -minetest.register_node("castle_gates:gate_panel", { +minetest.register_node("castle_gates:"..node_prefix.."_gate_panel", { drawtype = "nodebox", - description = S("Gate Door"), + description = S("@1 Gate Door", material_description), _doc_items_longdesc = castle_gates.doc.gate_panel_longdesc, _doc_items_usagehelp = castle_gates.doc.gate_panel_usagehelp, - groups = {choppy = 1, castle_gate = 1}, + groups = panel_groups, tiles = { - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -126,26 +135,26 @@ minetest.register_node("castle_gates:gate_panel", { }) minetest.register_craft({ - output = "castle_gates:gate_edge", + output = "castle_gates:"..node_prefix.."_gate_edge", type = "shapeless", - recipe = {"castle_gates:gate_panel"}, + recipe = {"castle_gates:"..node_prefix.."_gate_panel"}, }) -minetest.register_node("castle_gates:gate_edge", { +minetest.register_node("castle_gates:"..node_prefix.."_gate_edge", { drawtype = "nodebox", - description = S("Gate Door Edge"), + description = S("@1 Gate Door Edge", material_description), _doc_items_longdesc = castle_gates.doc.gate_edge_longdesc, _doc_items_usagehelp = castle_gates.doc.gate_edge_usagehelp, - groups = {choppy = 1, castle_gate = 1}, + groups = panel_groups, tiles = { - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90", - "default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)", - "default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90", + material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)", + material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -159,32 +168,32 @@ minetest.register_node("castle_gates:gate_edge", { }) minetest.register_craft({ - output = "castle_gates:gate_edge_handle", + output = "castle_gates:"..node_prefix.."_gate_edge_handle", type = "shapeless", - recipe = {"castle_gates:gate_edge"}, + recipe = {"castle_gates:"..node_prefix.."_gate_edge"}, }) minetest.register_craft({ - output = "castle_gates:gate_panel", + output = "castle_gates:"..node_prefix.."_gate_panel", type = "shapeless", - recipe = {"castle_gates:gate_edge_handle"}, + recipe = {"castle_gates:"..node_prefix.."_gate_edge_handle"}, }) -minetest.register_node("castle_gates:gate_edge_handle", { +minetest.register_node("castle_gates:"..node_prefix.."_gate_edge_handle", { drawtype = "nodebox", - description = S("Gate Door With Handle"), + description = S("@1 Gate Door With Handle", material_description), _doc_items_longdesc = castle_gates.doc.gate_edge_handle_longdesc, _doc_items_usagehelp = castle_gates.doc.gate_edge_handle_usagehelp, - groups = {choppy = 1, castle_gate = 1}, + groups = panel_groups, tiles = { - "castle_steel.png^(default_wood.png^[mask:castle_door_side_mask.png^[transformR90)", - "castle_steel.png^(default_wood.png^[mask:castle_door_side_mask.png^[transformR270)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:castle_door_side_mask.png)", - "castle_steel.png^(default_wood.png^[transformR90^[mask:(castle_door_side_mask.png^[transformFX))", - "default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)^(castle_steel.png^[mask:castle_door_handle_mask.png^[transformFX)", - "default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)^(castle_steel.png^[mask:castle_door_handle_mask.png)", + "castle_steel.png^("..material_texture.."^[mask:castle_door_side_mask.png^[transformR90)", + "castle_steel.png^("..material_texture.."^[mask:castle_door_side_mask.png^[transformR270)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_door_side_mask.png)", + "castle_steel.png^("..material_texture.."^[transformR90^[mask:(castle_door_side_mask.png^[transformFX))", + material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)^(castle_steel.png^[mask:castle_door_handle_mask.png^[transformFX)", + material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)^(castle_steel.png^[mask:castle_door_handle_mask.png)", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -205,24 +214,24 @@ minetest.register_node("castle_gates:gate_edge_handle", { ------------------------------------------------------------------------------ minetest.register_craft({ - output = "castle_gates:gate_hinge 3", + output = "castle_gates:"..node_prefix.."_gate_hinge 3", recipe = { - {"", "castle_gates:gate_panel", ""}, - {"default:steel_ingot", "castle_gates:gate_panel", ""}, - {"", "castle_gates:gate_panel", ""} + {"", "castle_gates:"..node_prefix.."_gate_panel", ""}, + {"default:steel_ingot", "castle_gates:"..node_prefix.."_gate_panel", ""}, + {"", "castle_gates:"..node_prefix.."_gate_panel", ""} }, }) -minetest.register_node("castle_gates:gate_hinge", { +minetest.register_node("castle_gates:"..node_prefix.."_gate_hinge", { drawtype = "nodebox", - description = S("Gate Door With Hinge"), + description = S("@1 Gate Door With Hinge", material_description), _doc_items_longdesc = castle_gates.doc.gate_hinge_longdesc, _doc_items_usagehelp = castle_gates.doc.gate_hinge_usagehelp, - groups = {choppy = 1, castle_gate = 1}, + groups = panel_groups, tiles = { - "default_wood.png^[transformR90", + material_texture.."^[transformR90", }, - sounds = default.node_sound_wood_defaults(), + sounds = gate_sounds, paramtype = "light", paramtype2 = "facedir", @@ -241,3 +250,29 @@ minetest.register_node("castle_gates:gate_hinge", { _gate_hinge = {axis="top", offset={"front","left"}}, on_rightclick = castle_gates.trigger_gate, }) + +end + +register_gates("wood", S("Wooden"), "default_wood.png", {choppy = 1}, default.node_sound_wood_defaults(), + { + {"group:wood","default:steel_ingot","group:wood" }, + {"group:wood","default:steel_ingot","group:wood" }, + {"group:wood","default:steel_ingot","group:wood" }, + }, + { + {"stairs:slab_wood","stairs:slab_wood", ""}, + {"stairs:slab_wood","stairs:slab_wood", ""}, + } +) + +register_gates("steel", S("Steel"), "default_steel_block.png", {cracky = 1, level = 2}, default.node_sound_metal_defaults(), + { + {"","default:steel_ingot","" }, + {"default:steel_ingot","default:steel_ingot","default:steel_ingot" }, + {"","default:steel_ingot","" }, + }, + { + {"stairs:slab_steelblock","stairs:slab_steelblock", ""}, + {"stairs:slab_steelblock","stairs:slab_steelblock", ""}, + } +) diff --git a/castle_gates/locale/es.po b/castle_gates/locale/es.po index c102161..f1e069b 100644 --- a/castle_gates/locale/es.po +++ b/castle_gates/locale/es.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-01 23:41-0700\n" +"POT-Creation-Date: 2019-04-14 22:15-0600\n" "PO-Revision-Date: 2017-04-28 11:56-0400\n" "Last-Translator: Carlos Barraza\n" "Language-Team: LANGUAGE \n" @@ -31,8 +31,8 @@ msgid "" "The bottom edge of a portcullis gate, with knobs to lock securely into the " "floor." msgstr "" -"Es el borde inferior de una puerta rastrillo, con perillas para bloquearla con " -"seguridad en el piso" +"Es el borde inferior de una puerta rastrillo, con perillas para bloquearla " +"con seguridad en el piso" #: doc.lua:15 msgid "" @@ -41,8 +41,8 @@ msgid "" "just decorative." msgstr "" "Este bloque puede ser usado para definir el borde de una puerta rastrillo " -"que esta cerca de otra puerta, si tiene varias puertas independientes, " -"de lo contrario es simplemente decorativo" +"que esta cerca de otra puerta, si tiene varias puertas independientes, de " +"lo contrario es simplemente decorativo" #: doc.lua:17 msgid "A basic gate panel." @@ -67,10 +67,10 @@ msgid "" "separately, for example. Note that edges aren't strictly necessary for gates " "that stand alone." msgstr "" -"El borde oscurecido de este panel marca el limite de la puerta." -"Usted puede utilizar estos bloques para construir puertas dobles para asegurar " -"que las dos puertas funcionen por separado, por ejemplo. Tenga en cuenta que " -"los bordes no son estrictamente necesarios para las puertas individuales" +"El borde oscurecido de este panel marca el limite de la puerta. Usted puede " +"utilizar estos bloques para construir puertas dobles para asegurar que las " +"dos puertas funcionen por separado, por ejemplo. Tenga en cuenta que los " +"bordes no son estrictamente necesarios para las puertas individuales" #: doc.lua:23 msgid "A gate edge with a handle." @@ -106,7 +106,7 @@ msgstr "" msgid "A block with a slot to allow an adjacent sliding gate through." msgstr "" "Un bloque con una ranura en el medio para que una puerta deslizante pueda " -"pasar a través de ella." +"pasar a travs de ella." #: doc.lua:30 msgid "" @@ -146,8 +146,8 @@ msgid "" "Gates are large multi-node constructions that swing on hinges or slide out " "of the way when triggered." msgstr "" -"Las puertas grandes son construcciones multi nodo que se abren usando bisagras " -"o se deslizan hacia arriba cuando se activan" +"Las puertas grandes son construcciones multi nodo que se abren usando " +"bisagras o se deslizan hacia arriba cuando se activan" #: doc.lua:43 msgid "Gate construction" @@ -211,51 +211,64 @@ msgstr "" "puerta todavía busca obstrucciones en la región que está moviéndose y no " "girara si hay algo en el camino." - #: doors.lua:8 msgid "Oak Door" msgstr "Puerta de Roble" -#: doors.lua:22 +#: doors.lua:37 msgid "Jail Door" msgstr "Puerta de Cárcel" -#: doors.lua:43 +#: doors.lua:54 msgid "Jail Bars" msgstr "" -#: gate_slots.lua:36 -msgid "Stonebrick" -msgstr "Ladrillo de Piedra" - -#: gate_slots.lua:45 -msgid "@1 Gate Slot" -msgstr "Espacio para Puerta de @1" - -#: gate_slots.lua:70 -msgid "@1 Gate Slot Reverse" -msgstr "Espacio para Puerta Invertido de @1" - -#: gates.lua:7 -msgid "Portcullis Bars" +#: gates.lua:23 +#, fuzzy +msgid "@1 Portcullis Bars" msgstr "Barras de la Puerta Rastrillo" -#: gates.lua:37 -msgid "Portcullis Bottom" +#: gates.lua:53 +#, fuzzy +msgid "@1 Portcullis Bottom" msgstr "Terminación de la Puerta Rastrillo" -#: gates.lua:104 -msgid "Gate Door" +#: gates.lua:113 +#, fuzzy +msgid "@1 Gate Door" msgstr "Porción de la Puerta" -#: gates.lua:136 -msgid "Gate Door Edge" +#: gates.lua:145 +#, fuzzy +msgid "@1 Gate Door Edge" msgstr "Borde de la Puerta" -#: gates.lua:175 -msgid "Gate Door With Handle" +#: gates.lua:184 +#, fuzzy +msgid "@1 Gate Door With Handle" msgstr "Pestillo de la Puerta" -#: gates.lua:218 -msgid "Gate Door With Hinge" +#: gates.lua:227 +#, fuzzy +msgid "@1 Gate Door With Hinge" msgstr "Bisagra de la Puerta" + +#: gates.lua:256 +msgid "Wooden" +msgstr "" + +#: gates.lua:268 +msgid "Steel" +msgstr "" + +#: gate_slots.lua:36 +msgid "Stonebrick" +msgstr "Ladrillo de Piedra" + +#: gate_slots.lua:45 +msgid "@1 Gate Slot" +msgstr "Espacio para Puerta de @1" + +#: gate_slots.lua:70 +msgid "@1 Gate Slot Reverse" +msgstr "Espacio para Puerta Invertido de @1" diff --git a/castle_gates/locale/it.po b/castle_gates/locale/it.po index 8b5a169..379d533 100644 --- a/castle_gates/locale/it.po +++ b/castle_gates/locale/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Castle Gates\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-01 23:41-0700\n" +"POT-Creation-Date: 2019-04-14 22:15-0600\n" "PO-Revision-Date: 2017-09-26 23:51+0100\n" "Last-Translator: Hamlet \n" "Language-Team: \n" @@ -228,14 +228,52 @@ msgstr "" msgid "Oak Door" msgstr "Porta di quercia" -#: doors.lua:22 +#: doors.lua:37 msgid "Jail Door" msgstr "Porta della prigione" -#: doors.lua:43 +#: doors.lua:54 msgid "Jail Bars" msgstr "Sbarre della prigione" +#: gates.lua:23 +#, fuzzy +msgid "@1 Portcullis Bars" +msgstr "Sbarre della saracinesca" + +#: gates.lua:53 +#, fuzzy +msgid "@1 Portcullis Bottom" +msgstr "Estremità inferiore della saracinesca" + +#: gates.lua:113 +#, fuzzy +msgid "@1 Gate Door" +msgstr "Segmento di cancello, porta o portone" + +#: gates.lua:145 +#, fuzzy +msgid "@1 Gate Door Edge" +msgstr "Estremità di cancello, porta o portone" + +#: gates.lua:184 +#, fuzzy +msgid "@1 Gate Door With Handle" +msgstr "Cancello, porta o portone con maniglia" + +#: gates.lua:227 +#, fuzzy +msgid "@1 Gate Door With Hinge" +msgstr "Cancello, porta o portone con cardine" + +#: gates.lua:256 +msgid "Wooden" +msgstr "" + +#: gates.lua:268 +msgid "Steel" +msgstr "" + #: gate_slots.lua:36 msgid "Stonebrick" msgstr "Mattoni di pietra" @@ -248,27 +286,3 @@ msgstr "Alloggio di @1 per cancelli, porte, portoni e saracinesche" msgid "@1 Gate Slot Reverse" msgstr "" "Rovescio dell'alloggio di @1 per cancelli, porte, portoni e saracinesche." - -#: gates.lua:7 -msgid "Portcullis Bars" -msgstr "Sbarre della saracinesca" - -#: gates.lua:37 -msgid "Portcullis Bottom" -msgstr "Estremità inferiore della saracinesca" - -#: gates.lua:104 -msgid "Gate Door" -msgstr "Segmento di cancello, porta o portone" - -#: gates.lua:136 -msgid "Gate Door Edge" -msgstr "Estremità di cancello, porta o portone" - -#: gates.lua:175 -msgid "Gate Door With Handle" -msgstr "Cancello, porta o portone con maniglia" - -#: gates.lua:218 -msgid "Gate Door With Hinge" -msgstr "Cancello, porta o portone con cardine" diff --git a/castle_gates/locale/template.pot b/castle_gates/locale/template.pot index 2122c17..8a921e3 100644 --- a/castle_gates/locale/template.pot +++ b/castle_gates/locale/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-01 23:41-0700\n" +"POT-Creation-Date: 2019-04-14 22:15-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -157,46 +157,54 @@ msgstr "" msgid "Oak Door" msgstr "" -#: doors.lua:22 +#: doors.lua:37 msgid "Jail Door" msgstr "" -#: doors.lua:43 +#: doors.lua:54 msgid "Jail Bars" msgstr "" -#: gate_slots.lua:36 -msgid "Stonebrick" +#: gates.lua:23 +msgid "@1 Portcullis Bars" msgstr "" -#: gate_slots.lua:45 -msgid "@1 Gate Slot" +#: gates.lua:53 +msgid "@1 Portcullis Bottom" msgstr "" -#: gate_slots.lua:70 -msgid "@1 Gate Slot Reverse" +#: gates.lua:113 +msgid "@1 Gate Door" +msgstr "" + +#: gates.lua:145 +msgid "@1 Gate Door Edge" msgstr "" -#: gates.lua:7 -msgid "Portcullis Bars" +#: gates.lua:184 +msgid "@1 Gate Door With Handle" msgstr "" -#: gates.lua:37 -msgid "Portcullis Bottom" +#: gates.lua:227 +msgid "@1 Gate Door With Hinge" msgstr "" -#: gates.lua:104 -msgid "Gate Door" +#: gates.lua:256 +msgid "Wooden" msgstr "" -#: gates.lua:136 -msgid "Gate Door Edge" +#: gates.lua:268 +msgid "Steel" msgstr "" -#: gates.lua:175 -msgid "Gate Door With Handle" +#: gate_slots.lua:36 +msgid "Stonebrick" +msgstr "" + +#: gate_slots.lua:45 +msgid "@1 Gate Slot" msgstr "" -#: gates.lua:218 -msgid "Gate Door With Hinge" +#: gate_slots.lua:70 +msgid "@1 Gate Slot Reverse" msgstr "" diff --git a/castle_gates/locale/update.bat b/castle_gates/locale/update.bat new file mode 100644 index 0000000..e87d44c --- /dev/null +++ b/castle_gates/locale/update.bat @@ -0,0 +1,6 @@ +@echo off +setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION +cd .. +set LIST= +for /r %%X in (*.lua) do set LIST=!LIST! %%X +..\intllib\tools\xgettext.bat %LIST% \ No newline at end of file -- cgit v1.2.3