diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index b248ed6cf0f..4f523bf1867 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -124,6 +124,7 @@ "unblock_btn": "Unblock", "block_btn": "Block", "time_table_header": "Time", + "url_added_successfully": "Url added successfully", "domain_name_table_header": "Domain name", "type_table_header": "Type", "response_table_header": "Response", diff --git a/client/src/__locales/vi.json b/client/src/__locales/vi.json index 362a51fe6b3..e4d4b738def 100644 --- a/client/src/__locales/vi.json +++ b/client/src/__locales/vi.json @@ -125,5 +125,6 @@ "found_in_known_domain_db": "T\u00ecm th\u1ea5y trong c\u01a1 s\u1edf d\u1eef li\u1ec7u t\u00ean mi\u1ec1n", "category_label": "Th\u1ec3 lo\u1ea1i", "rule_label": "Quy t\u1eafc", - "filter_label": "B\u1ed9 l\u1ecdc" + "filter_label": "B\u1ed9 l\u1ecdc", + "url_added_successfully": "Th\u00eam b\u1ed9 l\u1ecdc th\u00e0nh c\u00f4ng" } \ No newline at end of file diff --git a/client/src/components/Filters/index.js b/client/src/components/Filters/index.js index 006a285d2f1..dd690e7ed3f 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') } />