-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Farsi Support 🇮🇷🇦🇫🇹🇯 #279
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
Farsi Support 🇮🇷🇦🇫🇹🇯 #279
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
//// { order: 0, compiler: { target: 1 } } | ||
|
||
// به محل بازی با تایپ اسکریپت خوش آمدید. | ||
// اینجا ابزاری برای امتحان و آموزش تایپ اسکریپت در مرورگر شماست. | ||
// این ابزار به شما این امکان را می دهد که به سادگی | ||
// قابلیت های تایپ اسکریپت را آزمایش کنید و آموخته های خود را با دیگران در میان بگذارید. | ||
// برای فرستادن آزمایش خود با دیگران تنها فرستادن آدرس صفحه آزمایش شما کافیست. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "فرستادن" means "sending", if you mean "sharing". Use "به اشتراکگذاری" |
||
|
||
const hello = 'سلام' | ||
|
||
// در سمت راست شما نتیحه مترجم تایپ اسکریپت را می توانید ببیید. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "ببیید" has a typo |
||
// این یک کد جاوااسکریپت است که در مرورگر یا در سرور شما قابل اجراست. | ||
|
||
const world = 'دنیا' | ||
|
||
// در اینجا می توانید شاهد تغیراتی که داده می شود مثل تبدیل `const` به `var` باشید. | ||
// این یکی از تغییرات زیادی است که تایپ اسکریپت برای قابل اجرا بودن در تمام محیطهای جاوااسکریپت باید انجام دهد. | ||
|
||
console.log(hello + ' ' + world) | ||
|
||
// حالا که بیشتر با این ابزار آشنا شدیم می توانیم | ||
// بیشتر به امکاناتی که تایپ اسکریپت برای راحتی کار با جاوااسکریپت در اختیار ما قرار میدهد آشنا شویم. | ||
// در این قسمت تلاش می کنیم که تا حد امکان کدی شبیه به جاوااسکریپت | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line doesn't make much sense, is it left before finishing? |
||
// ولی در تایپ اسکریپت بنویسیم که سادگی حرکت به سمت تایپ اسکریپت را نشان دهیم. | ||
// | ||
// برای ادامه به لینک زیر بروید: | ||
// | ||
// example:objects-and-arrays |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## مثال های جاوااسکریپت | ||
|
||
این مثال ها به ما چگونگی اجرای جاوااسکریپت توسط تایپ اسکریپت را نشان می دهند. با اینکه در بعضی از مثال ها از تایپ قابلیت های ساده تایپ اسکریپت استفاده می کنیم اما هدف اصلی این دسته از مثال ها نشان دادن سادگی استفاده مجدد از دانسته های کاربر در جاوااسکریپت در تایپ اسکریپت است. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use ZWNJ for TypeScript. According to Persian standards, you should not use space for those cases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "دانسته های" -> use ZWNJ instead of space |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"sections": [ | ||
{ | ||
"name": "JavaScript", | ||
"id": "JavaScript", | ||
"subtitle": "See how TypeScript improves day to day working with JavaScript with minimal additional syntax." | ||
}, | ||
{ | ||
"name": "TypeScript", | ||
"id": "TypeScript", | ||
"subtitle": "Explore how TypeScript extends JavaScript to add more safety and tooling." | ||
}, | ||
{ | ||
"name": "3.7", | ||
"id": "3.7", | ||
"subtitle": "See the <a href='https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/'>Release notes</a>." | ||
}, | ||
{ | ||
"name": "3.8", | ||
"id": "3.8", | ||
"subtitle": "See the <a href='https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/'>Beta Release notes</a>." | ||
}, | ||
{ | ||
"name": "Playground V3", | ||
"id": "Playground", | ||
"subtitle": "Learn what has changed in this website." | ||
} | ||
], | ||
|
||
"sortedSubSections": [ | ||
// JS | ||
"JavaScript Essentials", | ||
"Functions with JavaScript", | ||
"Working With Classes", | ||
"Modern JavaScript", | ||
"External APIs", | ||
"Helping with JavaScript", | ||
// TS | ||
"Primitives", | ||
"Type Primitives", | ||
"Meta-Types", | ||
"Language", | ||
"Language Extensions", | ||
// Examples | ||
"Syntax and Messaging", | ||
"Types and Code Flow", | ||
"Fixits", | ||
// Playground | ||
"Config", | ||
"Tooling", | ||
// 3.8 | ||
"Breaking Changes", | ||
"JSDoc Improvements" | ||
] | ||
} |
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.
"آموخته های" should be replaced with "آموختههای"
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.
good call! still struggling with typing in Farsi 🙌