Localize components for the modules pages
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @inherits ModuleBase | ||||
| @inject NavigationManager NavigationManager | ||||
| @inject IModuleService ModuleService | ||||
| @ -7,7 +7,7 @@ | ||||
|     <tbody> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <Label For="content" HelpText="Enter the module content">Content: </Label> | ||||
|                 <Label For="content" HelpText="Enter the module content" ResourceKey="Content">Content: </Label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <textarea id="content" class="form-control" @bind="@_content" rows="5"></textarea> | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @inherits ModuleBase | ||||
| @inject NavigationManager NavigationManager | ||||
| @inject IModuleService ModuleService | ||||
| @ -7,7 +7,7 @@ | ||||
|     <tbody> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <Label For="content" HelpText="Enter the module content">Content: </Label> | ||||
|                 <Label For="content" HelpText="Enter the module content" ResourceKey="Content">Content: </Label> | ||||
|             </td> | ||||
|             <td> | ||||
|                 <textarea id="content" class="form-control" @bind="@_content" rows="5"></textarea> | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @namespace Oqtane.Modules.Admin.Modules | ||||
| @inherits ModuleBase | ||||
| @inject NavigationManager NavigationManager | ||||
| @inject IThemeService ThemeService | ||||
| @ -6,13 +6,13 @@ | ||||
| @inject IPageModuleService PageModuleService | ||||
|  | ||||
| <TabStrip> | ||||
|     <TabPanel Name="Settings" Heading="Module Settings"> | ||||
|     <TabPanel Name="Settings" Heading="Module Settings" ResourceKey="ModuleSettings"> | ||||
|         @if (_containers != null) | ||||
|         { | ||||
|             <table class="table table-borderless"> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <Label For="title" HelpText="Enter the title of the module">Title: </Label> | ||||
|                         <Label For="title" HelpText="Enter the title of the module" ResourceKey="Title">Title: </Label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <input id="title" type="text" name="Title" class="form-control" @bind="@_title" /> | ||||
| @ -20,7 +20,7 @@ | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <Label For="container" HelpText="Select the module's container">Container: </Label> | ||||
|                         <Label For="container" HelpText="Select the module's container" ResourceKey="Container">Container: </Label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <select id="container" class="form-control" @bind="@_containerType"> | ||||
| @ -34,7 +34,7 @@ | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <Label For="allpages" HelpText="Indicate if this module should be displayed on all pages">Display On All Pages? </Label> | ||||
|                         <Label For="allpages" HelpText="Indicate if this module should be displayed on all pages" ResourceKey="DisplayOnAllPages">Display On All Pages? </Label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <select id="allpages" class="form-control" @bind="@_allPages"> | ||||
| @ -45,7 +45,7 @@ | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                     <td> | ||||
|                         <Label For="page" HelpText="The page that the module is on">Page: </Label> | ||||
|                         <Label For="page" HelpText="The page that the module is on" ResourceKey="Page">Page: </Label> | ||||
|                     </td> | ||||
|                     <td> | ||||
|                         <select id="page" class="form-control" @bind="@_pageId"> | ||||
| @ -62,7 +62,7 @@ | ||||
|             </table> | ||||
|         } | ||||
|     </TabPanel> | ||||
|     <TabPanel Name="Permissions"> | ||||
|     <TabPanel Name="Permissions" ResourceKey="Permissions"> | ||||
|         @if (_permissions != null) | ||||
|         { | ||||
|             <table class="table table-borderless"> | ||||
| @ -76,7 +76,7 @@ | ||||
|     </TabPanel> | ||||
|     @if (_settingsModuleType != null) | ||||
|     { | ||||
|         <TabPanel Name="ModuleSettings" Heading="@_settingstitle"> | ||||
|         <TabPanel Name="ModuleSettings" Heading="@_settingstitle" ResourceKey="Module Settings"> | ||||
|             @DynamicComponent | ||||
|         </TabPanel> | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 hishamco
					hishamco