Mistake in translation : JavaScript Fundamentals:Logical operators

Open Beginner friendly
#660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
95/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript

Research direction

Locate the French version of the “Logical operators” article and find the sentence describing the precedence of NOT !. Replace the misleading translation with “opérateurs logiques” and include the && and || references; done means the French wording matches the suggested correction.

Written by the indexing model from the issue text.

Description

Hi there,

There is a translation error in the French version of the article "Logical operators".

English version:

"The precedence of NOT ! is the highest of all logical operators, so it always executes first, before && or ||."

Current French version:

"La précédence de NOT ! est la plus élevée de tous les opérateurs binaire, il est donc toujours exécuté en premier, avant les autres."

Issue

Translating "logical operators" as "opérateurs binaire" is misleading (it sounds like "binary/bitwise operators").

Suggested fix

The exact translation should be "opérateurs logiques".

In addition, incorporating the mention of && and || from the English text makes the sentence clearer:

"La précédence de NOT ! est la plus élevée de tous les opérateurs logiques, il est donc toujours exécuté en premier, avant && et ||."

I'd be happy to submit a PR with this fix if needed! Thanks!

Dominant language
HTML
Stars
242
Forks
109
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from javascript-tutorial/fr.javascript.info

All issues in javascript-tutorial/fr.javascript.info

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.