More Localization

This commit is contained in:
gregory-diaz 2014-02-24 16:43:35 -08:00
parent 907e73094a
commit 1ac21b2179
5 changed files with 36 additions and 16 deletions

View file

@ -130,8 +130,10 @@ namespace MatterHackers.MatterControl
{
case PrinterCommunication.CommunicationStates.Disconnected:
return new LocalizedString("Not connected. Press 'Connect' to enable printing.").Translated;
case PrinterCommunication.CommunicationStates.AttemptingToConnect:
return new LocalizedString("Attempting to connect...").Translated;
case PrinterCommunication.CommunicationStates.AttemptingToConnect:
string attemptToConnect = new LocalizedString ("Attempting to Connect").Translated;
string attemptToConnectFull = string.Format ("{0}...", attemptToConnect);
return attemptToConnectFull;
case PrinterCommunication.CommunicationStates.ConnectionLost:
case PrinterCommunication.CommunicationStates.FailedToConnect:
return new LocalizedString("Unable to communicate with printer.").Translated;