mdn / translated-content

The source repository of all translated content for MDN Web Docs
https://developer.mozilla.org/en-US/docs/MDN/Community/Contributing/Translated_content
Other
1.7k stars 8.05k forks source link

FR - String.prototype.split() #387

Closed MaxenceDC closed 3 years ago

MaxenceDC commented 3 years ago

There is an issue on the french split page, 69th line: https://github.com/mdn/translated-content/blob/8ce2f87d3fcc5c07610f135e4f759088d84c4d4f/files/fr/web/javascript/reference/global_objects/string/split/index.html#L69

There is a print function, where there should be a console.log() or simply join().

The US version of the page is fine: console.log('The array has ', arrayOfStrings.length, ' elements: ', arrayOfStrings.join(' / ')) instead of



  for (var i=0; i < arrayOfStrings.length; i++)
    print(arrayOfStrings[i] + " / ");```

Thank you, Maxon
tristantheb commented 3 years ago

Hi @ElMaxonDSCRD,

Thanks for your report! 🙂 If you wish, you can contribute to the updating of this page by following the exmplications available at the following link: https://tech.mozfr.org/post/2021/03/16/MDN-sur-GitHub-comment-contribuer

Otherwise, a FR contributor will take care of this page in order to realign it with the en-US version 😉

MaxenceDC commented 3 years ago

Thank you for your answer! I'll contribute asap 👍