Skip to content

Commit 09d80ac

Browse files
authored
docs(pt-br): translate header and footer components (#706)
* docs(pt-br): translate footer links * docs(pt-br): translate header links * docs(pt-br): translate missing Community text on footer
1 parent 3b9d532 commit 09d80ac

File tree

2 files changed

+27
-23
lines changed

2 files changed

+27
-23
lines changed

src/components/Layout/Footer.tsx

+24-20
Original file line numberDiff line numberDiff line change
@@ -286,66 +286,70 @@ export function Footer() {
286286
</div>
287287
<div className="flex flex-col">
288288
<FooterLink href="/learn" isHeader={true}>
289-
Learn React
289+
Aprenda React
290290
</FooterLink>
291-
<FooterLink href="/learn/">Quick Start</FooterLink>
292-
<FooterLink href="/learn/installation">Installation</FooterLink>
291+
<FooterLink href="/learn/">Início Rápido</FooterLink>
292+
<FooterLink href="/learn/installation">Instalação</FooterLink>
293293
<FooterLink href="/learn/describing-the-ui">
294-
Describing the UI
294+
Descrevendo a UI
295295
</FooterLink>
296296
<FooterLink href="/learn/adding-interactivity">
297-
Adding Interactivity
297+
Adicionando Interatividade
298+
</FooterLink>
299+
<FooterLink href="/learn/managing-state">
300+
Gerenciamento de estado
301+
</FooterLink>
302+
<FooterLink href="/learn/escape-hatches">
303+
Saídas de Emergência
298304
</FooterLink>
299-
<FooterLink href="/learn/managing-state">Managing State</FooterLink>
300-
<FooterLink href="/learn/escape-hatches">Escape Hatches</FooterLink>
301305
</div>
302306
<div className="flex flex-col">
303307
<FooterLink href="/reference/react" isHeader={true}>
304308
API Reference
305309
</FooterLink>
306-
<FooterLink href="/reference/react">React APIs</FooterLink>
307-
<FooterLink href="/reference/react-dom">React DOM APIs</FooterLink>
310+
<FooterLink href="/reference/react">APIs do React</FooterLink>
311+
<FooterLink href="/reference/react-dom">APIs do React DOM</FooterLink>
308312
</div>
309313
<div className="md:col-start-2 xl:col-start-4 flex flex-col">
310314
<FooterLink href="/community" isHeader={true}>
311-
Community
315+
Comunidade
312316
</FooterLink>
313317
<FooterLink href="https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md">
314-
Code of Conduct
318+
Código de Conduta
315319
</FooterLink>
316-
<FooterLink href="/community/team">Meet the Team</FooterLink>
320+
<FooterLink href="/community/team">Conheça o Time</FooterLink>
317321
<FooterLink href="/community/docs-contributors">
318-
Docs Contributors
322+
Contribuidores da Documentação
319323
</FooterLink>
320324
<FooterLink href="/community/acknowledgements">
321-
Acknowledgements
325+
Agradecimentos
322326
</FooterLink>
323327
</div>
324328
<div className="flex flex-col">
325-
<FooterLink isHeader={true}>More</FooterLink>
329+
<FooterLink isHeader={true}>Mais</FooterLink>
326330
<FooterLink href="/blog">Blog</FooterLink>
327331
<FooterLink href="https://reactnative.dev/">React Native</FooterLink>
328332
<FooterLink href="https://opensource.facebook.com/legal/privacy">
329-
Privacy
333+
Privacidade
330334
</FooterLink>
331335
<FooterLink href="https://opensource.fb.com/legal/terms/">
332-
Terms
336+
Termos
333337
</FooterLink>
334338
<div className="flex flex-row mt-8 gap-x-2">
335339
<ExternalLink
336-
aria-label="React on Facebook"
340+
aria-label="React no Facebook"
337341
href="https://www.facebook.com/react"
338342
className={socialLinkClasses}>
339343
<IconFacebookCircle />
340344
</ExternalLink>
341345
<ExternalLink
342-
aria-label="React on Twitter"
346+
aria-label="React no Twitter"
343347
href="https://twitter.com/reactjs"
344348
className={socialLinkClasses}>
345349
<IconTwitter />
346350
</ExternalLink>
347351
<ExternalLink
348-
aria-label="React on Github"
352+
aria-label="React no Github"
349353
href="https://github.com/facebook/react"
350354
className={socialLinkClasses}>
351355
<IconGitHub />

src/components/Layout/TopNav/TopNav.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,15 @@ export default function TopNav({
281281
<div className="text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end">
282282
<div className="mx-2.5 gap-1.5 hidden lg:flex">
283283
<NavItem isActive={section === 'learn'} url="/learn">
284-
Learn
284+
Aprenda
285285
</NavItem>
286286
<NavItem
287287
isActive={section === 'reference'}
288288
url="/reference/react">
289-
Reference
289+
Referência
290290
</NavItem>
291291
<NavItem isActive={section === 'community'} url="/community">
292-
Community
292+
Comunidade
293293
</NavItem>
294294
<NavItem isActive={section === 'blog'} url="/blog">
295295
Blog

0 commit comments

Comments
 (0)