feat: Implement push notification functionality in AddToCartButton, including subscription management and UI updates, and enhance translations for related error messages across multiple locales

This commit is contained in:
sebseb7
2026-03-25 07:57:34 +01:00
parent 0ce8ce3626
commit af6893b5b0
4 changed files with 349 additions and 32 deletions

View File

@@ -39,6 +39,10 @@ export default {
"messagePlaceholder": "Zusätzliche Informationen oder Fragen...",
"submitAvailability": "Verfügbarkeit anfragen",
"pushNotifyPermissionDenied": "Benachrichtigungen wurden nicht erlaubt.",
"pushNotifyServerDisabled": "Push-Benachrichtigungen sind auf dem Server nicht aktiv.",
"pushNotifyError": "Benachrichtigung konnte nicht geändert werden.",
"photoUploadSelect": "Fotos auswählen",
"photoUploadErrorMaxFiles": "Maximal {{max}} Dateien erlaubt",
"photoUploadErrorFileType": "Nur Bilddateien (JPEG, PNG, GIF, WebP) sind erlaubt",