feat(frontend): a finished action answers on the button that was pressed instead of a toast

This commit is contained in:
hh committed 2026-10-19 06:07:54 +00:00
1 parent e228d999dd
commit bca0b34636
15 files changed
+179 -73

No files matched your search

+2 -6
View File
@@ -1,6 +1,7 @@
import type { Messages } from "#lib/i18n/types.js";
export const shares = {
"shares.accessRevoked": { en: "Access revoked", ru: "Доступ отозван" },
"shares.checkFailed": {
en: "Could not check the link",
ru: "Не удалось проверить ссылку",
@@ -79,7 +80,6 @@ export const shares = {
"shares.noChat": { en: "No chat", ru: "Без чата" },
"shares.noExpiry": { en: "No expiry", ru: "Бессрочно" },
"shares.noLimit": { en: "No limit", ru: "Без лимита" },
"shares.opened": { en: "Link sharing is on", ru: "Доступ по ссылке открыт" },
"shares.openFailed": {
en: "Could not share the file",
ru: "Не удалось открыть доступ",
@@ -115,11 +115,11 @@ export const shares = {
},
"shares.revoke": { en: "Revoke", ru: "Отозвать" },
"shares.revoked": { en: "revoked", ru: "отозвана" },
"shares.revokedToast": { en: "Access revoked", ru: "Доступ отозван" },
"shares.revokeFailed": {
en: "Could not revoke access",
ru: "Не удалось отозвать доступ",
},
"shares.saved": { en: "Saved", ru: "Сохранено" },
"shares.state.active": { en: "Active", ru: "Открыт" },
"shares.state.exhausted": { en: "Limit reached", ru: "Лимит исчерпан" },
"shares.state.expired": { en: "Expired", ru: "Истёк" },
@@ -128,10 +128,6 @@ export const shares = {
"shares.tab.all": { en: "All", ru: "Все" },
"shares.toMessage": { en: "Go to message", ru: "К сообщению" },
"shares.until": { en: "until {date}", ru: "до {date}" },
"shares.updated": {
en: "Link settings updated",
ru: "Настройки ссылки обновлены",
},
"shares.updateFailed": {
en: "Could not update the link",
ru: "Не удалось обновить ссылку",