diff --git a/src/components/i18n/FormattedCompMessage.js b/src/components/i18n/FormattedCompMessage.js index bffd748bc4..91e553702e 100644 --- a/src/components/i18n/FormattedCompMessage.js +++ b/src/components/i18n/FormattedCompMessage.js @@ -184,7 +184,7 @@ class FormattedCompMessage extends React.Component { // the reviewer finds and submit translation tickets to Jira and/or fixed // translations directly back to Mojito. // 3. It can be used by the planned "text experiment framework" to identify - // whole strings in the UI that can be A/B tested in various langauges without + // whole strings in the UI that can be A/B tested in various languages without // publishing new versions of the code. return React.createElement( tagName, diff --git a/src/elements/content-preview/README.md b/src/elements/content-preview/README.md index 7bc358a4f2..c92a474102 100644 --- a/src/elements/content-preview/README.md +++ b/src/elements/content-preview/README.md @@ -1,5 +1,5 @@ ### Demo ([Documentation](https://developer.box.com/docs/box-content-preview)) -***IMPORTANT:*** The Content Preview UI Element works differently from the other UI Elements above. The React component is a wrapper for the [Preview library](https://developer.box.com/docs/box-content-preview). It also requires a langauge (defaults to en-US) to be passed in since the preview library bundles are localized. Providing a language will automatically pull in the corresponding preview.js bundle and dynamically load it by adding a script tag. It will also dynamically load the additional required preview.css file by adding a link tag. +***IMPORTANT:*** The Content Preview UI Element works differently from the other UI Elements above. The React component is a wrapper for the [Preview library](https://developer.box.com/docs/box-content-preview). It also requires a language (defaults to en-US) to be passed in since the preview library bundles are localized. Providing a language will automatically pull in the corresponding preview.js bundle and dynamically load it by adding a script tag. It will also dynamically load the additional required preview.css file by adding a link tag. ```jsx var ContentPreview = require('./ContentPreview').default;