Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate components #133

Merged
merged 1 commit into from Dec 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/CodeEditor/CodeEditor.js
Expand Up @@ -62,12 +62,12 @@ class CodeEditor extends Component {
if (showBabelErrorMessage) {
errorMessage = (
<span>
Babel could not be loaded.
Babel tidak dapat dimuat.
<br />
<br />
This can be caused by an ad blocker. If you're using one, consider
adding reactjs.org to the whitelist so the live code examples will
work.
Hal ini dapat disebabkan oleh <b>ad blocker</b>. Jika anda menggunakannya,
harap masukkan id.reactjs.org ke <i>whitelist</i> agar contoh-contoh
<i>live code</i> dapat bekerja.
</span>
);
} else if (error != null) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/CodeExample/CodeExample.js
Expand Up @@ -61,7 +61,7 @@ class CodeExample extends Component {
{loaded ? (
<CodeEditor code={code} containerNodeID={containerNodeID} />
) : (
<h4>Loading code example...</h4>
<h4>Memuat contoh kode...</h4>
)}
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/ErrorDecoder/ErrorDecoder.js
Expand Up @@ -69,8 +69,8 @@ function ErrorResult(props: {|code: ?string, msg: string|}) {
if (!code) {
return (
<p>
When you encounter an error, you'll receive a link to this page for that
specific error and we'll show you the full error text.
Ketika anda menemukan <i>error</i>, anda akan mendapatkan sebuah tautan
ke laman ini untuk <i>error</i> tersebut dan kami akan menampilkan teks <i>error</i> secara penuh kepada anda.
</p>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/LayoutFooter/Footer.js
Expand Up @@ -87,7 +87,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
<MetaTitle onDark={true}>{navFooter.community.title}</MetaTitle>
<ExternalFooterLink
href={`https://github.com/facebook/react/blob/master/CODE_OF_CONDUCT.md`}>
Code of Conduct
Kode Etik
</ExternalFooterLink>
{sectionListCommunity.map(section => (
<FooterLink
Expand Down
2 changes: 1 addition & 1 deletion src/components/LayoutHeader/DocSearch.js
Expand Up @@ -27,7 +27,7 @@ class DocSearch extends Component<{}, State> {
inputSelector: '#algolia-doc-search',
});
} else {
console.warn('Search has failed to load and now is being disabled');
console.warn('Pencarian gagal untuk memuat dan sekarang telah di non aktifkan');
this.setState({enabled: false});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/MarkdownPage/MarkdownPage.js
Expand Up @@ -115,7 +115,7 @@ const MarkdownPage = ({
href={`https://github.com/reactjs/reactjs.org/tree/master/${
markdownRemark.fields.path
}`}>
Edit this page
Ubah laman ini
</a>
</div>
)}
Expand Down