-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[docs-id] Translate guides/features #631
Conversation
Kindly review my works @danilhendras @febrihidayan @jefrydco |
- true | ||
- false | ||
correctAnswer: false | ||
- question: Apa server pengembangan bawaan dari Nuxt.js? |
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.
server
-> _server_
, minta tolong dicek di tempat lain juga ya Mas
- 3000 | ||
- '0' | ||
correctAnswer: localhost | ||
- question: Atribut mana yang Anda gunakan pada tag style untuk menggunakan SCSS? |
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.
style
-> _style_
, minta tolong dicek di tempat lain juga ya Mas
|
||
<base-alert> | ||
|
||
Nuxt.js akan secara otomatis menebak berkas berdasarkan jenis ekstensi berkas dan menggunakan pemuat _pre-processor_ yang pantas untuk _webpack_. Anda masih harus memasang pemuat yang dibutuhkan jika Anda akan menggunakan mereka. |
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.
Mas @trastanechora kemaren webpack
ditulis bagaimana ya?
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.
Di dokumen kemarin webpack
tidak dicetak miring, mengacu pada penggunaan kata webpack
di situs dokumentasi Vue ini https://docs.vuejs.id/v2/guide/installation.html
|
||
Terima kasih kepada [Vue Loader](http://vue-loader.vuejs.org/en/configurations/pre-processors.html), Anda dapat menggunakan setiap jenis _pre-processor_ untuk `<template>` atau `<style>`: dengan menggunakan atribut `lang`. | ||
|
||
Contoh dari `pages/index.vue` kami menggunakan [Pug](https://github.com/pugjs/pug) and [Sass](http://sass-lang.com/): |
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
belum di terjemahkan
</style> | ||
``` | ||
|
||
Untuk menggunakan _pre-processors_ ini, kita perlu memasang beberapa _loader_ Webpack: |
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.
Mengacu pada bagian ini #621 (comment), _loader_
diterjemahkan menjadi pemuat
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 ini kemarin juga sempat diskusi dengan mas @danilhendras antara pakai loader atau pemuat
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.
Mungkin kalau dirasa kurang familiar bisa ditambah kata aslinya Mas setelah padanannya
|
||
## JSX | ||
|
||
Nuxt.js menggunakan [@nuxt/babel-preset-app](https://github.com/nuxt/nuxt.js/tree/dev/packages/babel-preset-app), yang mana berdasarkan ofisial [@vue/babel-preset-app](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/babel-preset-app) untuk konfigurasi asli _babel_, jadi Anda dapat menggunakan JSX pada komponen Anda. |
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.
ofisial
-> resmi
_babel_
, saya rasa tidak perlu diformat miring karena ia merupakan nama teknologi
|
||
### Properti ignorePrefix | ||
|
||
Setiap berkas pada `pages/`, `layout/`, `middleware/` atau `store/` akan diabaikan ketika _build_ jika nama berkasnya dimulai dengan _prefix_ yang telah dispesifikasikan di _ignorePrefix_. |
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.
_prefix_
sepertinya bisa dipadankan dengan awalan
|
||
</base-alert> | ||
|
||
Pengait `fetch` Nuxt.js dipanggil setelah instance komponen dibuat pada sisi peladen (_server_): `this` juga tersedia di dalamnya. |
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.
instance
-> _instance_
Di bagian ini server
di padankan dengan peladen
, saya tadi sempat lihat di atas ada yang masih menggunakan server
. Mungkin bisa disamakan.
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.
Maaf mas, barusan saya cek di KBBI ternyata ada kata server
. Apakah masih perlu dicetak miring dan/atau dipadankan dengan peladen
?
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.
Kalau menurut Mas @isatrio lebih baik menggunakan peladen
atau server
?
|
||
### Tembolok | ||
|
||
Anda dapat menggunakan _directive_ `keep-alive` di komponen `<nuxt/>` dan `<nuxt-child/>` untuk menyimpan pemanggilan `fetch` pada halaman yang Anda telah kunjungi: |
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.
_directive_
-> direktif
Referensi: https://github.com/vuejs-id/docs/blob/master/GLOSARIUM.md#d
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.
Saya sudah coba di lokal, kelihatannya aman-aman saja untuk saat ini
@@ -5,7 +5,7 @@ position: 4 | |||
category: fitur |
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.
Saya melihat dari beberapa bahasa mereka tidak menerjemahkan baris category ini
|
Mas @burhanahmeed sebelum di merge, minta tolong commit nya di reset dulu ya biar jadi 1 commit ajah |
Thanks for the amazing hard work guys 💪 |
* copy the english version * [docs-id] translate guides/features/configuration * fix: webpack text in Bahasa version
* copy the english version * [docs-id] translate guides/features/configuration * fix: webpack text in Bahasa version
Helping docs translation based on this issue #549
#549 (comment)
📝 guides -> features