Skip to content

Commit 8c0e298

Browse files
committed
fix: fix typo in README
1 parent 744e406 commit 8c0e298

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/i18n/FormattedCompMessage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class FormattedCompMessage extends React.Component<Props, State> {
184184
// the reviewer finds and submit translation tickets to Jira and/or fixed
185185
// translations directly back to Mojito.
186186
// 3. It can be used by the planned "text experiment framework" to identify
187-
// whole strings in the UI that can be A/B tested in various langauges without
187+
// whole strings in the UI that can be A/B tested in various languages without
188188
// publishing new versions of the code.
189189
return React.createElement(
190190
tagName,

src/elements/content-preview/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### Demo ([Documentation](https://developer.box.com/docs/box-content-preview))
2-
***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.
2+
***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.
33

44
```jsx
55
var ContentPreview = require('./ContentPreview').default;

0 commit comments

Comments
 (0)