From df94d76a8bde4af3f7a62f12b682150560914261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20Rio?= Date: Wed, 9 Jan 2019 09:34:22 +0700 Subject: [PATCH] Add translate to Filter ReactTable --- client/src/components/Filters/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/client/src/components/Filters/index.js b/client/src/components/Filters/index.js index 006a285d..dd690e7e 100644 --- a/client/src/components/Filters/index.js +++ b/client/src/components/Filters/index.js @@ -84,8 +84,15 @@ class Filters extends Component { columns={this.columns} showPagination={true} defaultPageSize={10} - noDataText={ t('no_filters_added') } minRows={4} // TODO find out what to show if rules.length is 0 + // Text + previousText={ t('previous_btn') } + nextText={ t('next_btn') } + loadingText={ t('loading_table_status') } + pageText={ t('page_table_footer_text') } + ofText={ t('of_table_footer_text') } + rowsText={ t('rows_table_footer_text') } + noDataText={ t('no_filters_added') } />