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

SyntheticEvent Translated into Persian #63

Closed
wants to merge 8 commits into from

Conversation

seven-deuce
Copy link
Collaborator

No description provided.

seven-deuce and others added 6 commits April 18, 2019 12:22
تمام نیم فاصله هایی که یافتم رو اصلاح کردم.
به جای واژه ی مادر از والد استفاده شد
@netlify
Copy link

netlify bot commented May 10, 2019

Deploy preview for fa-reactjs ready!

Built with commit a7aec5a

https://deploy-preview-63--fa-reactjs.netlify.com

@sorousht sorousht self-assigned this May 11, 2019
Copy link
Collaborator

@sorousht sorousht left a comment

Choose a reason for hiding this comment

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

@seven-deuce عزیز، ترجمه خوب و پر چالشی بود. مواردی رو نوشتم ولی فکر می کنم که خیلی نیاز به بحث داشته باشیم :)

content/docs/reference-events.md Outdated Show resolved Hide resolved

If you find that you need the underlying browser event for some reason, simply use the `nativeEvent` attribute to get it. Every `SyntheticEvent` object has the following attributes:
اگر فکر می‌کنید که در جایی باید رویداد ذاتی خود مرورگر را استفاده کنید، کافی است که `nativeEvent` را به عنوان یک attribute اضافه کنید تا به آن دسترسی یابید. هر آبجکت `SyntheticEvent`، attribute های زیر دارد:
Copy link
Collaborator

Choose a reason for hiding this comment

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

اگر فکر می‌کنید که در جایی باید رویداد ذاتی خود مرورگر را استفاده کنید، کافی است که از خصوصیت nativeEvent استفاده کنید. هر شی SyntheticEvent دارای خصوصیات زیر است:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

فکر می کنی کلمه ی "خصوصیت" برای این اصطلاح واقعا شناخته شده است؟
به نظر من اگر بخواهیم این واژه رو معادل اتربیوت قرار بدیم، دیگه مطلقا در هیچ جای دیگه نباید در معنایی به جز اتربیوت استفاده اش کنی. مثلا دیگه نمی تونیم بگیم "یکی از خصوصیات ری اکت فلان و فلان است".
همین مسئله در مورد اصطلاحی مثل استیت و پراپس هم هست. اگر ما استیت رو مثلا "وضعیت" ترجمه کردیم، دیگه نمی تونیم "وضعیت" رو در فحوا های دیگه استفاده کنیم. و گرنه ترجمه امون کژتابی برای خواننده خواهد داشت.
من پیشنهادم اینه که اتربیوت رو همینطور حفظ کنیم و روزه ی شک دار نگیریم.

content/docs/reference-events.md Outdated Show resolved Hide resolved
content/docs/reference-events.md Outdated Show resolved Hide resolved
> If you want to access the event properties in an asynchronous way, you should call `event.persist()` on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.

## Supported Events {#supported-events}
> اگر می‌خواهید که به دارایی‌های رویداد، به طور غیرهمزمان دسترسی داشته باشید باید `event.persist()` را در رویداد فراخوانی کنید. این موجب خواهد شد که رویداد سینتاتیک از روند برهم گذاری خارج شود و ارجاعات داده شده به آن رویداد در کد کاربر حفظ شود.
Copy link
Collaborator

Choose a reason for hiding this comment

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

... این موجب خواهد شد که رویداد ساخته‌شده از ...

شاید معادل خوبی باشه برای synthetic؟

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

شاید تنها جایی که کلمه ی سیناتیک وارد فارسی شده و متداول استفاده میشه، نساجی هست. شنیدم که این لغت رو در مورد پارچه استفاده می کنند. اما نمی دونم معناش رو هم عموم می فهمند که چیه یا نه.
شاید بهتر باشه هر دو مورد رو استفاده کنیم:
رویداد ساخته شده (سینتاتیک)...

content/docs/reference-events.md Outdated Show resolved Hide resolved
content/docs/reference-events.md Outdated Show resolved Hide resolved
@@ -89,17 +84,17 @@ The event handlers below are triggered by an event in the bubbling phase. To reg

* * *

## Reference {#reference}
## مرجع {#reference}

### Clipboard Events {#clipboard-events}
Copy link
Collaborator

Choose a reason for hiding this comment

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

چرا هیچ کدوم از عنوان ها از این به بعد ترجمه نشده؟ دلیلی داشته؟

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

فکر کردم ترجمه کمکی نمی کنه که هیچ، بدتر هم می کنه
مثلا ترجمه کنم: رویدادهای صفحه کلیدی؟؟!

content/docs/reference-events.md Outdated Show resolved Hide resolved
@seven-deuce
Copy link
Collaborator Author

@sorousht
موقع ترجمه ی این صفحه به این فکر می کردم که اگر کلا ترجمه اش نکنیم خیلی سنگین تریم!

@seven-deuce
Copy link
Collaborator Author

بقیه موارد رو اصلاح کردم و فایل اصلاح شده رو در شاخه ی خودم آپدیت کردم.
اما نمی دونم در اینجا هم آپدیت میشه یا نه؟ باید دوباره پول ریکوست هم بدم؟

@sorousht
Copy link
Collaborator

sorousht commented May 15, 2019

بقیه موارد رو اصلاح کردم و فایل اصلاح شده رو در شاخه ی خودم آپدیت کردم.
اما نمی دونم در اینجا هم آپدیت میشه یا نه؟ باید دوباره پول ریکوست هم بدم؟

فقط کافی هست بعد از کامیت، پوش بشه به شاخه و ریموت خودت، همین. در حال حاضر هنوز چیزی ارسال نشده.

@sorousht
Copy link
Collaborator

@sorousht
موقع ترجمه ی این صفحه به این فکر می کردم که اگر کلا ترجمه اش نکنیم خیلی سنگین تریم!

شما یکی از صغحه‌های سخت رو ترجمه کردید و این صفحه پر از اصطلاحات تخصصی دشوار هست. به هر حال هنر ماست که تا جای ممکن ترجمه خوبی انجام بدهیم. برای مثال:

Clipboard Events --> رویداد‌های Clipboard

در همین حد کفایت می‌کنه :)

@seven-deuce
Copy link
Collaborator Author

بقیه موارد رو اصلاح کردم و فایل اصلاح شده رو در شاخه ی خودم آپدیت کردم.
اما نمی دونم در اینجا هم آپدیت میشه یا نه؟ باید دوباره پول ریکوست هم بدم؟

فقط کافی هست بعد از کامیت، پوش بشه به شاخه و ریموت خودت، همین. در حال حاضر هنوز چیزی ارسال نشده.

دوباره این کار رو کردم
شد؟

@sorousht
Copy link
Collaborator

ارسال نشده. فقط یک کامیت روی این PR ارسال شده.
دستور زیر ریموت شما رو اضافه می‌کنه که احتمالا قبلا این کار رو انجام دادید:

git remote add myself https://github.com/seven-deuce/fa.reactjs.org.git

دستور زیر هم هر کامیتی که باشه رو ارسال می‌کنه:

git push myself patch-1

@seven-deuce
Copy link
Collaborator Author

من اخیرا ورژن نود رو تو سیستمم آپدیت کردم و از اون به بعد نتونستم با کلون این پروژه کار کنم در سی ال آی
این پول ریکوست رو بستم و یک ریکوست جدید باز کردم
synthetic events - 2
تا اونجا بحث رو ادامه بدیم

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.

None yet

2 participants