Skip to content

translate updating arrays page to persian #467

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

KianoshArian
Copy link

This pull request includes the translation of the updating-arrays-in-state page.
Please let me know if you have any suggestions for improvement.
Thanks.

Copy link

vercel bot commented May 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fa-react-dev 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 8, 2025 2:47pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
fa-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview Jun 8, 2025 2:47pm

Copy link
Collaborator

@mrbadri mrbadri left a comment

Choose a reason for hiding this comment

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

سلام @KianoshArian عزیز!
از همکاری و وقتی که برای ترجمه مستندات ری‌اکت فارسی گذاشتی، ممنون هستیم.
در ادامه، تغییرات پیشنهادی رو ارسال میکنم.

همچنین برای اطمینان بیشتر از اینکه همه‌ی اصلاحات کامل انجام شده باشه، می‌تونید از گزینه‌ی Commit suggestion استفاده کنید.

روش استفاده از این Action رو هم براتون ضمیمه کردم

image


Here is a reference table of common array operations. When dealing with arrays inside React state, you will need to avoid the methods in the left column, and instead prefer the methods in the right column:
در اینجا یک جدول مرجع از عملیات‌های رایج بر روی آرایه‌ها را مشاهده می‌کنید. در هنگام کار کردن با آرایه‌ها در state ری‌اکت، باید از استفاده از متد‌های ستون سمت راست خودداری کرده، و در عوض از متد‌های ستون سمت چپ استفاده کنید:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
در اینجا یک جدول مرجع از عملیات‌های رایج بر روی آرایه‌ها را مشاهده می‌کنید. در هنگام کار کردن با آرایه‌ها در state ری‌اکت، باید از استفاده از متد‌های ستون سمت راست خودداری کرده، و در عوض از متد‌های ستون سمت چپ استفاده کنید:
در اینجا یک جدول مرجع از عملیات رایج روی آرایه‌ها آورده شده است. هنگام کار با آرایه‌ها در state ری‌اکت، باید از متدهای ستون سمت چپ پرهیز کنید و در عوض متدهای ستون سمت راست را ترجیح دهید.

Copy link
Author

Choose a reason for hiding this comment

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

اینجا بخاطر جهت rtl فارسی کلمات چپ و راست باید بر عکس متن انگلیسی استفاده بشن. بقیه پیشنهادات رو اعمال میکنم

Copy link
Author

Choose a reason for hiding this comment

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

Suggested change
در اینجا یک جدول مرجع از عملیات‌های رایج بر روی آرایه‌ها را مشاهده می‌کنید. در هنگام کار کردن با آرایه‌ها در state ری‌اکت، باید از استفاده از متد‌های ستون سمت راست خودداری کرده، و در عوض از متد‌های ستون سمت چپ استفاده کنید:
در اینجا یک جدول مرجع از عملیات رایج روی آرایه‌ها آورده شده است. هنگام کار با آرایه‌ها در state ری‌اکت، باید از متدهای ستون سمت راست پرهیز کنید و در عوض متدهای ستون سمت چپ را ترجیح دهید.

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
Author

Choose a reason for hiding this comment

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

همون موقع تغییر رو همراه با سایر تغییرات اعمال کرده بودم🙏

Apply the suggested edits to translation

Co-authored-by: Mohammad Reza Badri <[email protected]>
Co-authored-by: Mohammad Reza Badri <[email protected]>
fix right and left translation mistake
@KianoshArian
Copy link
Author

KianoshArian commented Jun 8, 2025

Dear @mrbadri,
I reviewed and applied all of your suggestions, making a few changes that I noted in the comments. Please let me know if anything else needs to be addressed.

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.

2 participants