Add missing localizations

This commit is contained in:
John Lewin 2016-01-20 10:12:01 -08:00
parent a087e1ac2d
commit 8d6eb804c0
6 changed files with 46 additions and 13 deletions

View file

@ -203,10 +203,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
centerPartPreviewAndControls.AnchorAll();
gcodeDisplayWidget = new GuiWidget(HAnchor.ParentLeftRight, Agg.UI.VAnchor.ParentBottomTop);
String firstProcessingMessage = "Press 'Add' to select an item.".Localize();
string firstProcessingMessage = "Press 'Add' to select an item.".Localize();
if (printItem != null)
{
firstProcessingMessage = LocalizedString.Get("Loading GCode...");
firstProcessingMessage = "Loading G-Code...".Localize();
if (Path.GetExtension(printItem.FileLocation).ToUpper() == ".GCODE")
{
gcodeDisplayWidget.AddChild(CreateGCodeViewWidget(printItem.FileLocation));
@ -894,7 +895,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private void LoadingProgressChanged(object sender, ProgressChangedEventArgs e)
{
SetProcessingMessage(string.Format("Loading GCode {0}%...", e.ProgressPercentage));
SetProcessingMessage(string.Format("{0} {1}%...", "Loading G-Code".Localize(), e.ProgressPercentage));
}
private void CloseIfNotNull(GuiWidget widget)