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 Warnings/legacy-factories #108

Merged
merged 2 commits into from
Nov 20, 2019

Conversation

andriawan
Copy link
Contributor

Dear Maintainer, Please give me some feedback for this translation.

@netlify
Copy link

netlify bot commented Oct 4, 2019

Deploy preview for idreactjs ready!

Built with commit f4d89a7

https://deploy-preview-108--idreactjs.netlify.com

@netlify
Copy link

netlify bot commented Oct 4, 2019

Deploy preview for id-reactjs ready!

Built with commit f4d89a7

https://deploy-preview-108--id-reactjs.netlify.com


If you get a component class from a dynamic source, then it might be unnecessary to create a factory that you immediately invoke. Instead you can just create your element inline:
Jika anda mendapatkan komponen kelas dari sumber dinamis, tidaklah begitu perlu membuat _factory_ yang dipanggil secara langsung. Sebagai gantinya, Anda dapat saja membuat elemen pada baris yang sama:
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 anda mendapatkan komponen kelas dari sumber dinamis, tidaklah begitu perlu membuat _factory_ yang dipanggil secara langsung. Sebagai gantinya, Anda dapat saja membuat elemen pada baris yang sama:
Jika Anda mendapatkan komponen kelas dari sumber yang dinamis, maka mungkin tidak perlu membuat _factory_ yang dipanggil secara langsung. Sebagai gantinya, Anda dapat saja membuat elemen _inline_:

*inline bisa saja tidak bermakna berada pada baris yang sama. Contohnya CSS inline. CMIIW

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dalam bahasa, yang saya pelajari, dua padanan kata seperti CSS inline dapat memiliki arti utuh dan dapat pula diartikan secara literal. Terima kasih atas masukannya.

layout: single
permalink: warnings/legacy-factories.html
---

You probably came here because your code is calling your component as a plain function call. This is now deprecated:
Anda kemungkinan berada di sini karena kode anda memanggil komponen sebagai _function call_ biasa. Hal ini sekarang sudah usang:
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
Anda kemungkinan berada di sini karena kode anda memanggil komponen sebagai _function call_ biasa. Hal ini sekarang sudah usang:
Anda kemungkinan berada di sini karena kode Anda memanggil komponen sebagai _function call_ biasa. Hal ini sekarang sudah usang:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

terima kasih atas koreksinya. akan saya perbaiki

Copy link
Member

@resir014 resir014 left a comment

Choose a reason for hiding this comment

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

Looks good. With this merged, the Warnings section is now completely translated! 🎉 Thanks again @andriawan

@resir014 resir014 merged commit 526da22 into reactjs:master Nov 20, 2019
@andriawan andriawan deleted the legacy-factories branch February 10, 2020 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants