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