-
Notifications
You must be signed in to change notification settings - Fork 21
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 part-two #25
Conversation
docs/tutorial/part-two/index.md
Outdated
@@ -14,32 +14,32 @@ disableTableOfContents: true | |||
|
|||
--> | |||
|
|||
Welcome to part two of the Gatsby tutorial! | |||
Selamat datang di bagian dua dari tutorial Gatsby! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bagian kedua, i think its better use that word
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree
docs/tutorial/part-two/index.md
Outdated
|
||
In this part, you're going to explore options for styling Gatsby websites and dive deeper into using React components for building sites. | ||
Pada bagian ini, Anda akan menjelajahi pilihan untuk _styling_ situs web Gatsby dan menyelam lebih dalam tentang penggunaan komponen React untuk membangun situs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
menyelam lebih dalam, i think we can use another text like “menyelami” or “mempelajari lebih dalam”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it sounds better for "mempelajari lebih dalam"
|
||
In this part, you're going to explore options for styling Gatsby websites and dive deeper into using React components for building sites. | ||
Pada bagian ini, Anda akan menjelajahi pilihan untuk _styling_ situs web Gatsby dan menyelam lebih dalam tentang penggunaan komponen React untuk membangun situs. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use italic in english language context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean web ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, i mean line 23
docs/tutorial/part-two/index.md
Outdated
@@ -103,67 +103,67 @@ Your project's file structure should now look like this: | |||
├── gatsby-browser.js | |||
``` | |||
|
|||
> 💡 What is `gatsby-browser.js`? Don't worry about this too much and for now, just know that `gatsby-browser.js` is one of a handful of special files that Gatsby looks for and uses (if they exist). Here, the naming of the file **is** important. If you do want to explore more now, check out [the docs](/docs/browser-apis/). | |||
> 💡 Apa itu `gatsby-browser.js`? Jangan terlalu khawatir tentang ini untuk sekarang, pahami saja bahwa `gatsby-browser.js` merupakan salah satu dari beberapa berkas khusus yang Gatsby cari dan gunakan (jika ada). Disini, penamaan berkas **merupakan** sesuatu yang penting. Jika Anda ingin mendalami lebih jauh sekarang, Periksa [dokumentasi](/docs/browser-apis/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use lower case for last word “Periksa”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it
docs/tutorial/part-two/index.md
Outdated
|
||
```javascript:title=gatsby-browser.js | ||
import "./src/styles/global.css" | ||
import './src/styles/global.css'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For code, please dont change it. Revert it to code from Gatsby please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry...this is caused by my vscode internal linter
docs/tutorial/part-two/index.md
Outdated
|
||
Gatsby works out of the box with CSS Modules. This approach is highly recommended for those new to building with Gatsby (and React in general). | ||
Gatsby berfungsi _out of the box_ dengan CSS Modules. Pendekatan ini sangat direkomendasikan untuk mereka yang awam dalam pengembangan menggunakan Gatsby (dan React pada umumnya). | ||
|
||
#### ✋ Build a new page using CSS Modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please translate this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we translate CSS modules? is it a name or a general meaning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have no idea the meaning of out of the box perceptively
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry my mistake, i mean line 147
docs/tutorial/part-two/index.md
Outdated
|
||
```javascript:title=src/components/container.js | ||
import React from "react" | ||
import containerStyles from "./container.module.css" | ||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave the code, dont change any of it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry this is my linter again
docs/tutorial/part-two/index.md
Outdated
import React from "react" | ||
import containerStyles from "./container.module.css" | ||
import React from 'react'; | ||
import containerStyles from './container.module.css'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave it
docs/tutorial/part-two/index.md
Outdated
|
||
export default ({ children }) => ( | ||
<div className={containerStyles.container}>{children}</div> | ||
) | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please leave it
docs/tutorial/part-two/index.md
Outdated
``` | ||
|
||
You'll notice you imported a css module file named `container.module.css`. Let's create that file now. | ||
Anda akan melihat Anda mengimpor file modul css bernama `container.module.css`. Mari kita buat file itu sekarang. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please choose between “berkas” and “file”. You use both of those word, its better to choose 1 of then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, my inconsistency...I'll fix it
docs/tutorial/part-two/index.md
Outdated
`src/pages/about-css-modules.js`: | ||
|
||
```javascript:title=src/pages/about-css-modules.js | ||
import React from "react" | ||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave the code
docs/tutorial/part-two/index.md
Outdated
|
||
```javascript:title=src/pages/about-css-modules.js | ||
import React from "react" | ||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave the code
docs/tutorial/part-two/index.md
Outdated
import React from "react" | ||
import styles from "./about-css-modules.module.css" | ||
import Container from "../components/container" | ||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave the code
docs/tutorial/part-two/index.md
Outdated
|
||
- [Typography.js](/packages/gatsby-plugin-typography/) | ||
- [Sass](/packages/gatsby-plugin-sass/) | ||
- [JSS](/packages/gatsby-plugin-jss/) | ||
- [Stylus](/packages/gatsby-plugin-stylus/) | ||
- [PostCSS](/packages/gatsby-plugin-postcss/) | ||
|
||
and more! | ||
and banyak lagi! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And banyak lagi should be “dan banyak lagi”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job bro!
Please help us to finish some comment above. Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @andriawan .
Please dont forget to claim your reward.
Holy buckets, @andriawan — we just merged your PR to Gatsby! 💪💜 Gatsby is built by awesome people like you. Let us say “thanks” in two ways:
If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’. Thanks again! |
Okey, thank you @coroo and the others maintainers for letting me contribute to this project. |
Dear maintainers @cendekia, @coroo, @dennyfauzan. I have finished translating part two. Please review it and give me some feedback. Thanks