Fix translation didn't work in some tree node.

This commit is contained in:
wanddy
2017-05-11 10:10:13 +08:00
parent 9e781173fc
commit 1fb0b95428
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ namespace Umbraco.Web.Trees
/// <summary>
/// Tree for displaying partial view macros in the developer app
/// </summary>
[Tree(Constants.Applications.Developer, "partialViewMacros", "", sortOrder: 6)]
[Tree(Constants.Applications.Developer, "partialViewMacros", null, sortOrder: 6)]
public class PartialViewMacrosTreeController : FileSystemTreeController
{
protected override IFileSystem2 FileSystem

View File

@@ -7,7 +7,7 @@ namespace Umbraco.Web.Trees
/// <summary>
/// Tree for displaying partial views in the settings app
/// </summary>
[Tree(Constants.Applications.Settings, "partialViews", "", sortOrder: 2)]
[Tree(Constants.Applications.Settings, "partialViews", null, sortOrder: 2)]
public class PartialViewsTreeController : FileSystemTreeController
{
protected override IFileSystem2 FileSystem

View File

@@ -4,7 +4,7 @@ using Umbraco.Web.Models.Trees;
namespace Umbraco.Web.Trees
{
[Tree(Constants.Applications.Settings, "scripts", "Scripts", sortOrder: 4)]
[Tree(Constants.Applications.Settings, "scripts", null, sortOrder: 4)]
public class ScriptTreeController : FileSystemTreeController
{
protected override IFileSystem2 FileSystem