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

Developer console #70

Merged
merged 3 commits into from
Mar 2, 2021
Merged

Developer console #70

merged 3 commits into from
Mar 2, 2021

Conversation

ArthurHakobyan
Copy link
Contributor

I translate the section devtools. the title of that article is Developer console. please review the translation and let me know.

@bugron
Copy link
Contributor

bugron commented Feb 28, 2021

@ArthurHakobyan AUTHORING.md has some notes about those links you mentioned.

Copy link
Contributor

@bugron bugron left a comment

Choose a reason for hiding this comment

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

Խնդրում եմ ուշադիր լինել կետադրական սխալներին, ավելորդ բացատներին, վերջակետերին: Ինչպես նաև տեղեր կան, որտեղ բացատները բացակայում են, բայց անհրաժեշտ են:


Code is prone to errors. You will quite likely make errors... Oh, what am I talking about? You are *absolutely* going to make errors, at least if you're a human, not a [robot](https://en.wikipedia.org/wiki/Bender_(Futurama)).
Կոդը հակված է սխալվելու: Դուք ամենայն հավանականությամբ թույլ կտաք սխալներ ... Oh, ինչի՞ մասին եմ խոսում: Դուք « բացարձակապես » սխալներ եք գործելու, եթե դուք իհարկե մարդ եք, ոչ թե [ռոբոտ](https://en.wikipedia.org/wiki/Bender_(Futurama)).
Copy link
Contributor

@bugron bugron Feb 28, 2021

Choose a reason for hiding this comment

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

Ստորև բերում եմ այս նախադասության թարգմանության առաջարկվող տարբերակը: Փոխել եմ առաջին նախադասությունն ու որոշ կետադրական ուղղումներ արել:

Կոդը հակված է պարունակելու սխալներ: Դուք ամենայն հավանականությամբ թույլ կտաք սխալներ... O, ինչի՞ մասին եմ խոսում: Դուք *անպայման* սխալներ եք գործելու, եթե դուք, իհարկե, մարդ եք, ոչ թե [ռոբոտ](https://en.wikipedia.org/wiki/Bender_(Futurama)).

@@ -1,63 +1,63 @@
# Developer console
# Ծրագրավորման բարձակ
Copy link
Contributor

Choose a reason for hiding this comment

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

Առաջարկում եմ փակագծերում նշել Developer console, որ քանի որ կարդացողը առաջին անգամ է հանդիպելու այս թարգմանությանը մեր տեքտում ու առաջին հայացքից կարող է անհասկանալի լինել:


## Google Chrome

Open the page [bug.html](bug.html).
Բացեք կայքը [bug.html](bug.html).
Copy link
Contributor

@bugron bugron Feb 28, 2021

Choose a reason for hiding this comment

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

Ճիշտ տարբերակն է՝ Բացեք [bug.html](bug.html) էջը:
Վերջակետերը պետք է փոխել (անգլերենում՝ կետ, հայերենում՝ : )


There's an error in the JavaScript code on it. It's hidden from a regular visitor's eyes, so let's open developer tools to see it.
Այնտեղ JavaScript կոդի մեջ սխալ կա: Այն թաքնված է սովորական այցելուի աչքից, ուստի եկեք բացենք ծրագրավորման գործիքները ՝ այն տեսնելու համար:
Copy link
Contributor

Choose a reason for hiding this comment

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

գործիքները ՝ -> գործիքները՝
Բացատները (space) որոշ տեղերում ավելորդ են:


- Here we can see the red-colored error message. In this case, the script contains an unknown "lalala" command.
- On the right, there is a clickable link to the source `bug.html:12` with the line number where the error has occurred.
- Այստեղ մենք կարող ենք տեսնել կարմիրով գունավորված սխալի հաղորդագրությունը: Այս դեպքում սցենարը պարունակում է անհայտ «լալալա» հրաման:
Copy link
Contributor

Choose a reason for hiding this comment

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

Այստեղ lalala-ն թարգմանել պետք չէ:


## Safari

Safari (Mac browser, not supported by Windows/Linux) is a little bit special here. We need to enable the "Develop menu" first.
Safari (Mac զննիչ, չի աջակցվում Windows / Linux- ի կողմից) այն մի փոքր առանձնահատուկ է: Մենք նախ պետք է միացնենք «ծրագրավորման գործիքները»:
Copy link
Contributor

Choose a reason for hiding this comment

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

(Mac զննիչ, չի աջակցվում Windows / Linux- ի կողմից) -> (Mac զննիչ, հասանելի չէ Windows և Linux ՕՀ-երում)


Open Preferences and go to the "Advanced" pane. There's a checkbox at the bottom:
Բացեք Preferences և գնացեք "Advanced" պատուհան. Ներքևում նշման տուփ(checkbox) կա ծրագրավորման գործիքների համար։
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Բացեք Preferences -> Բացեք Preferences էջը
  2. պատուհան. -> պատուհան:
  3. Առաջարկում եմ checkbox-ը չթարգմանել: Այս նախագծում ընդունված է նման տերմինները չթարգմանել: Համարում եմ, որ այս դեպքում թարգմանությունն ավելի ընթեռնելի կլինի, եթե checkbox-ը թողնենք ոնց կա:


![safari](safari.png)

Now `key:Cmd+Opt+C` can toggle the console. Also, note that the new top menu item named "Develop" has appeared. It has many commands and options.
Հիմա `key:Cmd+Opt+C` կարող է բաղցել բարձակը(console): Նաև նշենք, որ հայտնվել է «ծրագրավորման գործիքներ» անվանմամբ ընտրացանկի նոր վերին կետը: Այն ունի շատ հրամաններ և տարբերակներ:
Copy link
Contributor

Choose a reason for hiding this comment

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

բաղցել -> բացել

- Developer tools allow us to see errors, run commands, examine variables, and much more.
- They can be opened with `key:F12` for most browsers on Windows. Chrome for Mac needs `key:Cmd+Opt+J`, Safari: `key:Cmd+Opt+C` (need to enable first).
- Ծրագրավորման գործիքները մեզ թույլ են տալիս տեսնել սխալներ, գործարկել հրամաններ, ուսումնասիրել փոփոխականները և ավելին:
- Դրանք կարելի է բացել `key:F12` Windows-ի համար նախատեսված շատ զննիչներով՝ օրինակ Chrome-ում։ Mac-ի համար պետք է սեղմել `key:Cmd+Opt+J`, Safari: `key:Cmd+Opt+C` (բայց անհրաժեշտ է նախ ակտիվացնել).
Copy link
Contributor

Choose a reason for hiding this comment

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

շատ զննիչներով -> շատ զննիչներում


Now we have the environment ready. In the next section, we'll get down to JavaScript.
Այժմ մենք ունենք պատրաստ միջավայրը:Հաջորդ բաժնում մենք կանդրադառնանք JavaScript- ին:
Copy link
Contributor

Choose a reason for hiding this comment

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

Այժմ մենք ունենք պատրաստ միջավայրը -> Այժմ մեր միջավայրը պատրաստ է

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@ArthurHakobyan
Copy link
Contributor Author

done

@ArthurHakobyan
Copy link
Contributor Author

/done

Copy link
Contributor

@bugron bugron 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 to me. Great work!

@bugron bugron merged commit 91082cf into javascript-tutorial:master Mar 2, 2021
@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

@ArthurHakobyan ArthurHakobyan deleted the translation/4-devtools branch March 2, 2021 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants