feat: translate web interface to Russian
Deploy Telegram Bot / build-and-push (push) Failing after 3m5s
Deploy Telegram Bot / deploy (push) Has been skipped

This commit is contained in:
2026-04-17 15:40:35 +03:00
parent 55bc0dedb7
commit 116f1f5b0e
10 changed files with 77 additions and 67 deletions
@@ -6,21 +6,21 @@
@inject SessionService SessionService
@inject NavigationManager Navigation
<PageTitle>Edit Session - GM-Relay</PageTitle>
<PageTitle>Редактирование сессии - GM-Relay</PageTitle>
<div class="container mt-4">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Dashboard</a></li>
<li class="breadcrumb-item active">Edit Session</li>
<li class="breadcrumb-item"><a href="/">Главная</a></li>
<li class="breadcrumb-item active">Редактирование сессии</li>
</ol>
</nav>
<h2>Edit Session</h2>
<h2>Редактирование сессии</h2>
@if (session == null)
{
<p>Loading session details...</p>
<p>Загрузка деталей сессии...</p>
}
else
{
@@ -28,27 +28,27 @@
<div class="card-body">
<EditForm Model="@model" OnValidSubmit="HandleSubmit">
<div class="mb-3">
<label class="form-label font-weight-bold">Game Title</label>
<InputText @bind-Value="model.Title" class="form-control" placeholder="e.g. D&D 5e: Dragon's Hoard" />
<div class="form-text">Changing this will update all sessions in the same batch.</div>
<label class="form-label font-weight-bold">Название игры</label>
<InputText @bind-Value="model.Title" class="form-control" placeholder="например, D&D 5e: Dragon's Hoard" />
<div class="form-text">Изменение этого поля обновит все сессии в одной группе.</div>
</div>
<div class="mb-3">
<label class="form-label font-weight-bold">Scheduled Time (Moscow UTC+3)</label>
<label class="form-label font-weight-bold">Запланированное время (МСК UTC+3)</label>
<input type="datetime-local" @bind="model.ScheduledAtLocal" class="form-control" />
<div class="form-text">Current: @session.ScheduledAt.FormatMoscow()</div>
<div class="form-text">Текущее: @session.ScheduledAt.FormatMoscow()</div>
</div>
<div class="mb-3">
<label class="form-label font-weight-bold">Join Link</label>
<InputText @bind-Value="model.JoinLink" class="form-control" placeholder="Discord or VTT link" />
<label class="form-label font-weight-bold">Ссылка для подключения</label>
<InputText @bind-Value="model.JoinLink" class="form-control" placeholder="Ссылка на Discord или VTT" />
</div>
<div class="mt-4">
<button type="submit" class="btn btn-success" disabled="@isSubmitting">
@(isSubmitting ? "Saving..." : "Save Changes")
@(isSubmitting ? "Сохранение..." : "Сохранить изменения")
</button>
<button type="button" class="btn btn-outline-secondary ms-2" @onclick="GoBack">Cancel</button>
<button type="button" class="btn btn-outline-secondary ms-2" @onclick="GoBack">Отмена</button>
</div>
</EditForm>
</div>
@@ -96,7 +96,7 @@
}
catch (Exception ex)
{
errorMessage = "Failed to save changes: " + ex.Message;
errorMessage = "Не удалось сохранить изменения: " + ex.Message;
}
finally
{