More Localization
Fixed the translation for the queue widget on main slide panel and also added translation for printer connection status on Action Bar. Made corrections to previously modified strings.
This commit is contained in:
parent
5cd0256141
commit
81b566f5fe
8 changed files with 33 additions and 53 deletions
|
|
@ -473,25 +473,25 @@ namespace MatterHackers.MatterControl
|
|||
switch (CommunicationState)
|
||||
{
|
||||
case CommunicationStates.Disconnected:
|
||||
return "Not Connected";
|
||||
return new LocalizedString("Not Connected").Translated;
|
||||
case CommunicationStates.Disconnecting:
|
||||
return "Disconnecting";
|
||||
return new LocalizedString("Disconnecting").Translated;
|
||||
case CommunicationStates.AttemptingToConnect:
|
||||
return "Connecting...";
|
||||
case CommunicationStates.ConnectionLost:
|
||||
return "Connection Lost";
|
||||
return new LocalizedString("Connection Lost").Translated;
|
||||
case CommunicationStates.FailedToConnect:
|
||||
return string.Format("Unable to Connect");
|
||||
case CommunicationStates.Connected:
|
||||
return "Connected";
|
||||
return new LocalizedString("Connected").Translated;
|
||||
case CommunicationStates.PreparingToPrint:
|
||||
return "Preparing To Print";
|
||||
return new LocalizedString("Preparing To Print").Translated;
|
||||
case CommunicationStates.Printing:
|
||||
return "Printing";
|
||||
return new LocalizedString("Printing").Translated;
|
||||
case CommunicationStates.Paused:
|
||||
return "Paused";
|
||||
return new LocalizedString("Paused").Translated;
|
||||
case CommunicationStates.FinishedPrint:
|
||||
return "Finished Print";
|
||||
return new LocalizedString("Finished Print").Translated;
|
||||
default:
|
||||
throw new NotImplementedException("Make sure very satus returns the correct connected state.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue