Skip to content

Sync with upstream @ 5b195795#40

Closed
javascript-translate-bot wants to merge 1483 commits intomasterfrom
sync-5b195795
Closed

Sync with upstream @ 5b195795#40
javascript-translate-bot wants to merge 1483 commits intomasterfrom
sync-5b195795

Conversation

@javascript-translate-bot

This PR was automatically generated to merge changes from en.javascript.info at 5b19579

Conflicted files in this PR have labels ">>>..." with both sides of conflict. If you merge this PR, you'll need to examine the listed files and resolve conflicts.

Alternatively, you can close this PR and merge conflicting changes manually.

The following files have conflicts and may need updates of the translations:

Click to open a list of 206 files

To merge changes manually (instead of merging this PR):

  1. Add remote upstream that links to the English version (only needs to be done once)
    • git add remote upstream https://github.com/javascript-tutorial/en.javascript.info
  2. Commit all current work locally and git checkout master
  3. Pull the recent changes from the English version:
    • git pull upstream master
  4. Deal with the conflicts. If a conflict touches a few lines, then just fix it. Otherwise, following commands can help:
    • Checkout your (translated) version of a file/folder at the given path (removes all upstream changes):
      • git checkout --ours <path>
    • See the diff, what changed in the upstream file since branches diverged:
      • git diff --word-diff master...upstream/master <path> (please note: three dots in the command)
    • Then you can examine the changes in upstream and add them manually
  5. When conflicts resolved, commit them and git push origin master

Please ignore changes in README.md (git checkout --ours README.md && git commit -m ignore README.md).

This PR will be closed and replaced with a new one in a few days.

hrodward and others added 30 commits October 25, 2019 11:08
Grammar suggestions
Update article.md
Grammar suggestions
Grammar suggestions
Wouldn't this solution be more flexible?
Grammar suggestions
Grammar suggestions
Some of string outputs are represented with quotes but some of not, there is a 	inconsistency.
splice method's minimum parameter is 'start' and it is number type. In this tutorial 'str' stands for string parameters.
Update article.md
Update article.md
string outputs without quotes
Update article.md
'str' inside of 'start'
For consistency with definition of "arr.filter(fn)" , we need to add 'fn' parameter to definition of arr.find().
Adding missed semicolon in function expression example.
iliakan and others added 26 commits December 1, 2019 04:11
Grammar and phrasing changes to first paragraph. Not 100% sure didn't change meaning so am leaving it for review.
Grammar and phrasing changes to first paragraph. Wasn't 100% sure didn't change meaning and was going to leave it for review, but it seems I already committed it somehow when I was trying to make revisions, so hope it's right.
consistent error output comments
Adding 'object' after 'Property descriptor' -- even though it is said not far above that the 'property descriptor' returned by `Object.getOwnPropertyDescriptor` is an object, I think it wouldn't hurt to discretely include that info here (though of course it's also implied by the usage in the examples). Especially if someone is quickly scanning the article looking for `Object.defineProperty` and didn't just read the part above.
@claassistantio
Copy link

claassistantio commented Dec 9, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 7 committers have signed the CLA.

✅ iliakan
❌ koala-lava
❌ lex111
❌ paroche
❌ masterashu
❌ spaceinvadev
❌ CyberMew
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.