People.Client: Home: fixed translation
This commit is contained in:
parent
43cb5a34e5
commit
e17d731a70
@ -342,7 +342,7 @@ class SectionBodyContent extends React.PureComponent {
|
||||
isSelf
|
||||
? {
|
||||
key: "delete-profile",
|
||||
label: t("PeopleResource:LblDeleteProfile"),
|
||||
label: t("DeleteSelfProfile"),
|
||||
onClick: this.onDeleteSelfProfileClick.bind(this, user.email)
|
||||
}
|
||||
: {
|
||||
|
@ -88,7 +88,7 @@ const SectionPagingContent = ({
|
||||
label: t('CountPerPage', { count: 100 })
|
||||
}
|
||||
],
|
||||
[]
|
||||
[t]
|
||||
);
|
||||
|
||||
const pageItems = useMemo(() => {
|
||||
|
@ -3,9 +3,8 @@ import { connect } from "react-redux";
|
||||
import PropTypes from "prop-types";
|
||||
import { withRouter } from "react-router";
|
||||
import { PageLayout, RequestLoader } from "asc-web-components";
|
||||
import { withTranslation } from 'react-i18next';
|
||||
import { withTranslation, I18nextProvider } from 'react-i18next';
|
||||
import i18n from "./i18n";
|
||||
import { I18nextProvider } from "react-i18next";
|
||||
|
||||
import {
|
||||
ArticleHeaderContent,
|
||||
@ -99,7 +98,7 @@ class PureHome extends React.Component {
|
||||
isHeaderChecked,
|
||||
selected
|
||||
} = this.state;
|
||||
const t = this.props.t;
|
||||
const { t } = this.props;
|
||||
return (
|
||||
<>
|
||||
<RequestLoader
|
||||
|
Loading…
Reference in New Issue
Block a user