mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 17:56:07 +00:00
v2.5.0: clarify encrypted restore in admin
This commit is contained in:
@@ -75,6 +75,7 @@ const i18n = {
|
||||
main: "main",
|
||||
createBackup: "Create backup",
|
||||
restoreBackup: "Restore",
|
||||
encryptedRestoreCli: "Encrypted backups are restored from CLI",
|
||||
backupScheduleTitle: "Automatic backups",
|
||||
backupScheduleLoading: "Loading schedule...",
|
||||
backupIncludesTitle: "Backup contents",
|
||||
@@ -293,6 +294,7 @@ const i18n = {
|
||||
main: "основной",
|
||||
createBackup: "Создать бекап",
|
||||
restoreBackup: "Восстановить",
|
||||
encryptedRestoreCli: "Зашифрованные бекапы восстанавливаются через CLI",
|
||||
backupScheduleTitle: "Автобекапы",
|
||||
backupScheduleLoading: "Загрузка расписания...",
|
||||
backupIncludesTitle: "Что входит в бекап",
|
||||
@@ -1166,7 +1168,7 @@ function renderBackups(backups) {
|
||||
</div>
|
||||
<div class="backup-actions">
|
||||
<span>${escapeHtml(fmtBytes(item.size))}${item.encrypted ? ` · ${escapeHtml(t("encrypted"))}` : ""}</span>
|
||||
<button class="soft" data-restore-backup="${escapeAttr(item.name)}">${escapeHtml(t("restoreBackup"))}</button>
|
||||
<button class="soft" data-restore-backup="${escapeAttr(item.name)}" ${item.encrypted ? "disabled" : ""} title="${escapeAttr(item.encrypted ? t("encryptedRestoreCli") : t("restoreBackup"))}">${escapeHtml(t("restoreBackup"))}</button>
|
||||
</div>
|
||||
</div>
|
||||
`).join("");
|
||||
|
||||
Reference in New Issue
Block a user