update to resources

This commit is contained in:
Grayson Walker
2021-06-25 16:34:30 -04:00
parent 55bf2f1b6a
commit ba9ca22aaa
119 changed files with 968 additions and 1399 deletions

View File

@ -2,10 +2,11 @@
@inherits ModuleBase
@inject IJobService JobService
@inject IStringLocalizer<Index> Localizer
@inject IStringLocalizer<SharedResources> SharedLocalizer
@if (_jobs == null)
{
<p><em>@Localizer["Loading"]</em></p>
<p><em>@SharedLocalizer["Loading"]</em></p>
}
else
{
@ -19,8 +20,8 @@ else
<th style="width: 1px;">&nbsp;</th>
<th style="width: 1px;">&nbsp;</th>
<th style="width: 1px;">&nbsp;</th>
<th>@Localizer["Name"]</th>
<th>@Localizer["Status"]</th>
<th>@SharedLocalizer["Name"]</th>
<th>@SharedLocalizer["Status"]</th>
<th>@Localizer["Frequency"]</th>
<th>@Localizer["NextExecution"]</th>
<th style="width: 1px;">&nbsp;</th>
@ -36,11 +37,11 @@ else
<td>
@if (context.IsStarted)
{
<button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@Localizer["Stop"]</button>
<button type="button" class="btn btn-danger" @onclick="(async () => await StopJob(context.JobId))">@SharedLocalizer["Stop"]</button>
}
else
{
<button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@Localizer["Start"]</button>
<button type="button" class="btn btn-success" @onclick="(async () => await StartJob(context.JobId))">@SharedLocalizer["Start"]</button>
}
</td>
</Row>