From b5c9396971a841d7a488f37982cf5771142fd2ca Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Wed, 24 Apr 2019 09:35:59 -0600 Subject: [PATCH 1/2] Add localization to EuiTablePagination's options --- src/components/table/table_pagination/table_pagination.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/table_pagination/table_pagination.js b/src/components/table/table_pagination/table_pagination.js index 002f75a6351..4e18e39f530 100644 --- a/src/components/table/table_pagination/table_pagination.js +++ b/src/components/table/table_pagination/table_pagination.js @@ -60,7 +60,7 @@ export class EuiTablePagination extends Component { icon={itemsPerPageOption === itemsPerPage ? 'check' : 'empty'} onClick={() => { this.closePopover(); onChangeItemsPerPage(itemsPerPageOption); }} > - {`${itemsPerPageOption} rows`} + )); From 3bfd284f36aa673705b41cccff865026da907d91 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Wed, 24 Apr 2019 09:39:14 -0600 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f2c56acd6..6dfb11f5462 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Fixed `EuiComboBox` to not pass its `inputRef` prop down to the DOM ([#1867](https://github.com/elastic/eui/pull/1867)) - Fixed `euiBreakpoint()` warning to give accurate feedback ([#1874](https://github.com/elastic/eui/pull/1874)) - Fixed type definitions around `EuiI18n`'s `default` prop to better support use cases ([#1861](https://github.com/elastic/eui/pull/1861)) +- Localized `EuiTablePagination`'s row count selection ([#1883](https://github.com/elastic/eui/pull/1883)) ## [`10.1.0`](https://github.com/elastic/eui/tree/v10.1.0)