From d139a525dbc31cb93077ccd0de36cf29fb097fcd Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Mon, 10 Aug 2015 13:36:31 -0700 Subject: [PATCH] Little text changes. --- PartPreviewWindow/SaveAsWindow.cs | 2 +- PartPreviewWindow/View3D/View3DWidget.cs | 4 +++- StaticData/Translations/Master.txt | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PartPreviewWindow/SaveAsWindow.cs b/PartPreviewWindow/SaveAsWindow.cs index 7fb0fab16..09c698ab7 100644 --- a/PartPreviewWindow/SaveAsWindow.cs +++ b/PartPreviewWindow/SaveAsWindow.cs @@ -115,7 +115,7 @@ namespace MatterHackers.MatterControl buttonRow.Padding = new BorderDouble(0, 3); } - Button saveAsButton = textImageButtonFactory.Generate("Save As".Localize(), centerText: true); + Button saveAsButton = textImageButtonFactory.Generate("Save".Localize(), centerText: true); saveAsButton.Visible = true; saveAsButton.Cursor = Cursors.Hand; buttonRow.AddChild(saveAsButton); diff --git a/PartPreviewWindow/View3D/View3DWidget.cs b/PartPreviewWindow/View3D/View3DWidget.cs index b4019e89e..82adba0d6 100644 --- a/PartPreviewWindow/View3D/View3DWidget.cs +++ b/PartPreviewWindow/View3D/View3DWidget.cs @@ -173,7 +173,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow enterEditButtonsContainer = new FlowLayoutWidget(); { Button addButton = textImageButtonFactory.Generate("Insert".Localize(), "icon_insert_32x32.png"); - addButton.ToolTipText = "Insert an .stl, .amf, .gcode or .zip file".Localize(); + addButton.ToolTipText = "Insert an .stl, .amf or .zip file".Localize(); addButton.Margin = new BorderDouble(right: 0); enterEditButtonsContainer.AddChild(addButton); addButton.Click += (sender, e) => @@ -936,11 +936,13 @@ namespace MatterHackers.MatterControl.PartPreviewWindow MergeAndSavePartsToCurrentMeshFile(); return true; }); + buttonList.Add("Save As", () => { UiThread.RunOnIdle(OpenSaveAsWindow); return true; }); + SplitButtonFactory splitButtonFactory = new SplitButtonFactory(); splitButtonFactory.FixedHeight = 40 * TextWidget.GlobalPointSizeScaleRatio; saveButtons = splitButtonFactory.Generate(buttonList, Direction.Up, imageName: "icon_save_32x32.png"); diff --git a/StaticData/Translations/Master.txt b/StaticData/Translations/Master.txt index 786b1aab6..b61fa9ebb 100644 --- a/StaticData/Translations/Master.txt +++ b/StaticData/Translations/Master.txt @@ -3577,3 +3577,6 @@ Translated:Insert an .stl, .amf, .gcode or .zip file English:Bring the Window back into this Tab Translated:Bring the Window back into this Tab +English:Insert an .stl, .amf or .zip file +Translated:Insert an .stl, .amf or .zip file +