feat(i18n): Replace hardcoded strings with translation keys in support and donation components
Replaced hardcoded Portuguese text with next-intl translation keys in the support page, header, and donation card components to enable internationalization and support multiple languages. This improves the app's accessibility and localization capabilities.
This commit is contained in:
1 parent
5ccc9120c4
commit
bb6b320d1f
5 files changed
+196
-63
No files matched your search
+60
-1
@@ -3,7 +3,8 @@
|
||||
"nav": {
|
||||
"market": "Market",
|
||||
"about": "About",
|
||||
"prices": "Prices"
|
||||
"prices": "Prices",
|
||||
"support": "Support"
|
||||
},
|
||||
"theme": {
|
||||
"light": "Light Theme",
|
||||
@@ -225,6 +226,11 @@
|
||||
"description": "Equals ~10 minutes of development",
|
||||
"badge": "Popular"
|
||||
},
|
||||
"snack": {
|
||||
"title": "A Snack",
|
||||
"description": "Equals ~20 minutes of development",
|
||||
"badge": "Popular"
|
||||
},
|
||||
"lunch": {
|
||||
"title": "Team Lunch",
|
||||
"description": "Equals ~30 minutes of development",
|
||||
@@ -241,6 +247,59 @@
|
||||
"final": "Every contribution matters",
|
||||
"subtitle": "Each donation helps us dedicate more time to the project and keep the infrastructure running"
|
||||
},
|
||||
"form": {
|
||||
"chooseAmount": "Choose the amount",
|
||||
"donate": "Donate R$",
|
||||
"processing": "Processing...",
|
||||
"supportWithPix": "Support with PIX",
|
||||
"value": "Amount (R$)",
|
||||
"min": "Min",
|
||||
"max": "Max",
|
||||
"minAmount": "Minimum is R$",
|
||||
"maxAmount": "Maximum is R$",
|
||||
"howToContribute": "How would you like to contribute?",
|
||||
"anonymousTitle": "Anonymous Donation",
|
||||
"anonymousDesc": "Quick and no registration. Generate PIX immediately.",
|
||||
"anonymousButton": "Continue Anonymous",
|
||||
"identifiedTitle": "I Want to Identify Myself",
|
||||
"identifiedDesc": "Help us thank you and offer benefits",
|
||||
"recommended": "Recommended",
|
||||
"thankByEmail": "Personalized thank you by email",
|
||||
"earlyAccess": "Early access to new features",
|
||||
"contributionHistory": "History of your contributions",
|
||||
"identifyMe": "Identify Me",
|
||||
"donorInfo": "Donation Information",
|
||||
"name": "Name *",
|
||||
"nameHint": "min. 3 characters",
|
||||
"namePlaceholder": "Your name or nickname",
|
||||
"email": "Email *",
|
||||
"emailPlaceholder": "[email protected]",
|
||||
"phone": "Phone *",
|
||||
"phoneHint": "with area code",
|
||||
"phonePlaceholder": "(11) 98888-7777",
|
||||
"taxId": "CPF/CNPJ *",
|
||||
"taxIdHint": "for receipt issuance",
|
||||
"taxIdPlaceholder": "000.000.000-00 or 00.000.000/0000-00",
|
||||
"message": "Message (optional)",
|
||||
"messageHint": "max. 280 characters",
|
||||
"messagePlaceholder": "Leave a message for the team...",
|
||||
"generatePix": "Generate PIX",
|
||||
"qrTitle": "Scan the QR Code to Pay",
|
||||
"copyCode": "Or copy the PIX code:",
|
||||
"copy": "Copy",
|
||||
"copied": "Copied!",
|
||||
"expiresIn": "Expires in:",
|
||||
"expired": "Expired",
|
||||
"remainingTime": "Remaining time:",
|
||||
"paid": "I Already Paid",
|
||||
"close": "Close",
|
||||
"back": "Back",
|
||||
"paymentConfirmed": "Payment Confirmed!",
|
||||
"paymentConfirmedDesc": "Thank you for your contribution! Each donation helps us keep the project running.",
|
||||
"contributionMatters": "Your donation makes all the difference for our community. Thank you very much for your support!",
|
||||
"viewThankYouPage": "View Thank You Page",
|
||||
"backToHome": "Back to Home"
|
||||
},
|
||||
"faq": {
|
||||
"title": "Frequently Asked Questions",
|
||||
"q1": "Is the project free?",
|
||||
|
||||
Reference in new issue
Block a user