Fixes: U4-2982 missing translation on contextmenu
This commit is contained in:
@@ -74,6 +74,11 @@ namespace Umbraco.Web.Trees
|
||||
LogHelper.Error<LegacyTreeController>(msg, attempt.Exception);
|
||||
throw new ApplicationException(msg);
|
||||
}
|
||||
|
||||
foreach (var menuItem in attempt.Result.MenuItems)
|
||||
{
|
||||
menuItem.Name = global::umbraco.ui.Text("actions", menuItem.Alias);
|
||||
}
|
||||
return attempt.Result;
|
||||
}
|
||||
else
|
||||
@@ -85,6 +90,10 @@ namespace Umbraco.Web.Trees
|
||||
LogHelper.Error<LegacyTreeController>(msg, attempt.Exception);
|
||||
throw new ApplicationException(msg);
|
||||
}
|
||||
foreach (var menuItem in attempt.Result.MenuItems)
|
||||
{
|
||||
menuItem.Name = global::umbraco.ui.Text("actions", menuItem.Alias);
|
||||
}
|
||||
return attempt.Result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user