Add missing localizations

This commit is contained in:
John Lewin 2017-12-04 14:06:43 -08:00
parent 62caf39367
commit 793b745da0
3 changed files with 8 additions and 12 deletions

View file

@ -31,6 +31,7 @@ using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MatterHackers.Agg.Image;
using MatterHackers.Localizations;
namespace MatterHackers.MatterControl.Library
{
@ -50,7 +51,7 @@ namespace MatterHackers.MatterControl.Library
public string ID { get; } = "rootLibraryProvider";
public string Name => "Home";
public string Name => "Home".Localize();
public bool IsProtected => true;
@ -69,16 +70,10 @@ namespace MatterHackers.MatterControl.Library
public void Load() { }
public void Dispose()
{
}
public void Dispose() { }
public void Activate()
{
}
public void Activate() { }
public void Deactivate()
{
}
public void Deactivate() { }
}
}

View file

@ -359,7 +359,8 @@ namespace MatterHackers.MatterControl.PrintLibrary
{
menuActions.Add(new PrintItemAction()
{
Title = "Print",
Title = "Print".Localize(),
Action = (selectedLibraryItems, listView) =>
{
// TODO: Sort out the right way to have an ActivePrinter context that looks and behaves correctly