Skip to content

Commit

Permalink
Translate some texts in several pages (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianomlima authored and eduardomoroni committed Mar 7, 2019
1 parent 0bd5799 commit 7dde090
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 53 deletions.
2 changes: 1 addition & 1 deletion src/components/MarkdownPage/MarkdownPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const MarkdownPage = ({
href={`https://github.com/reactjs/pt-br.reactjs.org/tree/master/${
markdownRemark.fields.path
}`}>
Edit this page
Edite esta página
</a>
</div>
)}
Expand Down
8 changes: 4 additions & 4 deletions src/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ const PageNotFound = ({location}: Props) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>Page Not Found</Header>
<Header>Página Não Encontrada</Header>
<TitleAndMetaTags title="React - Page Not Found" />
<div css={sharedStyles.markdown}>
<p>We couldn't find what you were looking for.</p>
<p>Nós não pudemos encontrar o que você está buscando.</p>
<p>
Please contact the owner of the site that linked you to the
original URL and let them know their link is broken.
Por favor, contate o dono do site que o redirecionou para a URL
original e avise-o sobre o link quebrado.
</p>
</div>
</div>
Expand Down
42 changes: 21 additions & 21 deletions src/pages/acknowledgements.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ const Acknowlegements = ({data, location}) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>Acknowledgements</Header>
<Header>Agradecimentos</Header>
<TitleAndMetaTags
ogUrl={`${urlRoot}/acknowledgements.html`}
title="React - Acknowledgements"
title="React - Agradecimentos"
/>

<div css={sharedStyles.markdown}>
<p>We'd like to thank all of our contributors:</p>
<p>Nós gostaríamos de agradecer a todos os nossos contribuintes:</p>

<ul
css={{
Expand All @@ -44,38 +44,38 @@ const Acknowlegements = ({data, location}) => (
))}
</ul>

<p>In addition, we're grateful to</p>
<p>Além disso, somos gratos a</p>
<ul>
<li>
<a href="https://github.com/jeffbski">Jeff Barczewski</a> for
allowing us to use the{' '}
<a href="https://www.npmjs.com/package/react">react</a> package
name on npm.
<a href="https://github.com/jeffbski">Jeff Barczewski</a> por
nos permitir usar o nome{' '}
<a href="https://www.npmjs.com/package/react">react</a>
no npm.
</li>
<li>
<a href="https://christopheraue.net/">Christopher Aue</a> for
letting us use the{' '}
<a href="https://reactjs.com/">reactjs.com</a> domain name and
the <a href="https://twitter.com/reactjs">@reactjs</a> username
on Twitter.
<a href="https://christopheraue.net/">Christopher Aue</a> por
nos permitir usar o domínio{' '}
<a href="https://reactjs.com/">reactjs.com</a> e a conta
<a href="https://twitter.com/reactjs">@reactjs</a>
no Twitter.
</li>
<li>
<a href="https://github.com/ProjectMoon">ProjectMoon</a> for
letting us use the{' '}
<a href="https://www.npmjs.com/package/flux">flux</a> package
name on npm.
<a href="https://github.com/ProjectMoon">ProjectMoon</a> por nos
permitir usar o nome{' '}
<a href="https://www.npmjs.com/package/flux">flux</a>
no npm.
</li>
<li>
Shane Anderson for allowing us to use the{' '}
<a href="https://github.com/react">react</a> org on GitHub.
Shane Anderson por nos permitir usar a organização{' '}
<a href="https://github.com/react">react</a> no GitHub.
</li>
<li>
<a href="https://github.com/voronianski">Dmitri Voronianski</a>{' '}
for letting us use the{' '}
por nos permitir usar o esquema de cores{' '}
<a href="https://labs.voronianski.com/oceanic-next-color-scheme/">
Oceanic Next
</a>{' '}
color scheme on this website.
neste website.
</li>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/blog/all.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ const AllBlogPosts = ({data, location}: Props) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>All Posts</Header>
<Header>Todas as Publicações</Header>
<TitleAndMetaTags
ogUrl={`${urlRoot}/blog/all.html`}
title="React - All Posts"
title="React - Todas as Publicações"
/>
<ul
css={{
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Home extends Component {
});
},
error => {
console.error('Babel failed to load.');
console.error('Falha ao carregar o Babel.');
},
);
}
Expand Down
8 changes: 4 additions & 4 deletions src/pages/jsx-compiler.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const JsxCompiler = ({location}: Props) => (
<div css={sharedStyles.markdown}>
<p>
<strong>
This tool has been removed as JSXTransformer has been
deprecated.
Esta ferramenta foi removida pois o JSXTransformer foi
depreciado.
</strong>
</p>
<p>
We recommend using another tool such as{' '}
<a href="https://babeljs.io/repl/">the Babel REPL</a>.
Nós recomendamos usar outra ferramenta como o{' '}
<a href="https://babeljs.io/repl/">Babel REPL</a>.
</p>
</div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/pages/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,29 @@ const Languages = ({location}: Props) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>Languages</Header>
<TitleAndMetaTags title="React - Languages" />
<Header>Idiomas</Header>
<TitleAndMetaTags title="React - Idiomas" />

<div css={sharedStyles.markdown}>
<p>
The React documentation is available in the following languages:
A documentação do React está disponível nos seguintes idiomas:
</p>

<LanguagesGrid languages={complete} />

<h2>In Progress</h2>
<h2>Em processo de tradução</h2>
<LanguagesGrid languages={partial} />

<h2>Needs Contributors</h2>
<h2>Precisando de contribuintes</h2>
<LanguagesGrid languages={incomplete} />

<p>
Don't see your language above?{' '}
Não está vendo o seu idioma acima?{' '}
<a
href="https://github.com/reactjs/reactjs.org-translation#reactjsorg-translation"
target="_blank"
rel="noopener">
Let us know
Nos avise
</a>
.
</p>
Expand Down Expand Up @@ -149,7 +149,7 @@ const Language = ({code, name, status, translatedName}) => {
href={`https://github.com/reactjs/${prefix}reactjs.org/`}
target="_blank"
rel="noopener">
Contribute
Contribua
</a>
</div>
</li>
Expand Down
17 changes: 8 additions & 9 deletions src/pages/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ const Versions = ({location}: Props) => (
<Container>
<div css={sharedStyles.articleLayout.container}>
<div css={sharedStyles.articleLayout.content}>
<Header>React Versions</Header>
<TitleAndMetaTags title="React - Versions" />
<Header>Versões do React</Header>
<TitleAndMetaTags title="React - Versões" />
<div css={sharedStyles.markdown}>
<p>
A complete release history for React is available{' '}
O histórico completo de lançamentos do React está disponível{' '}
<a
href="https://github.com/facebook/react/releases"
target="_blank"
rel="noopener">
on GitHub
no GitHub
</a>
.<br />
Documentation for recent releases can also be found below.
.<br />A documentação mais recente pode ser encontrada abaixo.
</p>
<p>
See our FAQ for information about{' '}
Veja nosso FAQ para se informar sobre{' '}
<a href="/docs/faq-versioning.html">
our versioning policy and commitment to stability
nossa política de versionamento e compromisso com estabilidade
</a>
.
</p>
Expand All @@ -57,7 +56,7 @@ const Versions = ({location}: Props) => (
{version.path && (
<li>
<a href={version.path} rel="nofollow">
Documentation
Documentação
</a>
</li>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const toSectionList = allMarkdownRemark => [
}))
.concat({
id: '/blog/all.html',
title: 'All posts ...',
title: 'Todas as publicações ...',
}),
},
];
Expand Down
4 changes: 2 additions & 2 deletions src/templates/codepen-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ class CodepenExample extends Component {
<input type="hidden" name="data" value={payload} />

<p>
Not automatically redirecting?
Não foi redirecionado automaticamente?
<br />
<br />
<input style={primaryStyle} type="submit" value="Click here" />
<input style={primaryStyle} type="submit" value="Clique aqui" />
</p>
</form>
</Container>
Expand Down

0 comments on commit 7dde090

Please sign in to comment.