docs: add legal text

This commit is contained in:
Maël Gangloff
2025-02-18 18:22:25 +01:00
parent 3cca7c8213
commit 58bd2f7559
2 changed files with 19 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import type {FormInstance, StepProps} from 'antd'
import {Card, Col, Row, Steps} from 'antd'
import type { FormInstance, StepProps} from 'antd'
import {Card, Col, Row, Steps, Typography} from 'antd'
import type {Connector} from '../../../utils/api/connectors'
import {ConnectorProvider} from '../../../utils/api/connectors'
import React, {useState} from 'react'
@@ -48,7 +48,8 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
next()
}}
>
<div style={{fontSize: "3rem"}}><BankOutlined/></div>
<div style={{fontSize: "3rem"}}><BankOutlined style={{color: 'lightblue'}}/>
</div>
<h3>{Object.keys(ConnectorProvider).find(p => ConnectorProvider[p as keyof typeof ConnectorProvider] === provider)}</h3>
</Card>
</Col>
@@ -59,6 +60,11 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
{current === 1 && ProviderForm && <ProviderForm form={form} onCreate={onCreate}/>}
</div>
<Typography.Text type='secondary'>
{t`This website is neither affiliated with nor sponsored by the registrars mentioned.
The names and logos of these companies are used for informational purposes only and remain registered trademarks of their respective owners.
The use of their services via this website is subject to the terms and conditions set by each registrar and is the sole responsibility of the user.`}
</Typography.Text>
</>
)
}

View File

@@ -231,6 +231,16 @@ msgstr ""
msgid "Choose a registrar"
msgstr ""
#: assets/components/tracking/connector/ConnectorForm.tsx:64
msgid ""
"This website is neither affiliated with nor sponsored by the registrars "
"mentioned.\n"
"The names and logos of these companies are used for informational purposes "
"only and remain registered trademarks of their respective owners.\n"
"The use of their services via this website is subject to the terms and "
"conditions set by each registrar and is the sole responsibility of the user."
msgstr ""
#: assets/components/tracking/connector/ConnectorsList.tsx:18
msgid ""
"An error occurred while deleting the Connector. Make sure it is not used in "