From c07ac774acaa8d7779bb9a14f0271655c109d16b Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 14 Apr 2019 22:24:43 -0600 Subject: [PATCH] add steel gates --- gates.lua | 201 ++++++++++++++++++++++++++------------------ locale/es.po | 91 +++++++++++--------- locale/it.po | 68 +++++++++------ locale/template.pot | 62 ++++++++------ locale/update.bat | 6 ++ 5 files changed, 252 insertions(+), 176 deletions(-) create mode 100644 locale/update.bat diff --git a/gates.lua b/gates.lua index e7195ef..ce47176 100644 --- a/gates.lua +++ b/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", + output = "castle_gates:"..node_prefix.."_portcullis_bars 3", + recipe = portcullis_recipe, +}) + +minetest.register_craft({ + output = "castle_gates:"..node_prefix.."_portcullis_bars", recipe = { - {"group:wood","default:steel_ingot","group:wood" }, - {"group:wood","default:steel_ingot","group:wood" }, - {"group:wood","default:steel_ingot","group:wood" }, + {"castle_gates:"..node_prefix.."_portcullis_bars_bottom"} }, }) minetest.register_craft({ - output = "castle_gates:portcullis_bars", + output = "castle_gates:"..node_prefix.."_portcullis_bars_bottom", recipe = { - {"castle_gates:portcullis_bars_bottom"} - }, -}) - -minetest.register_craft({ - output = "castle_gates: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/locale/es.po b/locale/es.po index c102161..f1e069b 100644 --- a/locale/es.po +++ b/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,19 +211,56 @@ 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 "" +#: gates.lua:23 +#, fuzzy +msgid "@1 Portcullis Bars" +msgstr "Barras de la Puerta Rastrillo" + +#: gates.lua:53 +#, fuzzy +msgid "@1 Portcullis Bottom" +msgstr "Terminación de la Puerta Rastrillo" + +#: gates.lua:113 +#, fuzzy +msgid "@1 Gate Door" +msgstr "Porción de la Puerta" + +#: gates.lua:145 +#, fuzzy +msgid "@1 Gate Door Edge" +msgstr "Borde de la Puerta" + +#: gates.lua:184 +#, fuzzy +msgid "@1 Gate Door With Handle" +msgstr "Pestillo de la Puerta" + +#: 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" @@ -235,27 +272,3 @@ 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" -msgstr "Barras de la Puerta Rastrillo" - -#: gates.lua:37 -msgid "Portcullis Bottom" -msgstr "Terminación de la Puerta Rastrillo" - -#: gates.lua:104 -msgid "Gate Door" -msgstr "Porción de la Puerta" - -#: gates.lua:136 -msgid "Gate Door Edge" -msgstr "Borde de la Puerta" - -#: gates.lua:175 -msgid "Gate Door With Handle" -msgstr "Pestillo de la Puerta" - -#: gates.lua:218 -msgid "Gate Door With Hinge" -msgstr "Bisagra de la Puerta" diff --git a/locale/it.po b/locale/it.po index 8b5a169..379d533 100644 --- a/locale/it.po +++ b/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/locale/template.pot b/locale/template.pot index 2122c17..8a921e3 100644 --- a/locale/template.pot +++ b/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,14 +157,46 @@ 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 "" +#: gates.lua:23 +msgid "@1 Portcullis Bars" +msgstr "" + +#: gates.lua:53 +msgid "@1 Portcullis Bottom" +msgstr "" + +#: gates.lua:113 +msgid "@1 Gate Door" +msgstr "" + +#: gates.lua:145 +msgid "@1 Gate Door Edge" +msgstr "" + +#: gates.lua:184 +msgid "@1 Gate Door With Handle" +msgstr "" + +#: gates.lua:227 +msgid "@1 Gate Door With Hinge" +msgstr "" + +#: gates.lua:256 +msgid "Wooden" +msgstr "" + +#: gates.lua:268 +msgid "Steel" +msgstr "" + #: gate_slots.lua:36 msgid "Stonebrick" msgstr "" @@ -176,27 +208,3 @@ msgstr "" #: gate_slots.lua:70 msgid "@1 Gate Slot Reverse" msgstr "" - -#: gates.lua:7 -msgid "Portcullis Bars" -msgstr "" - -#: gates.lua:37 -msgid "Portcullis Bottom" -msgstr "" - -#: gates.lua:104 -msgid "Gate Door" -msgstr "" - -#: gates.lua:136 -msgid "Gate Door Edge" -msgstr "" - -#: gates.lua:175 -msgid "Gate Door With Handle" -msgstr "" - -#: gates.lua:218 -msgid "Gate Door With Hinge" -msgstr "" diff --git a/locale/update.bat b/locale/update.bat new file mode 100644 index 0000000..e87d44c --- /dev/null +++ b/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