diff --git a/locale/techage.de.tr b/locale/techage.de.tr index 2258d67..d4a13f0 100644 --- a/locale/techage.de.tr +++ b/locale/techage.de.tr @@ -165,7 +165,7 @@ Rinsing=Waschen River Water Barrel=Flusswasserfass Save=Speichern Select type=Wähle Typ -Send an event if state is equal or larget than=Senden ein Event wenn Status größer oder gleich als +Send an event if state is equal or larger than=Senden ein Event wenn Status größer oder gleich als Send signal if nodes have been:=Sende ein Signal falls Blöcke: Show all forceload blocks in a 64x64x64 range=Zeige alle Forceload Blöcke im Umkreis von 64x64x64 Blöcken Sieved Basalt Gravel=Basaltkies gesiebt diff --git a/locale/template.txt b/locale/template.txt index 44d7739..baa44a7 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -163,7 +163,7 @@ Rinsing= River Water Barrel= Save= Select type= -Send an event if state is equal or larget than= +Send an event if state is equal or larger than= Send signal if nodes have been:= Show all forceload blocks in a 64x64x64 range= Sieved Basalt Gravel= diff --git a/logic/collector.lua b/logic/collector.lua index c0fa6ef..a9aa248 100644 --- a/logic/collector.lua +++ b/logic/collector.lua @@ -38,7 +38,7 @@ local function formspec(nvm, meta) default.gui_slots.. "field[0.3,0.6;9,1;poll_numbers;"..S("Node numbers to read the states from")..":;"..poll_numbers.."]" .. "field[0.3,2;9,1;event_number;"..S("Node number to send the events to")..":;"..event_number.."]" .. - "label[1.3,2.8;"..S("Send an event if state is equal or larget than")..":]".. + "label[1.3,2.8;"..S("Send an event if state is equal or larger than")..":]".. "dropdown[1.2,3.4;7,4;severity;1 standby,2 blocked,3 nopower,4 fault;"..dropdown_pos.."]".. "button_exit[3,5;2,1;exit;Save]" end diff --git a/logic/terminal.lua b/logic/terminal.lua index 121d5c9..a786209 100644 --- a/logic/terminal.lua +++ b/logic/terminal.lua @@ -76,6 +76,7 @@ local function formspec2(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[table,field;font=mono]".. "button[0,0;3.3,1;bttn1;"..bttn_text1.."]button[3.3,0;3.3,1;bttn2;"..bttn_text2.."]button[6.6,0;3.3,1;bttn3;"..bttn_text3.."]".. "button[0,0.8;3.3,1;bttn4;"..bttn_text4.."]button[3.3,0.8;3.3,1;bttn5;"..bttn_text5.."]button[6.6,0.8;3.3,1;bttn6;"..bttn_text6.."]".. "button[0,1.6;3.3,1;bttn7;"..bttn_text7.."]button[3.3,1.6;3.3,1;bttn8;"..bttn_text8.."]button[6.6,1.6;3.3,1;bttn9;"..bttn_text9.."]".. diff --git a/lua_controller/controller.lua b/lua_controller/controller.lua index 72f3acf..c1f9b34 100644 --- a/lua_controller/controller.lua +++ b/lua_controller/controller.lua @@ -172,6 +172,7 @@ local function formspec1(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[textarea;font=mono]".. "tabheader[0,0;tab;init,func,loop,outp,notes,help;1;;true]".. "textarea[0.3,0.2;10,8.3;init;function init();"..init.."]".. "label[0,7.3;end]".. @@ -189,6 +190,7 @@ local function formspec2(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[textarea;font=mono]".. "tabheader[0,0;tab;init,func,loop,outp,notes,help;2;;true]".. "textarea[0.3,0.2;10,8.3;func;functions:;"..func.."]".. "button_exit[4.4,7.5;1.8,1;cancel;Cancel]".. @@ -205,6 +207,7 @@ local function formspec3(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[textarea;font=mono]".. "tabheader[0,0;tab;init,func,loop,outp,notes,help;3;;true]".. "textarea[0.3,0.2;10,8.3;loop;function loop(ticks, elapsed);"..loop.."]".. "label[0,7.3;end]".. @@ -237,6 +240,7 @@ local function formspec5(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[textarea;font=mono]".. "tabheader[0,0;tab;init,func,loop,outp,notes,help;5;;true]".. "textarea[0.3,0.2;10,8.3;notes;Notepad:;"..notes.."]".. "button_exit[6.3,7.5;1.8,1;cancel;Cancel]".. @@ -249,6 +253,7 @@ local function formspec6(items, pos, text) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[textarea;font=mono]".. "tabheader[0,0;tab;init,func,loop,outp,notes,help;6;;true]".. "label[0,-0.2;Functions:]".. "dropdown[0.3,0.2;10,8.3;functions;"..items..";"..pos.."]".. diff --git a/lua_controller/terminal.lua b/lua_controller/terminal.lua index 5dfb0f5..031edf0 100644 --- a/lua_controller/terminal.lua +++ b/lua_controller/terminal.lua @@ -50,6 +50,7 @@ local function formspec2(meta) default.gui_bg.. default.gui_bg_img.. default.gui_slots.. + "style_type[table,field;font=mono]".. "table[0.1,0.1;8.6,6.6;output;"..output..";200]".. "field[0.5,7.6;6,1;cmnd;Enter command;]" .. "field_close_on_enter[cmnd;false]"..