Skip to content

Commit 814266a

Browse files
authored
Merge pull request #4 from shakib609/editor-setup
Editor Setup bengali translation
2 parents 99832ee + 0cd77a1 commit 814266a

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

src/content/learn/editor-setup.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
---
2-
title: Editor Setup
2+
title: এডিটর সেটাপ
33
---
44

55
<Intro>
66

7-
A properly configured editor can make code clearer to read and faster to write. It can even help you catch bugs as you write them! If this is your first time setting up an editor or you're looking to tune up your current editor, we have a few recommendations.
7+
সঠিকভাবে কনফিগার করা এডিটর আপনার কোড পড়ায় এবং লেখায় সাহায্য করতে পারে। এমনকি আপনাকে লিখার সাথে সাথে ভুলত্রুটি ধরায়ও সাহায্য করতে পারে! আপনি যদি প্রথমবারের মত এডিটর সেটাপ করেন অথবা আপনার বর্তমান এডিটরকে আরও সমৃদ্ধ করে তুলতে চান, তাহলে আমাদের কিছু পরামর্শ রয়েছে।
88

99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* What the most popular editors are
14-
* How to format your code automatically
13+
* সবচেয়ে জনপ্রিয় এডিটরগুলো কি কি
14+
* কিভাবে আপনার কোড স্বয়ংক্রিয়ভাবেই ফরম্যাট করবেন
1515

1616
</YouWillLearn>
1717

18-
## Your editor {/*your-editor*/}
18+
## আপনার এডিটর {/*your-editor*/}
1919

20-
[VS Code](https://code.visualstudio.com/) is one of the most popular editors in use today. It has a large marketplace of extensions and integrates well with popular services like GitHub. Most of the features listed below can be added to VS Code as extensions as well, making it highly configurable!
20+
[VS Code](https://code.visualstudio.com/) বর্তমানে ব্যবহৃত সবচেয়ে জনপ্রিয় এডিটরগুলোর মধ্যে একটি। এর মধ্যে বিশাল এক্সটেনশন মার্কেটপ্লেস রয়েছে এবং এটি সহজেই GitHub এর মত জনপ্রিয় সার্ভিসগুলোর সাথে সংযুক্ত হতে পারে। নিম্নোক্ত অধিকাংশ জিনিসই VS Code এ এক্সটেনশন হিসেবে যুক্ত করা যায়, যা একে আরও বেশি কনফিগার করতে সহায়তা করে।
2121

22-
Other popular text editors used in the React community include:
22+
React কমিউনিটিতে ব্যবহৃত অন্য জনপ্রিয় এডিটরগুলোঃ
2323

24-
* [WebStorm](https://www.jetbrains.com/webstorm/) is an integrated development environment designed specifically for JavaScript.
25-
* [Sublime Text](https://www.sublimetext.com/) has support for JSX and TypeScript, [syntax highlighting](https://stackoverflow.com/a/70960574/458193) and autocomplete built in.
26-
* [Vim](https://www.vim.org/) is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.
24+
* [WebStorm](https://www.jetbrains.com/webstorm/) জাভাস্ক্রিপ্টের জন্য তৈরি একটি integrated development environment
25+
* [Sublime Text](https://www.sublimetext.com/) - এ JSX এবং TypeScript সাপোর্টের পাশাপাশি, [সিনট্যাক্স হাইলাইটিং](https://stackoverflow.com/a/70960574/458193) এবং অটোকমপ্লিট সাপোর্ট রয়েছে।
26+
* [Vim](https://www.vim.org/) একটি অধিক কনফিগারযোগ্য টেক্সট এডিটর যা সহজে যেকোন ধরণের টেক্সট ফাইল তৈরি এবং পরিবর্তন করতে বানানো হয়েছে। অধিকাংশ UNIX সিস্টেম এবং Apple OS X এর সাথে এটি "vi" হিসেবে দেয়া থাকে।
2727

28-
## Recommended text editor features {/*recommended-text-editor-features*/}
28+
## প্রস্তাবিত টেক্সট এডিটরের বৈশিষ্ট্যসমূহ {/*recommended-text-editor-features*/}
2929

30-
Some editors come with these features built in, but others might require adding an extension. Check to see what support your editor of choice provides to be sure!
30+
কিছু এডিটরে এই বৈশিষ্ট্যগুলো ইতিমধ্যে সংযুক্ত করা থাকে, কিন্তু অন্যগুলোতে এক্সটেনশন যুক্ত করার প্রয়োজন পড়তে পারে। নিশ্চিত হওয়ার জন্য আপনার পছন্দের এডিটর কি সাপোর্ট সরবরাহ করে তা দেখে নিন!
3131

32-
### Linting {/*linting*/}
32+
### লিন্টিং {/*linting*/}
3333

34-
Code linters find problems in your code as you write, helping you fix them early. [ESLint](https://eslint.org/) is a popular, open source linter for JavaScript.
34+
কোড লিন্টার আপনি কোড লিখার সাথে সাথে আপনাকে বিভিন্ন সমস্যা ধরতে এবং তা তাড়াতাড়ি সমাধান করতে সাহায্য করে। [ESLint](https://eslint.org/) জাভাস্ক্রিপ্টের একটি জনপ্রিয়, ওপেন-সোর্স লিন্টার।
3535

36-
* [Install ESLint with the recommended configuration for React](https://www.npmjs.com/package/eslint-config-react-app) (be sure you have [Node installed!](https://nodejs.org/en/download/current/))
37-
* [Integrate ESLint in VSCode with the official extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
36+
* [React এর জন্য প্রস্তাবিত কনফিগারেশন সহ ESLint ইন্সটল করুন](https://www.npmjs.com/package/eslint-config-react-app) (নিশ্চিত করুন আপনার [Node ইন্সটল করা রয়েছে!](https://nodejs.org/en/download/current/))
37+
* [অফিশিয়াল এক্সটেনশনের সাহায্যে VSCode এ ESLint সংযুক্ত করুন](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
3838

39-
**Make sure that you've enabled all the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) rules for your project.** They are essential and catch the most severe bugs early. The recommended [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) preset already includes them.
39+
**নিশ্চিত করুন আপনি [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) এর সকল রুলগুলো আপনার প্রজেক্টের জন্য enable করেছেন।** এগুলো অপরিহার্য এবং গুরুতর বাগ গুলো তাড়াতাড়ি ধরতে পারে। প্রস্তাবিত [`eslint-config-react-app`](https://www.npmjs.com/package/eslint-config-react-app) প্রিসেট এ এগুলো ইতিমধ্যে সংযুক্ত থাকে।
4040

41-
### Formatting {/*formatting*/}
41+
### ফরম্যাটিং {/*formatting*/}
4242

43-
The last thing you want to do when sharing your code with another contributor is get into an discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you.
43+
অন্য কন্ট্রিবিউটরদের সাথে আপনার কোড শেয়ার করার সময় আপনি নিশ্চয়ই চাননা [tabs বনাম spaces](https://www.google.com/search?q=tabs+vs+spaces) নিয়ে কোন বিতর্কে জড়াতে! সৌভাগ্যক্রমে, [Prettier](https://prettier.io/) আপনার কোডকে নির্দিষ্ট প্রিসেট এবং রুল অনুযায়ী রি-ফরম্যাট করতে পারে। Prettier রান করুন, এবং আপনার সকল tab space এ পরিবর্তন হয়ে যাবে—এবং আপনার indentation, quotes, ইত্যাদি ও কনফিগারেশন অনুযায়ী পরিবর্তন হয়ে যাবে। আদর্শ সেটাপে, আপনি যখনই আপনার ফাইল সেইভ করবেন Prettier রান হবে, যাতে এই পরিমার্জনা গুলো দ্রুতগতিতে সম্পন্ন হয়।
4444

45-
You can install the [Prettier extension in VSCode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) by following these steps:
45+
আপনি নিচের ধাপগুলো অনুসরণ করে [VSCode -এ Prettier এক্সটেনশন](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) ইন্সটল করতে পারেনঃ
4646

47-
1. Launch VS Code
48-
2. Use Quick Open (press Ctrl/Cmd+P)
49-
3. Paste in `ext install esbenp.prettier-vscode`
50-
4. Press Enter
47+
1. VS Code ওপেন করুন
48+
2. Quick Open ব্যবহার করুন (Ctrl/Cmd+P চাপুন)
49+
3. `ext install esbenp.prettier-vscode` - পেস্ট করুন
50+
4. Enter চাপুন
5151

52-
#### Formatting on save {/*formatting-on-save*/}
52+
#### সেইভে ফরম্যাট করা {/*formatting-on-save*/}
5353

54-
Ideally, you should format your code on every save. VS Code has settings for this!
54+
আদর্শভাবে, প্রতি সেইভেই আপনার কোডকে ফরম্যাট করা উচিত। VS Code এ এর সেটিং রয়েছে!
5555

56-
1. In VS Code, press `CTRL/CMD + SHIFT + P`.
57-
2. Type "settings"
58-
3. Hit Enter
59-
4. In the search bar, type "format on save"
60-
5. Be sure the "format on save" option is ticked!
56+
1. VS Code এ, `CTRL/CMD + SHIFT + P` প্রেস করুন।
57+
2. "settings" টাইপ করুন
58+
3. Enter চাপুন
59+
4. সার্চ বারে, "format on save" টাইপ করুন
60+
5. "format on save" অপশনটি টিক দেয়া আছে কিনা নিশ্চিত হয়ে নিন!
6161

62-
> If your ESLint preset has formatting rules, they may conflict with Prettier. We recommend disabling all formatting rules in your ESLint preset using [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) so that ESLint is *only* used for catching logical mistakes. If you want to enforce that files are formatted before a pull request is merged, use [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) for your continuous integration.
62+
> আপনার ESLint প্রিসেটে যদি ফরম্যাটিং রুল থেকে থাকে, তাহলে তা Prettier এর সাথে conflict করতে পারে। আমরা পরামর্শ দেব আপনি যাতে আপনার ESLint প্রিসেটের সকল ফরম্যাটিং রুল [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) এর মাধ্যমে নিষ্ক্রিয় করে দেন যাতে ESLint *শুধুমাত্র* যৌক্তিক ভুল ধরার কাজে ব্যবহৃত হয়। আপনি যদি কোন pull request মার্জ করার আগে নিশ্চিত করতে চান আপনার ফাইলগুলো সঠিকভাবে ফরম্যাট করা হয়ে, তাহলে আপনার continuous integration এ [`prettier --check`](https://prettier.io/docs/en/cli.html#--check) ব্যবহার করুন।

src/sidebarLearn.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"path": "/learn/add-react-to-an-existing-project"
3434
},
3535
{
36-
"title": "Editor Setup",
36+
"title": "এডিটর সেটাপ",
3737
"path": "/learn/editor-setup"
3838
},
3939
{
@@ -186,7 +186,7 @@
186186
},
187187
{
188188
"title": "Removing Effect Dependencies",
189-
"path": "/learn/removing-effect-dependencies"
189+
"path": "/learn/removing-effect-dependencies"
190190
},
191191
{
192192
"title": "Reusing Logic with Custom Hooks",

0 commit comments

Comments
 (0)