diff --git a/technic_cnc/cnc.lua b/technic_cnc/cnc.lua index cb81bd4..3324f3e 100644 --- a/technic_cnc/cnc.lua +++ b/technic_cnc/cnc.lua @@ -7,7 +7,7 @@ -- I could imagine some form of API allowing modders to come with their own node -- box definitions and easily stuff it in the this machine for production. -local S = technic_cnc.getter +local S = minetest.get_translator("technic_cnc") local allow_metadata_inventory_put local allow_metadata_inventory_take @@ -29,7 +29,7 @@ if technic_cnc.use_technic then allow_metadata_inventory_take = technic.machine_inventory_take allow_metadata_inventory_move = technic.machine_inventory_move can_dig = technic.machine_can_dig - desc_tr = S("%s CNC Machine"):format("LV") + desc_tr = S("@1 CNC Machine", S("LV")) else minetest.register_craft({ output = 'technic:cnc', @@ -122,6 +122,7 @@ local cnc_formspec = "label[1,3.5;"..S("Slim Elements half / normal height:").."]".. + -- TODO: do not use image because this is bad for translation "image_button[1,4;1,0.5;technic_cnc_full.png;full; ]".. "image_button[1,4.5;1,0.5;technic_cnc_half.png;half; ]".. "image_button[2,4;1,1;technic_cnc_element_straight.png;element_straight; ]".. @@ -131,7 +132,7 @@ local cnc_formspec = "image_button[6,4;1,1;technic_cnc_element_edge.png;element_edge; ]".. "label[0, 5.5;"..S("In:").."]".. - "list[current_name;src;0.5,5.5;1,1;]".. + "list[current_name;src;1.0,5.5;1,1;]".. "label[4, 5.5;"..S("Out:").."]".. "list[current_name;dst;5,5.5;4,1;]".. @@ -221,7 +222,7 @@ local run = function(pos, node) (not minetest.registered_nodes[result]) or (not inv:room_for_item("dst", result)) then technic.swap_node(pos, machine_node) - meta:set_string("infotext", S("%s Idle"):format(machine_name)) + meta:set_string("infotext", S("@1 Idle", machine_name)) meta:set_string("cnc_product", "") meta:set_int("LV_EU_demand", 0) return @@ -229,10 +230,10 @@ local run = function(pos, node) if eu_input < demand then technic.swap_node(pos, machine_node) - meta:set_string("infotext", S("%s Unpowered"):format(machine_name)) + meta:set_string("infotext", S("@1 Unpowered", machine_name)) elseif eu_input >= demand then technic.swap_node(pos, machine_node.."_active") - meta:set_string("infotext", S("%s Active"):format(machine_name)) + meta:set_string("infotext", S("@1 Active", machine_name)) meta:set_int("src_time", meta:get_int("src_time") + 1) if meta:get_int("src_time") >= 3 then -- 3 ticks per output meta:set_int("src_time", 0) diff --git a/technic_cnc/cnc_api.lua b/technic_cnc/cnc_api.lua index 3026b47..88570be 100644 --- a/technic_cnc/cnc_api.lua +++ b/technic_cnc/cnc_api.lua @@ -1,7 +1,7 @@ -- API for the technic CNC machine -- Again code is adapted from the NonCubic Blocks MOD v1.4 by yves_de_beck -local S = technic_cnc.getter +local S = minetest.get_translator("technic_cnc") -- REGISTER NONCUBIC FORMS, CREATE MODELS AND RECIPES: ------------------------------------------------------ @@ -11,12 +11,12 @@ local S = technic_cnc.getter technic_cnc.programs = { { suffix = "technic_cnc_stick", model = {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15}, - desc = S("Stick") + desc = "@1 Stick" }, { suffix = "technic_cnc_element_end_double", model = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.5}, - desc = S("Element End Double") + desc = "@1 Element End Double" }, { suffix = "technic_cnc_element_cross_double", @@ -24,7 +24,7 @@ technic_cnc.programs = { {0.3, -0.5, -0.3, 0.5, 0.5, 0.3}, {-0.3, -0.5, -0.5, 0.3, 0.5, 0.5}, {-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}}, - desc = S("Element Cross Double") + desc = "@1 Element Cross Double" }, { suffix = "technic_cnc_element_t_double", @@ -32,24 +32,24 @@ technic_cnc.programs = { {-0.3, -0.5, -0.5, 0.3, 0.5, 0.3}, {-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}, {0.3, -0.5, -0.3, 0.5, 0.5, 0.3}}, - desc = S("Element T Double") + desc = "@1 Element T Double" }, { suffix = "technic_cnc_element_edge_double", model = { {-0.3, -0.5, -0.5, 0.3, 0.5, 0.3}, {-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}}, - desc = S("Element Edge Double") + desc = "@1 Element Edge Double" }, { suffix = "technic_cnc_element_straight_double", model = {-0.3, -0.5, -0.5, 0.3, 0.5, 0.5}, - desc = S("Element Straight Double") + desc = "@1 Element Straight Double" }, { suffix = "technic_cnc_element_end", model = {-0.3, -0.5, -0.3, 0.3, 0, 0.5}, - desc = S("Element End") + desc = "@1 Element End" }, { suffix = "technic_cnc_element_cross", @@ -57,7 +57,7 @@ technic_cnc.programs = { {0.3, -0.5, -0.3, 0.5, 0, 0.3}, {-0.3, -0.5, -0.5, 0.3, 0, 0.5}, {-0.5, -0.5, -0.3, -0.3, 0, 0.3}}, - desc = S("Element Cross") + desc = "@1 Element Cross" }, { suffix = "technic_cnc_element_t", @@ -65,24 +65,24 @@ technic_cnc.programs = { {-0.3, -0.5, -0.5, 0.3, 0, 0.3}, {-0.5, -0.5, -0.3, -0.3, 0, 0.3}, {0.3, -0.5, -0.3, 0.5, 0, 0.3}}, - desc = S("Element T") + desc = "@1 Element T" }, { suffix = "technic_cnc_element_edge", model = { {-0.3, -0.5, -0.5, 0.3, 0, 0.3}, {-0.5, -0.5, -0.3, -0.3, 0, 0.3}}, - desc = S("Element Edge") + desc = "@1 Element Edge" }, { suffix = "technic_cnc_element_straight", model = {-0.3, -0.5, -0.5, 0.3, 0, 0.5}, - desc = S("Element Straight") + desc = "@1 Element Straight" }, { suffix = "technic_cnc_oblate_spheroid", model = "technic_cnc_oblate_spheroid.obj", - desc = S("Oblate spheroid"), + desc = "@1 Oblate spheroid", cbox = { type = "fixed", fixed = { @@ -95,32 +95,32 @@ technic_cnc.programs = { { suffix = "technic_cnc_sphere", model = "technic_cnc_sphere.obj", - desc = S("Sphere") + desc = "@1 Sphere" }, { suffix = "technic_cnc_cylinder_horizontal", model = "technic_cnc_cylinder_horizontal.obj", - desc = S("Horizontal Cylinder") + desc = "@1 Horizontal Cylinder" }, { suffix = "technic_cnc_cylinder", model = "technic_cnc_cylinder.obj", - desc = S("Cylinder") + desc = "@1 Cylinder" }, { suffix = "technic_cnc_twocurvededge", model = "technic_cnc_two_curved_edge.obj", - desc = S("Two Curved Edge/Corner Block") + desc = "@1 Two Curved Edge/Corner Block" }, { suffix = "technic_cnc_onecurvededge", model = "technic_cnc_one_curved_edge.obj", - desc = S("One Curved Edge Block") + desc = "@1 One Curved Edge Block" }, { suffix = "technic_cnc_spike", model = "technic_cnc_pyramid_spike.obj", - desc = S("Spike"), + desc = "@1 Spike", cbox = { type = "fixed", fixed = { @@ -134,7 +134,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_pyramid", model = "technic_cnc_pyramid.obj", - desc = S("Pyramid"), + desc = "@1 Pyramid", cbox = { type = "fixed", fixed = { @@ -148,7 +148,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_inner_edge_upsdown", model = "technic_cnc_innercorner_upsdown.obj", - desc = S("Slope Upside Down Inner Edge/Corner"), + desc = "@1 Slope Upside Down Inner Edge/Corner", sbox = { type = "fixed", fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 } @@ -169,7 +169,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_edge_upsdown", model = "technic_cnc_outercorner_upsdown.obj", - desc = S("Slope Upside Down Outer Edge/Corner"), + desc = "@1 Slope Upside Down Outer Edge/Corner", cbox = { type = "fixed", fixed = { @@ -183,7 +183,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_inner_edge", model = "technic_cnc_innercorner.obj", - desc = S("Slope Inner Edge/Corner"), + desc = "@1 Slope Inner Edge/Corner", sbox = { type = "fixed", fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 } @@ -204,7 +204,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_edge", model = "technic_cnc_outercorner.obj", - desc = S("Slope Outer Edge/Corner"), + desc = "@1 Slope Outer Edge/Corner", cbox = { type = "fixed", fixed = { @@ -218,7 +218,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_upsdown", model = "technic_cnc_slope_upsdown.obj", - desc = S("Slope Upside Down"), + desc = "@1 Slope Upside Down", cbox = { type = "fixed", fixed = { @@ -232,7 +232,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope_lying", model = "technic_cnc_slope_horizontal.obj", - desc = S("Slope Lying"), + desc = "@1 Slope Lying", cbox = { type = "fixed", fixed = { @@ -246,7 +246,7 @@ technic_cnc.programs = { { suffix = "technic_cnc_slope", model = "technic_cnc_slope.obj", - desc = S("Slope"), + desc = "@1 Slope", cbox = { type = "fixed", fixed = { @@ -320,7 +320,7 @@ function technic_cnc.register_all(recipeitem, groups, images, description) -- Create the node if it passes the test if do_register then technic_cnc.register_program(recipeitem, data.suffix, data.model, - groups, images, description.." "..data.desc, data.cbox, data.sbox) + groups, images, S(data.desc, description), data.cbox, data.sbox) end end end diff --git a/technic_cnc/cnc_materials.lua b/technic_cnc/cnc_materials.lua index e63c792..5c5a498 100644 --- a/technic_cnc/cnc_materials.lua +++ b/technic_cnc/cnc_materials.lua @@ -1,7 +1,7 @@ -- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS: ----------------------------------------------------------- -local S = technic_cnc.getter +local S = minetest.get_translator("technic_cnc") -- DIRT ------- diff --git a/technic_cnc/init.lua b/technic_cnc/init.lua index 3c4da3e..566d01e 100644 --- a/technic_cnc/init.lua +++ b/technic_cnc/init.lua @@ -7,12 +7,6 @@ technic_cnc.technic_modpath = minetest.get_modpath("technic") technic_cnc.use_technic = technic_cnc.technic_modpath and minetest.settings:get_bool("technic_cnc_use_technic") ~= false -if rawget(_G, "intllib") then - technic_cnc.getter = intllib.Getter() -else - technic_cnc.getter = function(s,a,...)if a==nil then return s end a={a,...}return s:gsub("(@?)@(%(?)(%d+)(%)?)",function(e,o,n,c)if e==""then return a[tonumber(n)]..(o==""and c or"")else return"@"..o..n..c end end) end -end - dofile(modpath.."/cnc.lua") dofile(modpath.."/cnc_api.lua") dofile(modpath.."/cnc_materials.lua") diff --git a/technic_cnc/locale/de.txt b/technic_cnc/locale/de.txt deleted file mode 100644 index 8b4e5ff..0000000 --- a/technic_cnc/locale/de.txt +++ /dev/null @@ -1,36 +0,0 @@ -## CNC -CNC Machine = CNC-Maschine -%s CNC Machine = %s CNC-Maschine -Cylinder = Zylinder -Element Cross = Halbes Kreuzelement -Element Cross Double = Kreuzelement -Element Edge = Halbes Eckelement -Element Edge Double = Eckelement -Element End = Halbes Endelement -Element End Double = Endelement -Element Straight = Halbes aufrechtes Element -Element Straight Double = Aufrechtes Element -Element T = Halbes T-Element -Element T Double = T-Element -Horizontal Cylinder = Liegender Zylinder -One Curved Edge Block = Block mit einer abgerundeten Kante -Pyramid = Pyramide -Slope = Schraege -Slope Edge = Schraege mit Ecke -Slope Inner Edge = Schraege mit Innenecke -Slope Lying = Liegende Schraege -Slope Upside Down = Umgedrehte Schraege -Slope Upside Down Edge = Umgedrehte Schraege mit Ecke -Slope Upside Down Inner Edge = Umgedrehte Schraege mit Innenecke -Sphere = Kugel -Spike = Spitze -Stick = Stange -Two Curved Edge Block = Block mit zwei abgerundeten Kanten -Brick = Ziegel: -Cobble = Pflasterstein: -Dirt = Erde: -Leaves = Laub: -Sandstone = Sandstein: -Stone = Stein: -Tree = Baumstamm: -Wooden = Holz: diff --git a/technic_cnc/locale/es.txt b/technic_cnc/locale/es.txt deleted file mode 100644 index f18fdfa..0000000 --- a/technic_cnc/locale/es.txt +++ /dev/null @@ -1,35 +0,0 @@ -## CNC -CNC Machine = Maquina CNC -%s CNC Machine = Maquina CNC %s -Element Edge = Elemento Borde -Tree = Arbol -Element Cross Double = Elemento Cruz Doble -Spike = Pica -Element Edge Double = Elemento Borde Doble -Two Curved Edge Block = Dos Bloques de Borde Curvados -Pyramid = Piramide -Slope Upside Down Inner Edge = Borde Interno de Rampa Al Reves -Slope Upside Down Edge = Borde de Rampa Al Reves -Element Straight Double = Elemento Doble Recto -Sphere = Esfera -Element End Double = Doble Fin de Elemento -Element Straight = Recta de Elemento -Horizontal Cylinder = Cilindro Horizontal -Slope Inner Edge = Borde Interno de Rampa -One Curved Edge Block = Un Bloque de Borde Curvado -Element Cross = Cruce de Elementos -Stick = Varita -Element End = Fin de Elemento -Slope Lying = Rampa en Reposo -Slope Upside Down = Rampa Al Reves -Slope Edge = Borde de Rampa -Slope = Rampa -Element T = Elemento T -Cylinder = Cilindro -Cobble = Adoquines -Stone = Piedra -Brick = Ladrillo -Dirt = Tierra -Sandstone = Arenisca -Wooden = Madera -Leaves = Hojas diff --git a/technic_cnc/locale/it.txt b/technic_cnc/locale/it.txt deleted file mode 100644 index e50fd74..0000000 --- a/technic_cnc/locale/it.txt +++ /dev/null @@ -1,36 +0,0 @@ -## CNC -CNC Machine = Tornio CNC -%s CNC Machine = Tornio CNC %s -Cylinder = Cilindro -Element Cross = Elemento a croce -Element Cross Double = Elemento a croce doppio -Element Edge = Elemento bordo -Element Edge Double = Elemento bordo doppio -Element End = Elemento finale -Element End Double = Elemento finale doppio -Element Straight = Elemento dritto -Element Straight Double = Elemento dritto doppio -Element T = Elemento a T -Element T Double = Elemento a T doppio -Horizontal Cylinder = Cilindro orizzontale -One Curved Edge Block = Blocco con bordo curvo -Pyramid = Piramide -Slope = Inclinato -Slope Edge = Bordo inclinato -Slope Inner Edge = Bordo interno inclinato -Slope Lying = Pendenza bugiarda -Slope Upside Down = Pendenza capovolta -Slope Upside Down Edge = Bordo inclinato capovolto -Slope Upside Down Inner Edge = Bordo interno inclinato capovolto -Sphere = Sfera -Spike = Spuntone -Stick = Bastone -Two Curved Edge Block = Blocco con bordo a doppia curva -Brick = Mattone -Cobble = Ciottolato -Dirt = Terra -Leaves = Foglie -Sandstone = Arenaria -Stone = Pietra -Tree = Albero -Wooden = Legno diff --git a/technic_cnc/locale/pl.txt b/technic_cnc/locale/pl.txt deleted file mode 100644 index 76cc200..0000000 --- a/technic_cnc/locale/pl.txt +++ /dev/null @@ -1,36 +0,0 @@ -## CNC -CNC Machine = Obrabiarka CNC -%s CNC Machine = %s Obrabiarka CNC -Cylinder = Walec -Element Cross = Część krzyżowa -Element Cross Double = Podwójna część krzyżowa -Element Edge = Krawędź części -Element Edge Double = Podwójna krawędź części -Element End = Końcowa część -Element End Double = Podwójna końcowa część -Element Straight = Prosta część -Element Straight Double = Podwójna prosta część -Element T = Część T -Element T Double = Podwójna część T -Horizontal Cylinder = Poziomy walec -One Curved Edge Block = Blok z zagiętą krawędzią -Pyramid = Ostrosłup -Slope = Spad -Slope Edge = Krawędź spadu -Slope Inner Edge = Wewnętrzna krawędź spadu -Slope Lying = Leżący spad -Slope Upside Down = Odwrócony spad -Slope Upside Down Edge = Krawędź odwróconego spadu -Slope Upside Down Inner Edge = Wewnętrzna krawędz odwróconego spadu -Sphere = Kula -Spike = Kolec -Stick = Patyk -Two Curved Edge Block = Blok z dwoma zagiętymi krawędziami -Brick = Cegła -Cobble = Bruk -Dirt = Ziemia -Leaves = Liście -Sandstone = Piaskowiec -Stone = Kamień -Tree = Drzewo -Wooden = Drewniany diff --git a/technic_cnc/locale/technic_cnc.de.tr b/technic_cnc/locale/technic_cnc.de.tr new file mode 100644 index 0000000..14a7daa --- /dev/null +++ b/technic_cnc/locale/technic_cnc.de.tr @@ -0,0 +1,38 @@ +# textdomain: technic_cnc + +## CNC +CNC Machine=CNC-Maschine +@1 CNC Machine=@1 CNC-Maschine +@1 Cylinder=@1 Zylinder +@1 Element Cross=@1 Halbes Kreuzelement +@1 Element Cross Double=@1 Kreuzelement +@1 Element Edge=@1 Halbes Eckelement +@1 Element Edge Double=@1 Eckelement +@1 Element End=@1 Halbes Endelement +@1 Element End Double=@1 Endelement +@1 Element Straight=@1 Halbes aufrechtes Element +@1 Element Straight Double=@1 Aufrechtes Element +@1 Element T=@1 Halbes T-Element +@1 Element T Double=@1 T-Element +@1 Horizontal Cylinder=@1 Liegender Zylinder +@1 One Curved Edge Block=@1 Block mit einer abgerundeten Kante +@1 Pyramid=@1 Pyramide +@1 Slope=@1 Schraege +@1 Slope Edge=@1 Schraege mit Ecke +@1 Slope Inner Edge=@1 Schraege mit Innenecke +@1 Slope Lying=@1 Liegende Schraege +@1 Slope Upside Down=@1 Umgedrehte Schraege +@1 Slope Upside Down Edge=@1 Umgedrehte Schraege mit Ecke +@1 Slope Upside Down Inner Edge=@1 Umgedrehte Schraege mit Innenecke +@1 Sphere=@1 Kugel +@1 Spike=@1 Spitze +@1 Stick=@1 Stange +@1 Two Curved Edge Block=@1 Block mit zwei abgerundeten Kanten +Brick=Ziegel: +Cobble=Pflasterstein: +Dirt=Erde: +Leaves=Laub: +Sandstone=Sandstein: +Stone=Stein: +Tree=Baumstamm: +Wooden=Holz: diff --git a/technic_cnc/locale/technic_cnc.es.tr b/technic_cnc/locale/technic_cnc.es.tr new file mode 100644 index 0000000..81cf3d0 --- /dev/null +++ b/technic_cnc/locale/technic_cnc.es.tr @@ -0,0 +1,37 @@ +# textdomain: technic_cnc + +## CNC +CNC Machine=Maquina CNC +@1 CNC Machine=Maquina CNC @1 +@1 Element Edge=@1 Elemento Borde +@1 Element Cross Double=@1 Elemento Cruz Doble +@1 Spike=@1 Pica +@1 Element Edge Double=@1 Elemento Borde Doble +@1 Two Curved Edge Block=@1 Dos Bloques de Borde Curvados +@1 Pyramid=@1 Piramide +@1 Slope Upside Down Inner Edge=@1 Borde Interno de Rampa Al Reves +@1 Slope Upside Down Edge=@1 Borde de Rampa Al Reves +@1 Element Straight Double=@1 Elemento Doble Recto +@1 Sphere=@1 Esfera +@1 Element End Double=@1 Doble Fin de Elemento +@1 Element Straight=@1 Recta de Elemento +@1 Horizontal Cylinder=@1 Cilindro Horizontal +@1 Slope Inner Edge=@1 Borde Interno de Rampa +@1 One Curved Edge Block=@1 Un Bloque de Borde Curvado +@1 Element Cross=@1 Cruce de Elementos +@1 Stick=@1 Varita +@1 Element End=@1 Fin de Elemento +@1 Slope Lying=@1 Rampa en Reposo +@1 Slope Upside Down=@1 Rampa Al Reves +@1 Slope Edge=@1 Borde de Rampa +@1 Slope=@1 Rampa +Element T=Elemento T +Cylinder=Cilindro +Cobble=Adoquines +Stone=Piedra +Brick=Ladrillo +Dirt=Tierra +Sandstone=Arenisca +Wooden=Madera +Leaves=Hojas +Tree=Arbol diff --git a/technic_cnc/locale/technic_cnc.fr.tr b/technic_cnc/locale/technic_cnc.fr.tr new file mode 100644 index 0000000..f9e97d8 --- /dev/null +++ b/technic_cnc/locale/technic_cnc.fr.tr @@ -0,0 +1,47 @@ +# textdomain: technic_cnc + +## CNC +CNC Machine=Machine CNC +@1 CNC Machine=Machine CNC @1 +@1 Cylinder=Cylindre @1 +@1 Element Cross=Croix @1 +@1 Element Cross Double=Croix double @1 +@1 Element Edge=Coin @1 +@1 Element Edge Double=Coin double @1 +@1 Element End=Embout @1 +@1 Element End Double=Double enbout @1 +@1 Element Straight=Élément droit @1 +@1 Element Straight Double=Double élément droit @1 +@1 Element T=T @ +@1 Element T Double=Double T @1 +@1 Horizontal Cylinder=Cylindre horizontal @1 +@1 One Curved Edge Block=Coin incurvé @1 +@1 Oblate spheroid=Sphéroïde aplati @1 +@1 Pyramid=Pyramide @1 +@1 Slope=Pente @1 +@1 Slope Edge=Coin en pente @1 +@1 Slope Inner Edge=Coin intérieur en pente @1 +@1 Slope Lying=Pente couchée @1 +@1 Slope Upside Down=Pente retournée @1 +@1 Slope Upside Down Edge=Pente retournée en coin @1 +@1 Slope Upside Down Inner Edge=Pente retournée en coin intérieur @1 +@1 Sphere=Sphère @1 +@1 Spike=Pique @1 +@1 Stick=Baton @1 +@1 Two Curved Edge Block=Coin doublement incurvé @1 +Brick=en brique +Cobble=en pierre taillée +Dirt=en terre +Leaves=en feuilles +Sandstone=en grès +Stone=en pierre +Tree=en bloc d’arbre +Wooden=en bois +LV=faible tension +Choose Milling Program:=Choisissez le programme de faisage +Slim Elements half / normal height:=Épaisseur de l’élément (moitié / normale) +In:=Entrée +Out:=Sortie +@1 Idle=@1 inactive +@1 Unpowered=@1 hors-tension +@1 Active=@1 active diff --git a/technic_cnc/locale/technic_cnc.it.tr b/technic_cnc/locale/technic_cnc.it.tr new file mode 100644 index 0000000..fb9b8de --- /dev/null +++ b/technic_cnc/locale/technic_cnc.it.tr @@ -0,0 +1,38 @@ +# textdomain: technic_cnc + +## CNC +CNC Machine=Tornio CNC +@1 CNC Machine=Tornio CNC @1 +@1 Cylinder=@1 Cilindro +@1 Element Cross=@1 Elemento a croce +@1 Element Cross Double=@1 Elemento a croce doppio +@1 Element Edge=@1 Elemento bordo +@1 Element Edge Double=@1 Elemento bordo doppio +@1 Element End=@1 Elemento finale +@1 Element End Double=@1 Elemento finale doppio +@1 Element Straight=@1 Elemento dritto +@1 Element Straight Double=@1 Elemento dritto doppio +@1 Element T=@1 Elemento a T +@1 Element T Double=@1 Elemento a T doppio +@1 Horizontal Cylinder=@1 Cilindro orizzontale +@1 One Curved Edge Block=@1 Blocco con bordo curvo +@1 Pyramid=@1 Piramide +@1 Slope=@1 Inclinato +@1 Slope Edge=@1 Bordo inclinato +@1 Slope Inner Edge=@1 Bordo interno inclinato +@1 Slope Lying=@1 Pendenza bugiarda +@1 Slope Upside Down=@1 Pendenza capovolta +@1 Slope Upside Down Edge=@1 Bordo inclinato capovolto +@1 Slope Upside Down Inner Edge=@1 Bordo interno inclinato capovolto +@1 Sphere=@1 Sfera +@1 Spike=@1 Spuntone +@1 Stick=@1 Bastone +@1 Two Curved Edge Block=@1 Blocco con bordo a doppia curva +Brick=Mattone +Cobble=Ciottolato +Dirt=Terra +Leaves=Foglie +Sandstone=Arenaria +Stone=Pietra +Tree=Albero +Wooden=Legno diff --git a/technic_cnc/locale/technic_cnc.pl.tr b/technic_cnc/locale/technic_cnc.pl.tr new file mode 100644 index 0000000..7bce804 --- /dev/null +++ b/technic_cnc/locale/technic_cnc.pl.tr @@ -0,0 +1,38 @@ +# textdomain: technic_cnc + +## CNC +CNC Machine=Obrabiarka CNC +@1 CNC Machine=@1 Obrabiarka CNC +@1 Cylinder=@1 Walec +@1 Element Cross=@1 Część krzyżowa +@1 Element Cross Double=@1 Podwójna część krzyżowa +@1 Element Edge=@1 Krawędź części +@1 Element Edge Double=@1 Podwójna krawędź części +@1 Element End=@1 Końcowa część +@1 Element End Double=@1 Podwójna końcowa część +@1 Element Straight=@1 Prosta część +@1 Element Straight Double=@1 Podwójna prosta część +@1 Element T=@1 Część T +@1 Element T Double=@1 Podwójna część T +@1 Horizontal Cylinder=@1 Poziomy walec +@1 One Curved Edge Block=@1 Blok z zagiętą krawędzią +@1 Pyramid=@1 Ostrosłup +@1 Slope=@1 Spad +@1 Slope Edge=@1 Krawędź spadu +@1 Slope Inner Edge=@1 Wewnętrzna krawędź spadu +@1 Slope Lying=@1 Leżący spad +@1 Slope Upside Down=@1 Odwrócony spad +@1 Slope Upside Down Edge=@1 Krawędź odwróconego spadu +@1 Slope Upside Down Inner Edge=@1 Wewnętrzna krawędz odwróconego spadu +@1 Sphere=@1 Kula +@1 Spike=@1 Kolec +@1 Stick=@1 Patyk +@1 Two Curved Edge Block=@1 Blok z dwoma zagiętymi krawędziami +Brick=Cegła +Cobble=Bruk +Dirt=Ziemia +Leaves=Liście +Sandstone=Piaskowiec +Stone=Kamień +Tree=Drzewo +Wooden=Drewniany diff --git a/technic_cnc/locale/template.txt b/technic_cnc/locale/template.txt index bf3cb08..6e7f108 100644 --- a/technic_cnc/locale/template.txt +++ b/technic_cnc/locale/template.txt @@ -1,36 +1,47 @@ +# textdomain: technic_cnc + ## CNC -CNC Machine = -%s CNC Machine = -Cylinder = -Element Cross = -Element Cross Double = -Element Edge = -Element Edge Double = -Element End = -Element End Double = -Element Straight = -Element Straight Double = -Element T = -Element T Double = -Horizontal Cylinder = -One Curved Edge Block = -Pyramid = -Slope = -Slope Edge = -Slope Inner Edge = -Slope Lying = -Slope Upside Down = -Slope Upside Down Edge = -Slope Upside Down Inner Edge = -Sphere = -Spike = -Stick = -Two Curved Edge Block = -Brick = -Cobble = -Dirt = -Leaves = -Sandstone = -Stone = -Tree = -Wooden = +CNC Machine= +@1 CNC Machine= +@1 Cylinder= +@1 Element Cross= +@1 Element Cross Double= +@1 Element Edge= +@1 Element Edge Double= +@1 Element End= +@1 Element End Double= +@1 Element Straight= +@1 Element Straight Double= +@1 Element T= +@1 Element T Double= +@1 Horizontal Cylinder= +@1 One Curved Edge Block= +@1 Oblate spheroid= +@1 Pyramid= +@1 Slope= +@1 Slope Edge= +@1 Slope Inner Edge= +@1 Slope Lying= +@1 Slope Upside Down= +@1 Slope Upside Down Edge= +@1 Slope Upside Down Inner Edge= +@1 Sphere= +@1 Spike= +@1 Stick= +@1 Two Curved Edge Block= +Brick= +Cobble= +Dirt= +Leaves= +Sandstone= +Stone= +Tree= +Wooden= +LV= +Choose Milling Program:= +Slim Elements half / normal height:= +In:= +Out:= +@1 Idle= +@1 Unpowered= +@1 Active=