fix(i18n): wrap CookieConsentRoot with LanguageProvider
The CookieConsentBanner uses useLanguage() hook but was rendered outside of LanguageProvider in RootLayout. Added LanguageProvider wrapper to fix the runtime error.
This commit is contained in:
@@ -2591,5 +2591,50 @@
|
||||
"emptyState": "No versions available",
|
||||
"selectVersion": "Select a version to preview its content",
|
||||
"currentVersion": "current"
|
||||
},
|
||||
"consent": {
|
||||
"banner": {
|
||||
"title": "Cookie Preferences",
|
||||
"description": "We use cookies to improve your experience. Strictly necessary cookies are always active, but you can opt-in to anonymous analytics.",
|
||||
"acceptEssentials": "Accept Essentials Only",
|
||||
"rejectNonEssential": "Reject Non-Essential",
|
||||
"manage": "Manage Preferences",
|
||||
"acceptAll": "Accept All"
|
||||
},
|
||||
"preferences": {
|
||||
"title": "Consent Settings",
|
||||
"description": "Customize your data privacy preferences. We respect your choice and store no tracking cookies without your consent.",
|
||||
"necessaryTitle": "Strictly Necessary Cookies",
|
||||
"necessaryDesc": "These cookies are required to authenticate your session, save your language and theme preferences. They cannot be turned off.",
|
||||
"alwaysOn": "Always On",
|
||||
"analyticsTitle": "Anonymous Analytics",
|
||||
"analyticsDesc": "Help us improve Momento by sending completely anonymous usage statistics. No personal data is ever tracked.",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save Preferences",
|
||||
"saved": "Preferences updated successfully."
|
||||
}
|
||||
},
|
||||
"account": {
|
||||
"deleteAccount": {
|
||||
"sectionTitle": "Right to be Forgotten (GDPR)",
|
||||
"sectionDescription": "Permanently and irreversibly delete your account and all associated data.",
|
||||
"whatWillBeDeleted": "The following will be permanently deleted:",
|
||||
"item1": "All notes, notebooks, and attachments",
|
||||
"item2": "All pgvector semantic embeddings",
|
||||
"item3": "All BYOK API keys",
|
||||
"item4": "All AI conversations and brainstorm sessions",
|
||||
"item5": "Quota and usage history",
|
||||
"item6": "Your Stripe subscription (if active)",
|
||||
"item7": "Your account and login credentials",
|
||||
"buttonLabel": "Delete My Account",
|
||||
"dialogTitle": "Confirm Account Deletion",
|
||||
"dialogDescription": "This action is irreversible. Type your email address to confirm.",
|
||||
"emailPlaceholder": "Your email address",
|
||||
"confirmButton": "Permanently Delete Account",
|
||||
"cancelButton": "Cancel",
|
||||
"deleting": "Deleting...",
|
||||
"successRedirect": "Your account has been successfully deleted.",
|
||||
"errorFailed": "Deletion failed. Please try again."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user