mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: translate button text
This commit is contained in:
@@ -79,7 +79,7 @@ export default function WatchlistSelectionModal(props: WatchlistSelectionModalPr
|
|||||||
<Typography.Paragraph>
|
<Typography.Paragraph>
|
||||||
{
|
{
|
||||||
props.description
|
props.description
|
||||||
|| t`Select one of your available watchlists`
|
|| t`Select one of your available Watchlists`
|
||||||
}
|
}
|
||||||
</Typography.Paragraph>
|
</Typography.Paragraph>
|
||||||
<Select
|
<Select
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React, {useEffect, useState} from 'react'
|
import React, {useEffect, useState} from 'react'
|
||||||
import type {FormProps} from 'antd'
|
import type { FormProps} from 'antd'
|
||||||
import {FloatButton} from 'antd'
|
import {FloatButton} from 'antd'
|
||||||
import {Empty, Flex, message, Skeleton} from 'antd'
|
import {Empty, Flex, message, Skeleton} from 'antd'
|
||||||
import type {Domain, Watchlist} from '../../utils/api'
|
import type {Domain, Watchlist} from '../../utils/api'
|
||||||
@@ -79,7 +79,7 @@ export default function DomainSearchPage() {
|
|||||||
insetInlineEnd: (100 - 40) / 2,
|
insetInlineEnd: (100 - 40) / 2,
|
||||||
bottom: 100 - 40 / 2
|
bottom: 100 - 40 / 2
|
||||||
}}
|
}}
|
||||||
tooltip={t`Add to watchlist`}
|
tooltip={t`Add to Watchlist`}
|
||||||
type="primary"
|
type="primary"
|
||||||
icon={<PlusOutlined/>}
|
icon={<PlusOutlined/>}
|
||||||
onClick={() => setAddToWatchlistModal(true)}
|
onClick={() => setAddToWatchlistModal(true)}
|
||||||
@@ -89,10 +89,12 @@ export default function DomainSearchPage() {
|
|||||||
open={addToWatchlistModal}
|
open={addToWatchlistModal}
|
||||||
onFinish={addToWatchlist}
|
onFinish={addToWatchlist}
|
||||||
modalProps={{
|
modalProps={{
|
||||||
title: t`Add ${domainLdhName} to a watchlist`,
|
title: t`Add ${domainLdhName} to a Watchlist`,
|
||||||
onCancel: () => setAddToWatchlistModal(false),
|
onCancel: () => setAddToWatchlistModal(false),
|
||||||
onClose: () => setAddToWatchlistModal(false),
|
onClose: () => setAddToWatchlistModal(false),
|
||||||
}}
|
cancelText: t`Cancel`,
|
||||||
|
okText: t`Add`
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -571,7 +571,7 @@ msgid "${ rest.length } more"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/watchlist/WatchlistSelectionModal.tsx:82
|
#: assets/components/tracking/watchlist/WatchlistSelectionModal.tsx:82
|
||||||
msgid "Select one of your available watchlists"
|
msgid "Select one of your available Watchlists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/pages/infrastructure/IcannRegistrarPage.tsx:45
|
#: assets/pages/infrastructure/IcannRegistrarPage.tsx:45
|
||||||
@@ -714,12 +714,20 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/pages/search/DomainSearchPage.tsx:82
|
#: assets/pages/search/DomainSearchPage.tsx:82
|
||||||
msgid "Add to watchlist"
|
msgid "Add to Watchlist"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/pages/search/DomainSearchPage.tsx:92
|
#: assets/pages/search/DomainSearchPage.tsx:92
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid "Add ${ domainLdhName } to a watchlist"
|
msgid "Add ${ domainLdhName } to a Watchlist"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: assets/pages/search/DomainSearchPage.tsx:95
|
||||||
|
msgid "Cancel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: assets/pages/search/DomainSearchPage.tsx:96
|
||||||
|
msgid "Add"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/pages/StatisticsPage.tsx:35
|
#: assets/pages/StatisticsPage.tsx:35
|
||||||
|
|||||||
Reference in New Issue
Block a user