Use SharedResources
This commit is contained in:
parent
d7966f2acf
commit
18aa8d48fe
47
Oqtane.Client/Localization/SharedResources.cs
Normal file
47
Oqtane.Client/Localization/SharedResources.cs
Normal file
|
@ -0,0 +1,47 @@
|
|||
namespace Oqtane
|
||||
{
|
||||
public class SharedResources
|
||||
{
|
||||
public static readonly string UserLogin = "User Login";
|
||||
|
||||
public static readonly string UserRegistration = "User Registration";
|
||||
|
||||
public static readonly string PasswordReset = "Password Reset";
|
||||
|
||||
public static readonly string UserProfile = "User Profile";
|
||||
|
||||
public static readonly string AdminDashboard = "Admin Dashboard";
|
||||
|
||||
public static readonly string SiteSettings = "Site Settings";
|
||||
|
||||
public static readonly string PageManagement = "Page Management";
|
||||
|
||||
public static readonly string UserManagement = "User Management";
|
||||
|
||||
public static readonly string ProfileManagement = "Profile Management";
|
||||
|
||||
public static readonly string RoleManagement = "Role Management";
|
||||
|
||||
public static readonly string FileManagement = "File Management";
|
||||
|
||||
public static readonly string RecycleBin = "Recycle Bin";
|
||||
|
||||
public static readonly string EventLog = "Event Log";
|
||||
|
||||
public static readonly string SiteManagement = "Site Management";
|
||||
|
||||
public static readonly string ModuleManagement = "Module Management";
|
||||
|
||||
public static readonly string ThemeManagement = "Theme Management";
|
||||
|
||||
public static readonly string LanguageManagement = "Language Management";
|
||||
|
||||
public static readonly string ScheduledJobs = "Scheduled Jobs";
|
||||
|
||||
public static readonly string SqlManagement = "Sql Management";
|
||||
|
||||
public static readonly string SystemInfo = "System Info";
|
||||
|
||||
public static readonly string SystemUpdate = "System Update";
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
@inherits ModuleBase
|
||||
@inject IPageService PageService
|
||||
@inject IUserService UserService
|
||||
@inject IStringLocalizer<Index> Localizer
|
||||
@inject IStringLocalizer<SharedResources> Localizer
|
||||
|
||||
<div class="row">
|
||||
@foreach (var p in _pages)
|
||||
|
|
Loading…
Reference in New Issue
Block a user