diff --git a/ActionBar/PrintActionRow.cs b/ActionBar/PrintActionRow.cs index e62925f39..235decd0a 100644 --- a/ActionBar/PrintActionRow.cs +++ b/ActionBar/PrintActionRow.cs @@ -468,7 +468,7 @@ namespace MatterHackers.MatterControl.ActionBar { if (timeSincePrintStarted.IsRunning && timeSincePrintStarted.ElapsedMilliseconds > (2 * 60 * 1000)) { - StyledMessageBox.ShowMessageBox(onConfirmCancelPrint, cancelCurrentPrintMessage, cancelCurrentPrintTitle, StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(onConfirmCancelPrint, cancelCurrentPrintMessage, cancelCurrentPrintTitle, StyledMessageBox.MessageType.YES_NO, "Cancel Print".Localize(), "Continue Printing".Localize()); } else { diff --git a/ActionBar/PrinterConnectAndSelectControl.cs b/ActionBar/PrinterConnectAndSelectControl.cs index 800351cb7..ab40acd3b 100644 --- a/ActionBar/PrinterConnectAndSelectControl.cs +++ b/ActionBar/PrinterConnectAndSelectControl.cs @@ -228,7 +228,7 @@ namespace MatterHackers.MatterControl.ActionBar { if (PrinterConnectionAndCommunication.Instance.PrinterIsPrinting) { - StyledMessageBox.ShowMessageBox(onConfirmStopPrint, disconnectAndCancelMessage, disconnectAndCancelTitle, StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(onConfirmStopPrint, disconnectAndCancelMessage, disconnectAndCancelTitle, StyledMessageBox.MessageType.YES_NO, "Disconnect".Localize(), "Stay Connected".Localize()); } else { diff --git a/Library/LibraryRowItemPart.cs b/Library/LibraryRowItemPart.cs index c97268e09..6511cd9c7 100644 --- a/Library/LibraryRowItemPart.cs +++ b/Library/LibraryRowItemPart.cs @@ -446,7 +446,7 @@ namespace MatterHackers.MatterControl.PrintLibrary else { string message = String.Format("Cannot find\n'{0}'.\nWould you like to remove it from the library?", pathAndFile); - StyledMessageBox.ShowMessageBox(null, message, "Item not found", StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(null, message, "Item not found", StyledMessageBox.MessageType.YES_NO, "Remove".Localize(), "Cancel".Localize()); } } } diff --git a/PartPreviewWindow/View3D/View3DWidget.cs b/PartPreviewWindow/View3D/View3DWidget.cs index d189544e9..27ea9bc9a 100644 --- a/PartPreviewWindow/View3D/View3DWidget.cs +++ b/PartPreviewWindow/View3D/View3DWidget.cs @@ -373,7 +373,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { if (saveButtons.Visible) { - StyledMessageBox.ShowMessageBox(ExitEditingAndSaveIfRequired, "Would you like to save your changes before exiting the editor?".Localize(), "Save Changes".Localize(), StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(ExitEditingAndSaveIfRequired, "Would you like to save your changes before exiting the editor?".Localize(), "Save Changes".Localize(), StyledMessageBox.MessageType.YES_NO, "Save Changed".Localize(), "Discard Changes".Localize()); } else { diff --git a/PrinterCommunication/PrinterConnectionAndCommunication.cs b/PrinterCommunication/PrinterConnectionAndCommunication.cs index f71e4e2e7..d8184a99b 100644 --- a/PrinterCommunication/PrinterConnectionAndCommunication.cs +++ b/PrinterCommunication/PrinterConnectionAndCommunication.cs @@ -1444,7 +1444,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication else { string message = String.Format(removeFromQueueMessage, pathAndFile); - StyledMessageBox.ShowMessageBox(onRemoveMessageConfirm, message, itemNotFoundMessage, StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(onRemoveMessageConfirm, message, itemNotFoundMessage, StyledMessageBox.MessageType.YES_NO, "Remove".Localize(), "Cancel".Localize()); } } } diff --git a/Queue/QueueRowItem.cs b/Queue/QueueRowItem.cs index 5c391e55c..aea0152be 100644 --- a/Queue/QueueRowItem.cs +++ b/Queue/QueueRowItem.cs @@ -180,7 +180,7 @@ namespace MatterHackers.MatterControl.PrintQueue string notFoundMessageEnd = LocalizedString.Get("Would you like to remove it from the queue"); string message = "{0}:\n'{1}'\n\n{2}?".FormatWith(notFoundMessage, maxLengthName, notFoundMessageEnd); string titleLabel = LocalizedString.Get("Item not Found"); - StyledMessageBox.ShowMessageBox(onConfirmRemove, message, titleLabel, StyledMessageBox.MessageType.YES_NO); + StyledMessageBox.ShowMessageBox(onConfirmRemove, message, titleLabel, StyledMessageBox.MessageType.YES_NO, "Remove".Localize(), "Cancel".Localize()); }); } diff --git a/StaticData/Translations/Master.txt b/StaticData/Translations/Master.txt index 7da6ac949..2ede804d8 100644 --- a/StaticData/Translations/Master.txt +++ b/StaticData/Translations/Master.txt @@ -5659,3 +5659,15 @@ Translated:Port number to be used with IP Address to connect to printer over the English:Reset to Defaults Translated:Reset to Defaults +English:The serial port to use while connecting to this printer. +Translated:The serial port to use while connecting to this printer. + +English:Save Changed +Translated:Save Changed + +English:Discard Changes +Translated:Discard Changes + +English:Stay Connected +Translated:Stay Connected +