From 3c7c208dcb09caa8adbfea9b49dc5aefaa0c4f90 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 15 May 2020 01:32:09 +0200 Subject: [PATCH] Tweak displayed path in formspec --- init.lua | 4 ++-- locale/schemedit.de.tr | 2 ++ locale/template.txt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 65f1c6f..6d3dd9b 100644 --- a/init.lua +++ b/init.lua @@ -265,8 +265,8 @@ schemedit.add_form("main", { button[0.5,1.5;6,1;export;]]..F(S("Export schematic")).."]".. import_btn..[[ - textarea[0.8,3.5;6.2,5;;]]..F(S("The schematic will be exported as a .mts file and stored in\n@1", - export_path_trunc .. DIR_DELIM .. ".mts."))..[[;] + textarea[0.8,3.5;6.2,5;;]]..F(S("Export/import path:\n@1", + export_path_trunc .. DIR_DELIM .. F(S(""))..".mts"))..[[;] field[0.8,7;2,1;x;]]..F(S("X size:"))..[[;]]..meta.x_size..[[] field[2.8,7;2,1;y;]]..F(S("Y size:"))..[[;]]..meta.y_size..[[] field[4.8,7;2,1;z;]]..F(S("Z size:"))..[[;]]..meta.z_size..[[] diff --git a/locale/schemedit.de.tr b/locale/schemedit.de.tr index 33de228..ba1402c 100644 --- a/locale/schemedit.de.tr +++ b/locale/schemedit.de.tr @@ -1,5 +1,6 @@ # textdomain: schemedit = += Probability: @1=Wahrscheinlichkeit: @1 Not Set=Nicht gesetzt Force placement=Platzierung erzwingen @@ -15,6 +16,7 @@ Import schematic=Schematic importieren Imported schematic from @1=Schematic von @1 importiert Failed to import schematic from @1=Schematic konnte nicht von @1 importiert werden The schematic will be exported as a .mts file and stored in@n@1=Das Schematic wird als .mts-Datei gespeichert in:@n@1 +Export/import path:@n@1=Export-/Importpfad:@n@1 Save size=Größe speichern Help=Hilfe Exported schematic to @1=Schematic nach @1 exportiert diff --git a/locale/template.txt b/locale/template.txt index 1d57176..a1794bf 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1,5 +1,6 @@ # textdomain: schemedit = += Not Set= Probability: @1= Force placement= @@ -14,7 +15,7 @@ Export schematic= Import schematic= Imported schematic from @1= Failed to import schematic from @1= -The schematic will be exported as a .mts file and stored in@n@1= +Export/import path:@n@1= Save size= Help= Exported schematic to @1=