update resources
This commit is contained in:
		| @ -37,11 +37,11 @@ else | ||||
|             <td> | ||||
|                 @if (context.IsStarted) | ||||
|                     { | ||||
|                     <button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@SharedLocalizer["Stop"]</button> | ||||
|                     <button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@Localizer["Stop"]</button> | ||||
|                     } | ||||
|                     else | ||||
|                     { | ||||
|                     <button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@SharedLocalizer["Start"]</button> | ||||
|                     <button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@Localizer["Start"]</button> | ||||
|                     } | ||||
|             </td> | ||||
|         </Row> | ||||
|  | ||||
| @ -78,7 +78,7 @@ else | ||||
|                             <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong> | ||||
|                         </td> | ||||
|                         <td style="vertical-align: middle;"> | ||||
|                             <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadLanguage(context.PackageId, context.Version))>@Localizer["Download"]</button> | ||||
|                             <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadLanguage(context.PackageId, context.Version))>@SharedLocalizer["Download"]</button> | ||||
|                         </td> | ||||
|                     </Row> | ||||
|                 </Pager> | ||||
|  | ||||
| @ -6,6 +6,7 @@ | ||||
| @inject IModuleService ModuleService | ||||
| @inject ISettingService SettingService | ||||
| @inject IStringLocalizer<Index> Localizer | ||||
| @inject IStringLocalizer<SharedResources> SharedLocalizer | ||||
|  | ||||
| @if (string.IsNullOrEmpty(_moduledefinitionname) && _templates != null) | ||||
| { | ||||
|  | ||||
| @ -35,7 +35,7 @@ | ||||
|                             <strong>@(String.Format("{0:n0}", context.Downloads))</strong> @SharedLocalizer["Search.Downloads"]  |   @SharedLocalizer["Search.Released"]: <strong>@context.ReleaseDate.ToString("MMM dd, yyyy")</strong>  |  @SharedLocalizer["Search.Version"]: <strong>@context.Version</strong> | ||||
|                         </td> | ||||
|                         <td style="vertical-align: middle;"> | ||||
|                             <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadModule(context.PackageId, context.Version))>@Localizer["Download"]</button> | ||||
|                             <button type="button" class="btn btn-primary" @onclick=@(async () => await DownloadModule(context.PackageId, context.Version))>@SharedLocalizer["Download"]</button> | ||||
|                         </td> | ||||
|                     </Row> | ||||
|                 </Pager> | ||||
|  | ||||
| @ -37,7 +37,7 @@ else | ||||
|             <td> | ||||
|                 @if (UpgradeAvailable(context.PackageName, context.Version)) | ||||
|                     { | ||||
|                     <button type="button" class="btn btn-success" @onclick=@(async () => await DownloadModule(context.PackageName, context.Version))>@Localizer["Upgrade"]</button> | ||||
|                     <button type="button" class="btn btn-success" @onclick=@(async () => await DownloadModule(context.PackageName, context.Version))>@SharedLocalizer["Upgrade"]</button> | ||||
|                     } | ||||
|             </td> | ||||
|         </Row> | ||||
|  | ||||
| @ -162,4 +162,10 @@ | ||||
|   <data name="Frequency" xml:space="preserve"> | ||||
|     <value>Frequency</value> | ||||
|   </data> | ||||
|   <data name="Start" xml:space="preserve"> | ||||
|     <value>Start</value> | ||||
|   </data> | ||||
|   <data name="Stop" xml:space="preserve"> | ||||
|     <value>Stop</value> | ||||
|   </data> | ||||
| </root> | ||||
| @ -252,15 +252,9 @@ | ||||
|   <data name="Send" xml:space="preserve"> | ||||
|     <value>Send</value> | ||||
|   </data> | ||||
|   <data name="Start" xml:space="preserve"> | ||||
|     <value>Start</value> | ||||
|   </data> | ||||
|   <data name="Status" xml:space="preserve"> | ||||
|     <value>Status</value> | ||||
|   </data> | ||||
|   <data name="Stop" xml:space="preserve"> | ||||
|     <value>Stop</value> | ||||
|   </data> | ||||
|   <data name="Upgrade" xml:space="preserve"> | ||||
|     <value>Upgrade</value> | ||||
|   </data> | ||||
|  | ||||
| @ -94,7 +94,7 @@ | ||||
|                     <div class="col text-center"> | ||||
|                         <label for="Module" class="control-label">@Localizer["Module.Manage"] </label> | ||||
|                         <select class="form-control" @bind="@ModuleType"> | ||||
|                             <option value="new">@Localizer["Mdule.AddNew"]</option> | ||||
|                             <option value="new">@Localizer["Module.AddNew"]</option> | ||||
|                             <option value="existing">@Localizer["Module.AddExisting"]</option> | ||||
|                         </select> | ||||
|                         @if (ModuleType == "new") | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Grayson Walker
					Grayson Walker