- Last updated: {new Date().toLocaleDateString()}
+ {__('Last updated:')}
+ {new Date().toLocaleDateString()}
- 6. Data Retention
+ {__('6. Data Retention')}
We retain your personal information for as long
@@ -233,7 +263,7 @@ export default function Privacy() {
- 7. International Data Transfers
+ {__('7. International Data Transfers')}
Your data is primarily stored and processed
@@ -248,121 +278,130 @@ export default function Privacy() {
- 8. Your Rights Under GDPR
+ {__('8. Your Rights Under GDPR')}
- As a user in the European Union, you have the
- following rights regarding your personal data:
+ {__(
+ 'As a user in the European Union, you have the\n following rights regarding your personal data:',
+ )}
-
- Right of Access: You can
- request a copy of the personal data we hold
- about you
+ {__('Right of Access:')}
+ {__(
+ 'You can\n request a copy of the personal data we hold\n about you',
+ )}
-
- Right to Rectification: You
- can request correction of inaccurate or
- incomplete data
+
+ {__('Right to Rectification:')}
+
+ {__(
+ 'You\n can request correction of inaccurate or\n incomplete data',
+ )}
-
- Right to Erasure: You can
- request deletion of your personal data
- (right to be forgotten)
+ {__('Right to Erasure:')}
+ {__(
+ 'You can\n request deletion of your personal data\n (right to be forgotten)',
+ )}
-
- Right to Data Portability:{' '}
- You can request your data in a structured,
- machine-readable format
+
+ {__('Right to Data Portability:')}
+ {' '}
+ {__(
+ 'You can request your data in a structured,\n machine-readable format',
+ )}
-
- Right to Restriction: You
- can request restriction of processing in
- certain circumstances
+
+ {__('Right to Restriction:')}
+
+ {__(
+ 'You\n can request restriction of processing in\n certain circumstances',
+ )}
-
- Right to Object: You can
- object to processing of your data based on
- legitimate interests
+ {__('Right to Object:')}
+ {__(
+ 'You can\n object to processing of your data based on\n legitimate interests',
+ )}
-
- Right to Withdraw Consent:{' '}
- Where processing is based on consent, you
- can withdraw it at any time
+
+ {__('Right to Withdraw Consent:')}
+ {' '}
+ {__(
+ 'Where processing is based on consent, you\n can withdraw it at any time',
+ )}
-
- Right to Lodge a Complaint:{' '}
- You can file a complaint with your local
- data protection authority
+
+ {__('Right to Lodge a Complaint:')}
+ {' '}
+ {__(
+ 'You can file a complaint with your local\n data protection authority',
+ )}
- To exercise any of these rights, please contact
- us at victor@whisper.money. We will respond to
- your request within 30 days.
+ {__(
+ 'To exercise any of these rights, please contact\n us at victor@whisper.money. We will respond to\n your request within 30 days.',
+ )}
- 9. Cookies and Tracking
+ {__('9. Cookies and Tracking')}
- We use essential cookies to maintain your
- session and ensure the proper functioning of our
- service. These cookies are necessary for the
- service to work and cannot be disabled. We do
- not use tracking cookies or analytics cookies
- without your explicit consent.
+ {__(
+ 'We use essential cookies to maintain your\n session and ensure the proper functioning of our\n service. These cookies are necessary for the\n service to work and cannot be disabled. We do\n not use tracking cookies or analytics cookies\n without your explicit consent.',
+ )}
- 10. Children's Privacy
+ {__("10. Children's Privacy")}
- Our service is not intended for users under the
- age of 16. We do not knowingly collect personal
- information from children. If you believe we
- have collected information from a child, please
- contact us immediately, and we will delete it.
+ {__(
+ 'Our service is not intended for users under the\n age of 16. We do not knowingly collect personal\n information from children. If you believe we\n have collected information from a child, please\n contact us immediately, and we will delete it.',
+ )}
- 11. Changes to This Privacy Policy
+ {__('11. Changes to This Privacy Policy')}
- We may update this Privacy Policy from time to
- time to reflect changes in our practices or for
- legal, operational, or regulatory reasons. When
- we make material changes, we will notify you by
- email and/or by posting a notice on our website
- at least 30 days before the changes take effect.
- Your continued use of the service after changes
- become effective constitutes acceptance of the
- updated policy.
+ {__(
+ 'We may update this Privacy Policy from time to\n time to reflect changes in our practices or for\n legal, operational, or regulatory reasons. When\n we make material changes, we will notify you by\n email and/or by posting a notice on our website\n at least 30 days before the changes take effect.\n Your continued use of the service after changes\n become effective constitutes acceptance of the\n updated policy.',
+ )}
- 12. Contact Us
+ {__('12. Contact Us')}
- If you have any questions, concerns, or requests
- regarding this Privacy Policy or our data
- practices, please contact us:
+ {__(
+ 'If you have any questions, concerns, or requests\n regarding this Privacy Policy or our data\n practices, please contact us:',
+ )}
- Email: victor@whisper.money
+ {__('Email:')}
+ {__('victor@whisper.money')}
- Address: Whisper Money,
- Calle Oca, Madrid - 28025, Spain
+ {__('Address:')} Whisper
+ Money, Calle Oca, Madrid - 28025, Spain
diff --git a/resources/js/pages/settings/account.tsx b/resources/js/pages/settings/account.tsx
index 843a39f5..5640795b 100644
--- a/resources/js/pages/settings/account.tsx
+++ b/resources/js/pages/settings/account.tsx
@@ -24,6 +24,8 @@ import { disable, enable } from '@/routes/two-factor';
import { send } from '@/routes/verification';
import { type BreadcrumbItem, type SharedData } from '@/types';
import { CURRENCY_OPTIONS } from '@/types/account';
+import { LANGUAGE_OPTIONS } from '@/types/language';
+import { __ } from '@/utils/i18n';
import { Transition } from '@headlessui/react';
import { Form, Head, Link, usePage } from '@inertiajs/react';
import { ShieldBan, ShieldCheck } from 'lucide-react';
@@ -65,13 +67,13 @@ export default function Account({
return (
-
+