← Winnitude! Search  ·  Reader Mode (4745 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 172 LINKS

Variables by Alexandra2888 · Pull Request #151 · javascript-tutorial/ro.javascript.info

Repository navigation

Variables - #151


Merged
bogdanbacosca merged 33 commits into javascript-tutorial:master from Alexandra2888:Variables Dec 6, 2022
Merged

Variables #151 bogdanbacosca merged 33 commits into javascript-tutorial:master from Alexandra2888:Variables

Conversation

Alexandra2888 commented Dec 1, 2022



Copy link Copy Markdown
Contributor

No description provided.

Alexandra2888 added 2 commits December 1, 2022 20:56 variables ed3dc39 fix a typo 043d333 javascript-translate-bot added the review needed label Dec 1, 2022 javascript-translate-bot requested a review from a team December 1, 2022 19:14 javascript-translate-bot mentioned this pull request Dec 1, 2022 Romanian Translation Progress #1 Open

CLAassistant commented Dec 1, 2022 · edited Loading



Copy link Copy Markdown


All committers have signed the CLA.

bogdanbacosca requested changes Dec 1, 2022
View reviewed changes

bogdanbacosca left a comment



Copy link Copy Markdown
Contributor

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.

Comment thread 1-js/02-first-steps/04-variables/1-hello-variables/solution.md
Outdated
În codul următor, fiecare linie corespunde cu obiectul din lista de sarcini .

```js run
let admin, name; // can declare two variables at once
Comment thread 1-js/02-first-steps/04-variables/3-uppercast-constant/task.md
Outdated
---

# Uppercase const ?
# onst cu majuscule ?
javascript-translate-bot added changes requested and removed review needed labels Dec 1, 2022

javascript-translate-bot commented Dec 1, 2022



Copy link Copy Markdown

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

Alexandra2888 commented Dec 2, 2022



Copy link Copy Markdown
Contributor

Author

/done

javascript-translate-bot added review needed and removed changes requested labels Dec 2, 2022 javascript-translate-bot requested a review from a team December 2, 2022 12:40 bogdanbacosca requested changes Dec 2, 2022
View reviewed changes

bogdanbacosca left a comment



Copy link Copy Markdown
Contributor

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.

Comment thread 1-js/02-first-steps/04-variables/1-hello-variables/solution.md
Outdated
@@ -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 .
javascript-translate-bot added changes requested and removed review needed labels Dec 2, 2022

javascript-translate-bot commented Dec 2, 2022



Copy link Copy Markdown

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

bogdanbacosca and others added 12 commits December 2, 2022 17:40 Apply suggestions from code review c42701b fix-1-solution.md 0b41a45 fix 3-task.md 46fdd9a fix article.md 070962a fix 3-task.md 5a7f0a0 variables f41283a 1-solution.md a1b16e3 update 1-solution.md per last request d8f9162 update article.md e37acbc fix line in article.md 425a827 fix some lines and typos on article.md 3ad9976 fix lines in article.md 0e33558 Alexandra2888 added 2 commits December 3, 2022 21:12 article.md 80bea6d article.md 7fe85d0

Alexandra2888 commented Dec 3, 2022



Copy link Copy Markdown
Contributor

Author

/done

javascript-translate-bot added review needed and removed changes requested labels Dec 3, 2022 javascript-translate-bot requested a review from a team December 3, 2022 19:35 bogdanbacosca requested changes Dec 3, 2022
View reviewed changes

bogdanbacosca left a comment



Copy link Copy Markdown
Contributor

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.

Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated

```js run
let hello = '' Buna lume!!';
let hello = '' Bună lume!!';
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
## O variabilă

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 .
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
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 .

To create a variable in JavaScript, use the `let` keyword .
Pentru a crea o variabilă în JavaScript, folosim termenul `let` .
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated

```js run
let message = ' Hello !'; // define the variable and assign the value
let message = ' Bună !'; // definește variabila și îi asignează valoarea
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
```

Some people also define multiple variables in this multiline style :
Unele persoane definesc, de asemenea, multiple variabile în acest stil pe mai multe linii :
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
Astfel de programatori salvează puțin din declararea variabilelor dar pierd de zece ori mai mult să remedieze erorile .

An extra variable is good, not evil .
O variabilă în plus este bună, nu rea .
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
## Sumar

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`.
Comment thread 1-js/02-first-steps/04-variables/article.md
Outdated
- `const` -- este la fel ca `let`, doar că valoarea variabilei nu se poate schimba .

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 .
Comment thread 1-js/02-first-steps/04-variables/variable-change.svg
Outdated
@@ -1 +1,2 @@
<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:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</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-+-&quot;World!&quot;" 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="&quot;World!&quot;" 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">&quot;World!&quot;</tspan></text></g><g id="Rectangle-5-+-&quot;World!&quot;-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="&quot;Hello!&quot;" 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">&quot;Hello!&quot;</tspan></text></g><path id="Shape" fill="#DBAF88" d="M7.415 123.958v54.73c0 3.42 1.483 5.27 4.387 5.27h100.086c3.122 0 5.527-2.547 5.527-3.475v-56.525h-110z"/></g><text id="message" fill="#FFF" font-family="OpenSans-Bold, Open Sans" font-size="18" font-weight="bold"><tspan x="77" y="157">message</tspan></text><path id="Fill-54" fill="#DBAF88" d="M58.112 51.808S47.657 40.623 40.719 36.155l-.505 5.542a76.036 76.036 0 00-33.769 4.595l4.169 11.032a64.248 64.248 0 0128.531-3.882l-.505 5.542c5.581-3.329 19.472-7.176 19.472-7.176" transform="rotate(11 32.278 47.57)"/><path id="Fill-54" fill="#DBAF88" d="M287.797 28.186s-10.454-11.185-17.393-15.653l-.505 5.541a76.036 76.036 0 00-33.769 4.596l4.169 11.032a64.248 64.248 0 0128.531-3.882l-.504 5.541c5.58-3.328 19.47-7.175 19.47-7.175" transform="rotate(2 261.964 23.947)"/><g id="noun_48910_cc" transform="translate(298 5)"><path id="Shape" d="M50.983 6H36.016C35.456 6 35 6.626 35 7.395V12h17V7.395C52 6.626 51.543 6 50.983 6z"/><path id="Shape" fill="#DBAF88" d="M84.193 9.36h-26.39V6.085C57.803 2.729 54.99 0 51.528 0H36.47c-3.46 0-6.275 2.729-6.275 6.085V9.36H3.807C1.705 9.36 0 11.012 0 13.05v.26C0 15.348 1.705 17 3.807 17h80.386C86.295 17 88 15.348 88 13.31v-.26c0-2.038-1.706-3.69-3.807-3.69zM53 12H36V7.395C36 6.626 36.457 6 37.016 6h14.968C52.544 6 53 6.626 53 7.395V12zM74.955 20.045H8.044c-3.89 0-7.044-.68-7.044 3.266l5.282 78.382c0 3.943 3.155 7.307 7.045 7.307h56.347c3.89 0 7.044-3.364 7.044-7.307L82 23.31c-.001-3.947-3.155-3.266-7.045-3.266zM26.757 98.999c-1.283.039-2.353-.8-2.396-1.878l-2.36-61.095c-.041-1.078.964-1.985 2.242-2.025 1.283-.04 2.353.801 2.396 1.879l2.36 61.096c.041 1.076-.963 1.984-2.242 2.023zM43 97.049C43 98.126 42.328 99 41.5 99s-1.5-.876-1.5-1.951V35.95c0-1.078.672-1.951 1.5-1.951s1.5.873 1.5 1.951V97.05zm18.639.072c-.042 1.078-1.113 1.917-2.396 1.878-1.28-.04-2.283-.947-2.242-2.024l2.36-61.095c.042-1.078 1.112-1.919 2.394-1.879 1.28.042 2.285.947 2.244 2.025l-2.36 61.095z"/></g></g></g></svg> No newline at end of file
<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:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</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-+-&quot;World!&quot;" 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="&quot;World!&quot;" 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">&quot;Lume!&quot;</tspan></text></g><g id="Rectangle-5-+-&quot;World!&quot;-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="&quot;Hello!&quot;" 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">&quot;Bună
Comment thread 1-js/02-first-steps/04-variables/variable.svg
Outdated
@@ -1 +1 @@
<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:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</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-+-&quot;World!&quot;" 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="&quot;Hello!&quot;" 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">&quot;Hello!&quot;</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">message</tspan></text></g></g></svg> No newline at end of file
<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:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</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-+-&quot;Lume!&quot;" 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="&quot;Hello!&quot;" 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">&quot;Bună!&quot;</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> No newline at end of file
javascript-translate-bot added changes requested and removed review needed labels Dec 3, 2022

javascript-translate-bot commented Dec 3, 2022



Copy link Copy Markdown

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

Alexandra2888 commented Dec 3, 2022 · edited Loading



Copy link Copy Markdown
Contributor

Author

Acestea nu mi-au aparut chiar daca am dat See hidden. O sa le rezolv.

bogdanbacosca commented Dec 3, 2022 · edited Loading



Copy link Copy Markdown
Contributor

@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.

Alexandra2888 added 3 commits December 5, 2022 22:06 article.md 215e676 article.md 6d5f956 svg e60bf8f

Alexandra2888 commented Dec 5, 2022



Copy link Copy Markdown
Contributor

Author

/done

javascript-translate-bot added review needed and removed changes requested labels Dec 5, 2022 javascript-translate-bot requested a review from a team December 5, 2022 20:23 bogdanbacosca added 6 commits December 6, 2022 10:11 final polish 3609555
Translated smart headers and other minor improvements.
minor fix 0832fdf sync main 13da2ca
synced with main repo and translated
minor improvement e9dcaf3 minor update 873c53f minor update 14c9aa4 bogdanbacosca approved these changes Dec 6, 2022
View reviewed changes

bogdanbacosca left a comment



Copy link Copy Markdown
Contributor

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.

javascript-translate-bot added needs +1 and removed review needed labels Dec 6, 2022 bogdanbacosca merged commit 986cf62 into javascript-tutorial : master Dec 6, 2022

javascript-translate-bot commented Dec 6, 2022



Copy link Copy Markdown

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

Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

needs +1

4 participants