-
Notifications
You must be signed in to change notification settings - Fork 31
Variables #151
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
Variables #151
Conversation
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.
Excelent, mai avem doar putin de lustruit la el și după este gata pentru merge
.
Rog doar să vă mai uitați odata la ordinea liniilor și să țineți cont de recomandari.
@@ -1,4 +1,4 @@ | |||
In the code below, each line corresponds to the item in the task list. | |||
În codul următor, fiecare linie corespunde cu obiectul din lista de sarcini. | |||
|
|||
```js run | |||
let admin, name; // can declare two variables at once |
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.
Putem traduce //comentariile și "strings"
@@ -2,23 +2,24 @@ importance: 4 | |||
|
|||
--- | |||
|
|||
# Uppercase const? | |||
# onst cu majuscule? |
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.
# onst cu majuscule? | |
# const cu majuscule? |
literă lipsă
Please make the requested changes. After it, add a comment "/done". |
/done |
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.
Trebuie verificat și răspuns la sugestii.
@@ -1,4 +1,4 @@ | |||
In the code below, each line corresponds to the item in the task list. | |||
În codul următor, fiecare linie corespunde cu obiectul din lista de sarcini. |
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.
În codul următor, fiecare linie corespunde cu obiectul din lista de sarcini. | |
În codul de mai jos, fiecare linie corespunde cu articolul din lista de sarcini. |
Please make the requested changes. After it, add a comment "/done". |
/done |
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.
Trebuie să ținem cont de sugestii înainte să trimitem codul înapoi.
@@ -122,7 +122,7 @@ Când valoarea este schimbată, data veche este stearsă din variabilă: | |||
De asemenea putem declara două variabile și copia datele din una în cealaltă.. | |||
|
|||
```js run | |||
let hello = ''Buna lume!!'; | |||
let hello = ''Bună lume!!'; |
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.
let hello = ''Bună lume!!'; | |
let hello = 'Bună lume!'; |
o '
și !
în plus
|
||
A [variable](https://en.wikipedia.org/wiki/Variable_(computer_science)) is a "named storage" for data. We can use variables to store goodies, visitors, and other data. | ||
O [variabilă](https://en.wikipedia.org/wiki/Variable_(computer_science)) este un "spațiu de stocare numit" pentru date. Putem folosi variabile pentru a stoca bunuri, visitatori, și alte date. |
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.
O [variabilă](https://en.wikipedia.org/wiki/Variable_(computer_science)) este un "spațiu de stocare numit" pentru date. Putem folosi variabile pentru a stoca bunuri, visitatori, și alte date. | |
O [variabilă](https://en.wikipedia.org/wiki/Variable_(computer_science)) este un "spațiu de stocare numit" pentru date. Putem folosi variabile pentru a stoca bunuri, vizitatori, și alte date. |
|
||
To create a variable in JavaScript, use the `let` keyword. | ||
Pentru a crea o variabilă în JavaScript, folosim termenul`let` . |
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.
Pentru a crea o variabilă în JavaScript, folosim termenul`let` . | |
Pentru a crea o variabilă în JavaScript, folosim cuvântul cheie `let` . |
|
||
```js run | ||
let message = 'Hello!'; // define the variable and assign the value | ||
let message = 'Bună!'; // definește variabila și îi asignează valoarea |
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.
let message = 'Bună!'; // definește variabila și îi asignează valoarea | |
let message = 'Bună!'; // definește variabila și îi atribuie valoarea |
``` | ||
|
||
Some people also define multiple variables in this multiline style: | ||
Unele persoane definesc, de asemenea, multiple variabile în acest stil pe mai multe linii: |
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.
Unele persoane definesc, de asemenea, multiple variabile în acest stil pe mai multe linii: | |
Unele persoane definesc de asemenea multiple variabile în acest stil pe mai multe linii: |
|
||
An extra variable is good, not evil. | ||
O variabilă în plus este bună, nu rea. |
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.
O variabilă în plus este bună, nu rea. | |
O variabilă extra este bună, nu rea. |
ori suplimentară
|
||
We can declare variables to store data by using the `var`, `let`, or `const` keywords. | ||
Putem declara variabile pentru a stoca date folosind `var`, `let`, sau termenul `const`. |
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.
Putem declara variabile pentru a stoca date folosind `var`, `let`, sau termenul `const`. | |
Putem declara variabile pentru a stoca date folosind `var`, `let`, sau cuvântul cheie `const`. |
|
||
Variables should be named in a way that allows us to easily understand what's inside them. | ||
Variabilele ar trebui denumite în așa natură încât să înțelegem ușor ce se află înăuntrul lor. |
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.
Variabilele ar trebui denumite în așa natură încât să înțelegem ușor ce se află înăuntrul lor. | |
Variabilele ar trebui să fie denumite într-un mod care să ne permită să înțelegem cu ușurință ce se află în ele. |
<svg xmlns="http://www.w3.org/2000/svg" width="392" height="192" viewBox="0 0 392 192"><defs><style>@import url(https://fonts.googleapis.com/css?family=Open+Sans:bold,italic,bolditalic%7CPT+Mono);@font-face{font-family:'PT Mono';font-weight:700;font-style:normal;src:local('PT MonoBold'),url(/https/github.com/font/PTMonoBold.woff2) format('woff2'),url(/https/github.com/font/PTMonoBold.woff) format('woff'),url(/https/github.com/font/PTMonoBold.ttf) format('truetype')}</style></defs><g id="combined" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="variable-change.svg"><g id="noun_1211_cc" transform="translate(52.585 -3.958)"><path id="Shape" fill="#DBAF88" d="M24.415 93.154h112.557v42.95c0 .373-.078.863-.278 1.295-.2.432-16.575 35.56-16.575 35.56v-54.36l16.855-25.445 18.44-28.196H42.856l-18.44 28.196zM24.415 121.958v-28l-15 28"/><g id="Rectangle-5-+-"World!"" transform="translate(0 56.354)"><path id="Rectangle-5" fill="#FBF2EC" stroke="#AF6E24" stroke-width="2" d="M18.276 1.413L71.416 58.4 54.553 74.124 1.413 17.138 18.276 1.413z"/><text id=""World!"" fill="#AF6E24" font-family="OpenSans-Bold, Open Sans" font-size="14" font-weight="bold" transform="rotate(47 38.498 40.367)"><tspan x="9.006" y="46.867">"Lume!"</tspan></text></g><g id="Rectangle-5-+-"World!"-2" transform="rotate(-67 95.75 -34.63)"><path id="Rectangle-5" fill="#FBF2EC" stroke="#AF6E24" stroke-width="2" d="M18.276 1.413L71.416 58.4 54.553 74.124 1.413 17.138 18.276 1.413z"/><text id=""Hello!"" fill="#AF6E24" font-family="OpenSans-Bold, Open Sans" font-size="14" font-weight="bold" transform="rotate(47 38.578 39.758)"><tspan x="9.085" y="46.258">"Bună |
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.
Nu schimbăm numele variabilelor. message
trebuie lăsat așa cum e.
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.
si aici e schimbat chiar daca nu e marcat outdated
<svg xmlns="http://www.w3.org/2000/svg" width="166" height="145" viewBox="0 0 166 145"><defs><style>@import url(https://fonts.googleapis.com/css?family=Open+Sans:bold,italic,bolditalic%7CPT+Mono);@font-face{font-family:'PT Mono';font-weight:700;font-style:normal;src:local('PT MonoBold'),url(/https/github.com/font/PTMonoBold.woff2) format('woff2'),url(/https/github.com/font/PTMonoBold.woff) format('woff'),url(/https/github.com/font/PTMonoBold.ttf) format('truetype')}</style></defs><g id="combined" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="noun_1211_cc-+-Message" transform="translate(13 3)"><g id="noun_1211_cc"><path id="Shape" fill="#DBAF88" d="M17 37.196h112.558v42.95c0 .373-.079.862-.279 1.294-.2.433-16.574 35.56-16.574 35.56V62.64l16.854-25.444L148 9H35.44L17 37.196zM17 66V38L2 66"/><g id="Rectangle-5-+-"Lume!"" transform="translate(15)"><path id="Rectangle-5" fill="#FBF2EC" stroke="#AF6E24" stroke-width="2" d="M18.861 1.809l53.14 56.985L55.14 74.52 1.999 17.533 18.86 1.81z"/><text id=""Hello!"" fill="#AF6E24" font-family="OpenSans-Bold, Open Sans" font-size="14" font-weight="bold" transform="rotate(47 40.083 39.762)"><tspan x="10.591" y="46.262">"Bună!"</tspan></text></g><path id="Shape" fill="#DBAF88" d="M0 68v54.73c0 3.42 1.484 5.27 4.387 5.27h100.086c3.122 0 5.527-2.548 5.527-3.476V68H0z"/></g><text id="message" fill="#FFF" font-family="OpenSans-Bold, Open Sans" font-size="18" font-weight="bold"><tspan x="17" y="105">mesaj</tspan></text></g></g></svg> |
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.
aici la fel
Please make the requested changes. After it, add a comment "/done". |
|
@Alexandra2888 Nu erau acolo înainte, le-am adăugat la ultimul review. Au fost lucruri repetitive și nu le-am marcat pe toate de la început. |
/done |
Translated smart headers and other minor 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.
Am făcut câteva modificări și adaosuri minore înainte de aprobare, ținând cont că deja s-a lucrat destul de mult la acest PR.
Un detaliu de reținut pentru viitor - putem traduce și conținutul din smart header
.
De asemenea, trebuie să fim atenți la cele mai mici detalii: de la liniile din cod până la formatarea codului și spațiile dintre caractere.
PR aprobat.
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
No description provided.