fix(constants): update default template copies with localized content#16
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughUpdated string literals in a template constants file: English fundraising copy replaced with Portuguese, NGO/impact-focused messaging across header, mission, details, more-info, and testimonial sections; no exported signatures or structural logic changed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the default copy for the primary template to Portuguese/localized messaging, aligning the landing-page content with an NGO/non-profit context.
Changes:
- Localized primary template header and mission section text to PT-BR.
- Updated “more info” section and testimonials to use localized, context-appropriate messaging.
- Adjusted titles for the
detailstabs to PT-BR.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| details: { | ||
| label: 'Future Payment', | ||
| title: 'Experience that grows with your scale', | ||
| title: 'Experiencia que cria valor para todos', |
There was a problem hiding this comment.
O bloco details ficou parcialmente não localizado: label permanece em inglês ("Future Payment") e o título/abas agora estão em PT-BR. Se esse conteúdo é exibido ao usuário, traduza/adeque o label para manter consistência com o restante do template.
| title: 'Objetivos claros', | ||
| description: | ||
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" |
There was a problem hiding this comment.
As descrições das abas em details.tabs continuam como texto placeholder em inglês (Lorem Ipsum), enquanto os títulos foram localizados. Para evitar UI mista e conteúdo de baixa qualidade, substitua essas descrições por cópias reais/localizadas.
| 'https://sb.kaleidousercontent.com/67418/1920x1545/c5f15ac173/samuel-raita-ridxdghg7pw-unsplash.jpg', | ||
| name: 'Getulio Aparecido dos Santos', | ||
| name: 'Getulio dos Santos', | ||
| city: 'Capivari, SP' | ||
| } |
There was a problem hiding this comment.
A primeira card de depoimentos teve o nome do autor alterado para "Getulio dos Santos", mas as demais ainda usam "Getulio Aparecido dos Santos". Se a intenção era padronizar/anonimizar o nome, atualize os outros cards também para evitar inconsistência.
| }, | ||
| moreInfoAbout: { | ||
| title: 'Crie o perfil da sua ONG', | ||
| title: 'Historias reais de quem ajuda e de quem é ajudado', |
There was a problem hiding this comment.
O título está sem acento em "Historias"; em PT-BR o correto é "Histórias".
| title: 'Historias reais de quem ajuda e de quem é ajudado', | |
| title: 'Histórias reais de quem ajuda e de quem é ajudado', |
| title: 'Historias reais de quem ajuda e de quem é ajudado', | ||
| description: | ||
| 'Cadastre sua organização de forma simples e gratuita. Adicione informações sobre sua missão, história e projetos para que mais pessoas conheçam e confiem no seu trabalho social.', | ||
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias. ', |
There was a problem hiding this comment.
A string termina com um espaço em branco no final (antes da aspa). Isso pode gerar espaçamento inesperado na UI e/ou falhar em linting; remova o whitespace final.
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias. ', | |
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias.', |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
src/shared/constants/default-templates-copies.ts (1)
75-96: Evite depoimentos duplicados para não reduzir credibilidade da seção.As três
cardsusam o mesmo conteúdo textual. Vale variar os textos (e, se for a mesma pessoa, manter identidade consistente entre cartões).♻️ Exemplo de variação mínima de conteúdo
{ content: - 'Obrigado por tudo que fizeram por mim e minha família.', + 'O apoio chegou no momento mais difícil e fez toda diferença para nossa família.', @@ { content: - 'Obrigado por tudo que fizeram por mim e minha família.', + 'Além da ajuda material, recebemos acolhimento e acompanhamento contínuo.', @@ { content: - 'Obrigado por tudo que fizeram por mim e minha família.', + 'Hoje tenho mais esperança e estabilidade graças ao suporte recebido.',🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/shared/constants/default-templates-copies.ts` around lines 75 - 96, The testimonials array in default-templates-copies.ts contains near-identical entries (same content and nearly duplicated author fields) which reduces credibility; update the repeated objects (look for the testimonial objects with the author property and content string) to provide varied testimonial text for each card and ensure author identity is consistent where intended (either use the exact same author name/image/city for true duplicates or change name/image/city when representing different people), modifying the content, author.name, author.image, and author.city fields as appropriate so each testimonial card is clearly distinct.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/shared/constants/default-templates-copies.ts`:
- Around line 35-53: Corrija a localização no objeto de template: renomeie o
campo title de "Experiencia que cria valor para todos" para "Experiência que
cria valor para todos", traduza as descrições em cada item do array tabs (os
objetos com icon: 'people-group' e campos title/description) para PT-BR com
acentuação correta e substitua os textos Lorem Ipsum por frases em português
relevantes, e complete o bloco details (o elemento <details> associado a este
template) fornecendo resumo e conteúdo em PT-BR; revise também titles dos tabs
("Objetivos claros", "Transparência total", "Impacto real") para garantir
acentuação e consistência.
- Around line 63-65: Fix the typos and trailing space in the template strings:
change the title value from "Historias reais de quem ajuda e de quem é ajudado"
to use the accented character ("Histórias") and remove the extra trailing space
at the end of the description string; update the title and description fields in
the default templates object (look for the title and description keys near the
moreInfoAbout/default template entries) so the title reads "Histórias reais de
quem ajuda e de quem é ajudado" and the description has no trailing whitespace.
---
Nitpick comments:
In `@src/shared/constants/default-templates-copies.ts`:
- Around line 75-96: The testimonials array in default-templates-copies.ts
contains near-identical entries (same content and nearly duplicated author
fields) which reduces credibility; update the repeated objects (look for the
testimonial objects with the author property and content string) to provide
varied testimonial text for each card and ensure author identity is consistent
where intended (either use the exact same author name/image/city for true
duplicates or change name/image/city when representing different people),
modifying the content, author.name, author.image, and author.city fields as
appropriate so each testimonial card is clearly distinct.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 03b70451-49f1-4da4-a907-68a397dd85ae
📒 Files selected for processing (1)
src/shared/constants/default-templates-copies.ts
| title: 'Experiencia que cria valor para todos', | ||
| tabs: [ | ||
| { | ||
| icon: 'people-group', | ||
| title: 'Free transfers', | ||
| title: 'Objetivos claros', | ||
| description: | ||
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" | ||
| }, | ||
| { | ||
| icon: 'people-group', | ||
| title: 'Free transfers', | ||
| title: 'Transparência total', | ||
| description: | ||
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" | ||
| }, | ||
| { | ||
| icon: 'people-group', | ||
| title: 'Free transfers', | ||
| title: 'Impacto real', | ||
| description: | ||
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" |
There was a problem hiding this comment.
Complete a localização do bloco details e corrija acentuação em PT-BR.
Experiencia (Line 35) está sem acento, e as descrições dos tabs continuam em inglês com Lorem Ipsum (Line 41, Line 47, Line 53), gerando experiência mista de idioma.
✍️ Proposta de ajuste
- title: 'Experiencia que cria valor para todos',
+ title: 'Experiência que cria valor para todos',
@@
- description:
- "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy"
+ description:
+ 'Atuamos com metas claras, indicadores públicos e ações mensuráveis para gerar transformação social.'
@@
- description:
- "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy"
+ description:
+ 'Prestamos contas de cada iniciativa com dados objetivos e comunicação acessível para todos.'
@@
- description:
- "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy"
+ description:
+ 'Focamos em resultados concretos para famílias e comunidades atendidas, com acompanhamento contínuo.'📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| title: 'Experiencia que cria valor para todos', | |
| tabs: [ | |
| { | |
| icon: 'people-group', | |
| title: 'Free transfers', | |
| title: 'Objetivos claros', | |
| description: | |
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" | |
| }, | |
| { | |
| icon: 'people-group', | |
| title: 'Free transfers', | |
| title: 'Transparência total', | |
| description: | |
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" | |
| }, | |
| { | |
| icon: 'people-group', | |
| title: 'Free transfers', | |
| title: 'Impacto real', | |
| description: | |
| "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy" | |
| title: 'Experiência que cria valor para todos', | |
| tabs: [ | |
| { | |
| icon: 'people-group', | |
| title: 'Objetivos claros', | |
| description: | |
| 'Atuamos com metas claras, indicadores públicos e ações mensuráveis para gerar transformação social.' | |
| }, | |
| { | |
| icon: 'people-group', | |
| title: 'Transparência total', | |
| description: | |
| 'Prestamos contas de cada iniciativa com dados objetivos e comunicação acessível para todos.' | |
| }, | |
| { | |
| icon: 'people-group', | |
| title: 'Impacto real', | |
| description: | |
| 'Focamos em resultados concretos para famílias e comunidades atendidas, com acompanhamento contínuo.' | |
| } | |
| ] |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@src/shared/constants/default-templates-copies.ts` around lines 35 - 53,
Corrija a localização no objeto de template: renomeie o campo title de
"Experiencia que cria valor para todos" para "Experiência que cria valor para
todos", traduza as descrições em cada item do array tabs (os objetos com icon:
'people-group' e campos title/description) para PT-BR com acentuação correta e
substitua os textos Lorem Ipsum por frases em português relevantes, e complete o
bloco details (o elemento <details> associado a este template) fornecendo resumo
e conteúdo em PT-BR; revise também titles dos tabs ("Objetivos claros",
"Transparência total", "Impacto real") para garantir acentuação e consistência.
| title: 'Historias reais de quem ajuda e de quem é ajudado', | ||
| description: | ||
| 'Cadastre sua organização de forma simples e gratuita. Adicione informações sobre sua missão, história e projetos para que mais pessoas conheçam e confiem no seu trabalho social.', | ||
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias. ', |
There was a problem hiding this comment.
Corrigir ortografia e espaço extra em string de moreInfoAbout.
Historias (Line 63) deveria ser Histórias, e há espaço sobrando no final da descrição (Line 65).
✍️ Proposta de ajuste
- title: 'Historias reais de quem ajuda e de quem é ajudado',
+ title: 'Histórias reais de quem ajuda e de quem é ajudado',
@@
- 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias. ',
+ 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias.',📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| title: 'Historias reais de quem ajuda e de quem é ajudado', | |
| description: | |
| 'Cadastre sua organização de forma simples e gratuita. Adicione informações sobre sua missão, história e projetos para que mais pessoas conheçam e confiem no seu trabalho social.', | |
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias. ', | |
| title: 'Histórias reais de quem ajuda e de quem é ajudado', | |
| description: | |
| 'Cada história aqui é de uma pessoa real, com nome, cidade e uma história que nos move a continuar todos os dias.', |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@src/shared/constants/default-templates-copies.ts` around lines 63 - 65, Fix
the typos and trailing space in the template strings: change the title value
from "Historias reais de quem ajuda e de quem é ajudado" to use the accented
character ("Histórias") and remove the extra trailing space at the end of the
description string; update the title and description fields in the default
templates object (look for the title and description keys near the
moreInfoAbout/default template entries) so the title reads "Histórias reais de
quem ajuda e de quem é ajudado" and the description has no trailing whitespace.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary by CodeRabbit