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-id] file allowUmdGlobalAccess.md until composite.md into indonesian #1042

Merged
merged 2 commits into from
Sep 12, 2020

Conversation

zaiinhs
Copy link
Contributor

@zaiinhs zaiinhs commented Sep 4, 2020

Overview

This is part of #938

Changes

Translate for files:

  • allowUmdGlobalAccess.md
  • allowUnreachableCode.md
  • allowUnusedLabels.md
  • alwaysStrict.md
  • assumeChangesOnlyAffectDirectDependencies.md
  • baseUrl.md
  • charset.md
  • checkJs.md
  • composite.md

oneline: "Asumsikan impor UMD tersedia secara global"
---

Jika disetel ke true, `allowUmdGlobalAccess` memungkinkan Anda mengakses ekspor UMD sebagai global dari dalam berkas modul. Berkas modul adalah berkas yang telah diimpor dan / atau diekspor. Tanpa tanda ini, menggunakan ekspor dari modul UMD memerlukan deklarasi impor.
Copy link
Contributor

@jefrydco jefrydco Sep 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dan / atau -> dan/atau

tanda -> opsi, minta tolong di cek di tempat lain ya Mas

@@ -0,0 +1,40 @@
---
display: "Izinkan Kode Tak Terjangkau"
oneline: "Kesalahan ketika kode tidak akan pernah dipanggil"
Copy link
Contributor

@jefrydco jefrydco Sep 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kesalahan -> galat, minta tolong di cek di tempat lain juga ya


Kapan:

- `undefined` (default) memberikan saran sebagai peringatan kepada editor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default -> _default_

Comment on lines 13 to 18
function verifyAge(age: number) {
// Forgot 'return' statement
if (age > 18) {
verified: true;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contoh kode juga bisa diterjemahkan, menjadi seperti ini misal

function verifikasiUmur(umur: number) {
  // Lupa menulis pernyataan 'return'
  if (umur > 18) {
    terferifikasi: true;
  }
}

@@ -0,0 +1,8 @@
---
display: "Always Strict"
oneline: "Ensure 'use strict' is always emitted"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ini sepertinya belum diterjemahkan

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always Strict itu apa artinya mas ?
dan use strict apakah di terjemahin juga ?


Pastikan bahwa berkas Anda diurai di ECMAScript mode strict, dan mengeluarkan "use strict" untuk setiap berkas asal.

[ECMAScript strict](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Strict_mode) mode strict diperkenalkan di ES5 dan memberikan perubahan perilaku pada waktu proses mesin JavaScript untuk meningkatkan kinerja dan membuat kesalahan throw instead of silently ignoring them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ECMAScript strict mode strict -> Mode strict EcmaScript


Pastikan bahwa berkas Anda diurai di ECMAScript mode strict, dan mengeluarkan "use strict" untuk setiap berkas asal.

[ECMAScript strict](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Strict_mode) mode strict diperkenalkan di ES5 dan memberikan perubahan perilaku pada waktu proses mesin JavaScript untuk meningkatkan kinerja dan membuat kesalahan throw instead of silently ignoring them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Itu juga ada yg belum diterjemahin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nah aku kesulitan disitu mas, takut salah makna.. jadi ga aku terjemahin. mungkin bisa bantu mas ?

oneline: "Opsi mode yang lebih cepat secara drastis, tetapi terkadang tidak akurat."
---

Ketika opsi ini diaktifkan, TypeScript akan menghindari pemeriksaan ulang / membangun kembali semua berkas yang benar-benar mungkin terpengaruh dan hanya memeriksa ulang / membangun kembali berkas yang telah berubah serta berkas yang langsung mengimpornya.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pemeriksaan ulang / membangun kembali tidak usah diberi spasi, minta tolong di cek juga di tempat lain


Ketika opsi ini diaktifkan, TypeScript akan menghindari pemeriksaan ulang / membangun kembali semua berkas yang benar-benar mungkin terpengaruh dan hanya memeriksa ulang / membangun kembali berkas yang telah berubah serta berkas yang langsung mengimpornya.

Ini dapat dianggap sebagai implementasi 'fast & loose' dari algoritma pengawas, yang mana bisa secara drastis dapat mengurangi waktu rebuild dengan sesekali harus menjalankan build lengkap untuk mendapatkan semua pesan penyusun kesalahan.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebuild -> _rebuild_, kalau belum ada kata padanan yang sesuai minta tolong di format miring

console.log(helloWorld);
```

Jika bosan impor selalu terlihat seperti `"../"` atau `"./"`. Atau harus untuk merubah saat Anda memindahkan berkas, ini adalah cara terbaik untuk memperbaikinya.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you get tired of imports always looking like -> Jika Anda lelah cara impor selalu seperti

oneline: "Digunakan untuk membuat banyak proyek pembangunan"
---

Opsi `composite` memberlakukan batasan tertentu yang menjadikan mungkin untuk membangun (termasuk TypeScript
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

menjadikan mungkin -> memungkinkan


- Semua berkas implementasi harus cocok dengan sebuah `include` contoh atau terdaftar dalam aturan `files`. Jika batasan ini dilanggar, `tsc` akan memberi tahu Anda berkas mana yang tidak ditentukan.

- `declaration` defaults to `true`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ini belum di terjemahkan

oneline: "Asumsikan impor UMD tersedia secara global"
---

Jika disetel ke true, `allowUmdGlobalAccess` memungkinkan Anda mengakses ekspor UMD sebagai global dari dalam berkas modul. Berkas modul adalah berkas yang telah diimpor dan / atau diekspor. Tanpa tanda ini, menggunakan ekspor dari modul UMD memerlukan deklarasi impor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Jika disetel ke true, `allowUmdGlobalAccess` memungkinkan Anda mengakses ekspor UMD sebagai global dari dalam berkas modul. Berkas modul adalah berkas yang telah diimpor dan / atau diekspor. Tanpa tanda ini, menggunakan ekspor dari modul UMD memerlukan deklarasi impor.
Jika disetel ke _true_, `allowUmdGlobalAccess` memungkinkan Anda mengakses ekspor UMD sebagai global dari dalam berkas modul. Berkas modul adalah berkas yang telah diimpor dan / atau diekspor. Tanpa tanda ini, menggunakan ekspor dari modul UMD memerlukan deklarasi impor.

oneline: "Kesalahan saat tidak sengaja membuat label"
---

Setel ke false untuk menonaktifkan peringatan tentang label yang tidak digunakan.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Setel ke false untuk menonaktifkan peringatan tentang label yang tidak digunakan.
Setel ke _false_ untuk menonaktifkan peringatan tentang label yang tidak digunakan.

Copy link
Contributor

@mandaputtra mandaputtra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, tinggal beberapa perlu diganti. Tolong untuk judul PR seperti format ya. [translate-id] yang mau di translate

@zaiinhs zaiinhs changed the title Translate allowUmdGlobalAccess.md until composite.md into indonesian [Translate-id] file allowUmdGlobalAccess.md until composite.md into indonesian Sep 9, 2020
@zaiinhs zaiinhs changed the title [Translate-id] file allowUmdGlobalAccess.md until composite.md into indonesian [translate-id] file allowUmdGlobalAccess.md until composite.md into indonesian Sep 9, 2020
@jefrydco
Copy link
Contributor

LGTM

@github-actions github-actions bot merged commit 6373bae into microsoft:v2 Sep 12, 2020
@github-actions
Copy link
Contributor

Merging because @jefrydco is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants