diff --git a/frontend/locales/en.json b/frontend/locales/en.json index f3cb28abe..22ccb8d19 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -156,7 +156,7 @@ "versionInfo": { "issueTracker": "Found a bug? Fill an issue!", "sourceCode": "Read the source code", - "versionInfo": "Version info", + "versionInfo": "Running Version", "title": "Running HedgeDoc on version" } }, diff --git a/frontend/src/components/landing-layout/footer/version-info/version-info-modal.tsx b/frontend/src/components/global-dialogs/version-info-modal/version-info-modal.tsx similarity index 73% rename from frontend/src/components/landing-layout/footer/version-info/version-info-modal.tsx rename to frontend/src/components/global-dialogs/version-info-modal/version-info-modal.tsx index 392c3d0d6..56611b440 100644 --- a/frontend/src/components/landing-layout/footer/version-info/version-info-modal.tsx +++ b/frontend/src/components/global-dialogs/version-info-modal/version-info-modal.tsx @@ -3,15 +3,15 @@ * * SPDX-License-Identifier: AGPL-3.0-only */ -import type { BackendVersion } from '../../../../api/config/types' -import links from '../../../../links.json' -import { cypressId } from '../../../../utils/cypress-attribute' -import { CopyableField } from '../../../common/copyable/copyable-field/copyable-field' -import { useFrontendConfig } from '../../../common/frontend-config-context/use-frontend-config' -import { TranslatedExternalLink } from '../../../common/links/translated-external-link' -import type { CommonModalProps } from '../../../common/modals/common-modal' -import { CommonModal } from '../../../common/modals/common-modal' -import { ShowIf } from '../../../common/show-if/show-if' +import type { BackendVersion } from '../../../api/config/types' +import links from '../../../links.json' +import { cypressId } from '../../../utils/cypress-attribute' +import { CopyableField } from '../../common/copyable/copyable-field/copyable-field' +import { useFrontendConfig } from '../../common/frontend-config-context/use-frontend-config' +import { TranslatedExternalLink } from '../../common/links/translated-external-link' +import type { CommonModalProps } from '../../common/modals/common-modal' +import { CommonModal } from '../../common/modals/common-modal' +import { ShowIf } from '../../common/show-if/show-if' import React, { useMemo } from 'react' import { Modal } from 'react-bootstrap' diff --git a/frontend/src/components/landing-layout/footer/version-info/version-info-link.tsx b/frontend/src/components/landing-layout/footer/version-info/version-info-link.tsx index aa42eacea..e8c2b4107 100644 --- a/frontend/src/components/landing-layout/footer/version-info/version-info-link.tsx +++ b/frontend/src/components/landing-layout/footer/version-info/version-info-link.tsx @@ -1,11 +1,11 @@ /* - * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) + * SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ import { useBooleanState } from '../../../../hooks/common/use-boolean-state' import { cypressId } from '../../../../utils/cypress-attribute' -import { VersionInfoModal } from './version-info-modal' +import { VersionInfoModal } from '../../../global-dialogs/version-info-modal/version-info-modal' import React, { Fragment } from 'react' import { Button } from 'react-bootstrap' import { Trans } from 'react-i18next'