Add a promise-based ConfirmProvider + useConfirm() hook (built on the Modal shell, liquid-glass styling, danger variant, Esc/backdrop = cancel, Enter = confirm) so confirmations match the app instead of the native browser dialog. Wire it in at the app root and replace both window.confirm call sites (playlist delete, channel unsubscribe). Trilingual common.confirm/confirmTitle strings.
14 lines
425 B
JSON
14 lines
425 B
JSON
{
|
|
"privacyPolicy": "Privacy Policy",
|
|
"termsOfService": "Terms of Service",
|
|
"close": "Close",
|
|
"cancel": "Cancel",
|
|
"confirm": "Confirm",
|
|
"confirmTitle": "Are you sure?",
|
|
"save": "Save",
|
|
"loading": "Loading…",
|
|
"language": "Language",
|
|
"somethingWrong": "Something went wrong.",
|
|
"accessRequestsTitle": "Access requests",
|
|
"accessRequestsMessage": "{{count}} pending — review in Settings → Account."
|
|
}
|