mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
- A few missing localized strings and french translations were added. Need native french speakers to fully translate Orchard in french. --HG-- branch : dev
16 lines
705 B
C#
16 lines
705 B
C#
using Orchard.Localization;
|
|
using Orchard.UI.Navigation;
|
|
|
|
namespace Orchard.Themes {
|
|
public class AdminMenu : INavigationProvider {
|
|
public Localizer T { get; set; }
|
|
public string MenuName { get { return "admin"; } }
|
|
|
|
public void GetNavigation(NavigationBuilder builder) {
|
|
builder.Add(T("Site"), "11",
|
|
menu => menu
|
|
.Add(T("Manage Themes"), "4.0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" })
|
|
.Permission(Permissions.ManageThemes).Permission(Permissions.ApplyTheme)));
|
|
}
|
|
}
|
|
} |