mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
feat: translated document title
This commit is contained in:
parent
9297ca5cc6
commit
24d4fd10c0
13 changed files with 83 additions and 29 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { Trans, useTranslation } from 'react-i18next';
|
||||
import { Helmet } from 'react-helmet';
|
||||
|
||||
import { Button, DialogContent as DialogContentRaw } from '@material-ui/core';
|
||||
import { usePromiseValue } from '@/helpers/useServiceValue';
|
||||
|
||||
|
|
@ -79,6 +81,9 @@ export default function About(): JSX.Element {
|
|||
|
||||
return (
|
||||
<DialogContent>
|
||||
<Helmet>
|
||||
<title>{t('ContextMenu.About')}</title>
|
||||
</Helmet>
|
||||
<Icon src={`file:///${iconPath ?? ''}`} alt="TiddlyGit" />
|
||||
<Title>TiddlyGit ({platform ?? 'Unknown Platform'})</Title>
|
||||
<TiddlyGitVersion>{`Version v${appVersion ?? ' - '}.`}</TiddlyGitVersion>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue