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
475 B
JSON
14 lines
475 B
JSON
{
|
|
"privacyPolicy": "Datenschutzerklärung",
|
|
"termsOfService": "Nutzungsbedingungen",
|
|
"close": "Schließen",
|
|
"cancel": "Abbrechen",
|
|
"confirm": "Bestätigen",
|
|
"confirmTitle": "Bist du sicher?",
|
|
"save": "Speichern",
|
|
"loading": "Wird geladen…",
|
|
"language": "Sprache",
|
|
"somethingWrong": "Etwas ist schiefgelaufen.",
|
|
"accessRequestsTitle": "Zugangsanfragen",
|
|
"accessRequestsMessage": "{{count}} ausstehend — prüfe sie unter Einstellungen → Konto."
|
|
}
|