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?",
|
||||
|
||||
+60
-1
@@ -3,7 +3,8 @@
|
||||
"nav": {
|
||||
"market": "Mercado",
|
||||
"about": "Sobre",
|
||||
"prices": "Preços"
|
||||
"prices": "Preços",
|
||||
"support": "Apoiar"
|
||||
},
|
||||
"theme": {
|
||||
"light": "Tema Claro",
|
||||
@@ -225,6 +226,11 @@
|
||||
"description": "Equivale a ~10 minutos de desenvolvimento",
|
||||
"badge": "Popular"
|
||||
},
|
||||
"snack": {
|
||||
"title": "Um Lanche",
|
||||
"description": "Equivale a ~20 minutos de desenvolvimento",
|
||||
"badge": "Popular"
|
||||
},
|
||||
"lunch": {
|
||||
"title": "Almoço da Equipe",
|
||||
"description": "Equivale a ~30 minutos de desenvolvimento",
|
||||
@@ -241,6 +247,59 @@
|
||||
"final": "Toda contribuição é importante",
|
||||
"subtitle": "Cada doação nos ajuda a dedicar mais tempo ao projeto e manter a infraestrutura funcionando"
|
||||
},
|
||||
"form": {
|
||||
"chooseAmount": "Escolha o valor",
|
||||
"donate": "Doar R$",
|
||||
"processing": "Processando...",
|
||||
"supportWithPix": "Apoiar com PIX",
|
||||
"value": "Valor (R$)",
|
||||
"min": "Mín",
|
||||
"max": "Máx",
|
||||
"minAmount": "Mínimo é R$",
|
||||
"maxAmount": "Máximo é R$",
|
||||
"howToContribute": "Como deseja contribuir?",
|
||||
"anonymousTitle": "Doação Anônima",
|
||||
"anonymousDesc": "Rápido e sem cadastro. Gere o PIX imediatamente.",
|
||||
"anonymousButton": "Continuar Anônimo",
|
||||
"identifiedTitle": "Quero me Identificar",
|
||||
"identifiedDesc": "Ajude-nos a agradecer e oferecer benefícios",
|
||||
"recommended": "Recomendado",
|
||||
"thankByEmail": "Agradecimento personalizado por email",
|
||||
"earlyAccess": "Acesso antecipado a novos recursos",
|
||||
"contributionHistory": "Histórico de suas contribuições",
|
||||
"identifyMe": "Identificar-me",
|
||||
"donorInfo": "Informações para Doação",
|
||||
"name": "Nome *",
|
||||
"nameHint": "min. 3 caracteres",
|
||||
"namePlaceholder": "Seu nome ou apelido",
|
||||
"email": "Email *",
|
||||
"emailPlaceholder": "[email protected]",
|
||||
"phone": "Telefone *",
|
||||
"phoneHint": "com DDD",
|
||||
"phonePlaceholder": "(11) 98888-7777",
|
||||
"taxId": "CPF/CNPJ *",
|
||||
"taxIdHint": "para emissão de recibo",
|
||||
"taxIdPlaceholder": "000.000.000-00 ou 00.000.000/0000-00",
|
||||
"message": "Mensagem (opcional)",
|
||||
"messageHint": "máx. 280 caracteres",
|
||||
"messagePlaceholder": "Deixe uma mensagem para a equipe...",
|
||||
"generatePix": "Gerar PIX",
|
||||
"qrTitle": "Escaneie o QR Code para Pagar",
|
||||
"copyCode": "Ou copie o código PIX:",
|
||||
"copy": "Copiar",
|
||||
"copied": "Copiado!",
|
||||
"expiresIn": "Expira em:",
|
||||
"expired": "Expirado",
|
||||
"remainingTime": "Tempo restante:",
|
||||
"paid": "Já Paguei",
|
||||
"close": "Fechar",
|
||||
"back": "Voltar",
|
||||
"paymentConfirmed": "Pagamento Confirmado!",
|
||||
"paymentConfirmedDesc": "Obrigado pela sua contribuição! Cada doação nos ajuda a manter o projeto funcionando.",
|
||||
"contributionMatters": "Sua doação faz toda a diferença para nossa comunidade. Muito obrigado pelo apoio!",
|
||||
"viewThankYouPage": "Ver Página de Agradecimento",
|
||||
"backToHome": "Voltar ao Início"
|
||||
},
|
||||
"faq": {
|
||||
"title": "Perguntas Frequentes",
|
||||
"q1": "O projeto é gratuito?",
|
||||
|
||||
Reference in new issue
Block a user