diff --git a/products/ASC.People/Client/public/locales/en/UserControlsCommonResource.json b/products/ASC.People/Client/public/locales/en/UserControlsCommonResource.json new file mode 100644 index 0000000000..047b963a70 --- /dev/null +++ b/products/ASC.People/Client/public/locales/en/UserControlsCommonResource.json @@ -0,0 +1,4 @@ +{ + "PreviousPage": "Previous", + "NextPage": "Next" +} \ No newline at end of file diff --git a/products/ASC.People/Client/src/components/pages/Home/Section/Paging/index.js b/products/ASC.People/Client/src/components/pages/Home/Section/Paging/index.js index 63faa9e596..8dd9928be5 100644 --- a/products/ASC.People/Client/src/components/pages/Home/Section/Paging/index.js +++ b/products/ASC.People/Client/src/components/pages/Home/Section/Paging/index.js @@ -2,6 +2,7 @@ import React, { useCallback, useMemo } from "react"; import { connect } from "react-redux"; import { fetchPeople } from "../../../../../store/people/actions"; import { Paging } from "asc-web-components"; +import { useTranslation } from 'react-i18next'; const SectionPagingContent = ({ fetchPeople, @@ -9,6 +10,7 @@ const SectionPagingContent = ({ onLoading, selectedCount }) => { + const { t, i18n } = useTranslation(); const onNextClick = useCallback( e => { if (!filter.hasNext()) { @@ -116,8 +118,8 @@ const SectionPagingContent = ({ return (