Improve VPN status reporting and recovery
This commit is contained in:
@@ -0,0 +1,308 @@
|
||||
[
|
||||
{
|
||||
"key": "vpn-off",
|
||||
"label": "Отключён",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "off",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-connecting",
|
||||
"label": "Подключение",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "connecting",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-unlock",
|
||||
"label": "Ожидаем вход",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "unlock",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-connected",
|
||||
"label": "Подключён",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "check",
|
||||
"tone": "green",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-reconnect",
|
||||
"label": "Переподключение",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "reconnect",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-network",
|
||||
"label": "Проблема сети",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "network",
|
||||
"tone": "amber",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-error",
|
||||
"label": "Ошибка",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "error",
|
||||
"tone": "red",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-setup",
|
||||
"label": "Нужна настройка",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "setup",
|
||||
"tone": "amber",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "vpn-unknown",
|
||||
"label": "Статус неизвестен",
|
||||
"section": "Состояния VPN",
|
||||
"kind": "shield",
|
||||
"mark": "unknown",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "time-start",
|
||||
"label": "Начало",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0
|
||||
},
|
||||
{
|
||||
"key": "time-quarter",
|
||||
"label": "25% прошло",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0.25
|
||||
},
|
||||
{
|
||||
"key": "time-half",
|
||||
"label": "50% прошло",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0.5
|
||||
},
|
||||
{
|
||||
"key": "time-three-quarter",
|
||||
"label": "75% прошло",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0.75
|
||||
},
|
||||
{
|
||||
"key": "time-hour",
|
||||
"label": "Остался час",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "amber",
|
||||
"progress": 0.875
|
||||
},
|
||||
{
|
||||
"key": "time-quarter-hour",
|
||||
"label": "Осталось 15 мин",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "red",
|
||||
"progress": 0.96875
|
||||
},
|
||||
{
|
||||
"key": "time-expired",
|
||||
"label": "Срок истёк",
|
||||
"section": "Время сессии",
|
||||
"kind": "progress",
|
||||
"mark": "expired",
|
||||
"tone": "red",
|
||||
"progress": 1
|
||||
},
|
||||
{
|
||||
"key": "time-unknown",
|
||||
"label": "Срок неизвестен",
|
||||
"section": "Время сессии",
|
||||
"kind": "shield",
|
||||
"mark": "no-time",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "format-shield",
|
||||
"label": "Щит с прогрессом",
|
||||
"section": "Форматы времени",
|
||||
"kind": "progress",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0.58
|
||||
},
|
||||
{
|
||||
"key": "format-clock",
|
||||
"label": "Щит-часы",
|
||||
"section": "Форматы времени",
|
||||
"kind": "shield",
|
||||
"mark": "clock",
|
||||
"tone": "green",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "format-time",
|
||||
"label": "Щит + время",
|
||||
"section": "Форматы времени",
|
||||
"kind": "digital",
|
||||
"mark": "check",
|
||||
"tone": "green",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "format-ring",
|
||||
"label": "Кольцо",
|
||||
"section": "Форматы времени",
|
||||
"kind": "ring",
|
||||
"mark": "",
|
||||
"tone": "green",
|
||||
"progress": 0.58
|
||||
},
|
||||
{
|
||||
"key": "action-connect",
|
||||
"label": "Подключить",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "connect",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-disconnect",
|
||||
"label": "Отключить",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "disconnect",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-cancel",
|
||||
"label": "Отменить",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "cancel",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-import",
|
||||
"label": "Импорт ключа",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "import",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-password",
|
||||
"label": "Логин и пароль",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "password",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-copy",
|
||||
"label": "Копировать IP",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "copy",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-logs",
|
||||
"label": "Логи",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "logs",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-refresh",
|
||||
"label": "Обновить статус",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "refresh",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "action-quit",
|
||||
"label": "Выход",
|
||||
"section": "Действия меню",
|
||||
"kind": "action",
|
||||
"mark": "quit",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "source-manual",
|
||||
"label": "Вручную",
|
||||
"section": "Источники и режимы",
|
||||
"kind": "action",
|
||||
"mark": "manual",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "source-auto",
|
||||
"label": "Автоматически",
|
||||
"section": "Источники и режимы",
|
||||
"kind": "action",
|
||||
"mark": "auto",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "source-local",
|
||||
"label": "Ключ на Mac",
|
||||
"section": "Источники и режимы",
|
||||
"kind": "action",
|
||||
"mark": "local",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
},
|
||||
{
|
||||
"key": "source-vault",
|
||||
"label": "Bitwarden",
|
||||
"section": "Источники и режимы",
|
||||
"kind": "action",
|
||||
"mark": "vault",
|
||||
"tone": "ink",
|
||||
"progress": null
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user