Skip to content

Commit

Permalink
[EuiFilePicker] Added i18n for Remove text (#4750)
Browse files Browse the repository at this point in the history
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
  • Loading branch information
Lemaro86 and Michail Yasonik committed Apr 23, 2021
1 parent de62039 commit e6fd955
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `32.2.0`.
**Bug fixes**

- Fixed missing i18n tokens for `EuiFilePicker` ([#4750](https://github.com/elastic/eui/pull/4750))

## [`32.2.0`](https://github.com/elastic/eui/tree/v32.2.0)

Expand Down
5 changes: 4 additions & 1 deletion src/components/form/file_picker/file_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ export class EuiFilePicker extends Component<EuiFilePickerProps> {
className="euiFilePicker__clearButton"
size="xs"
onClick={this.removeFiles}>
Remove
<EuiI18n
token="euiFilePicker.removeSelected"
default="Remove"
/>
</EuiButtonEmpty>
);
}
Expand Down

0 comments on commit e6fd955

Please sign in to comment.