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>
|
||||
{
|
||||
props.description
|
||||
|| t`Select one of your available watchlists`
|
||||
|| t`Select one of your available Watchlists`
|
||||
}
|
||||
</Typography.Paragraph>
|
||||
<Select
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, {useEffect, useState} from 'react'
|
||||
import type {FormProps} from 'antd'
|
||||
import type { FormProps} from 'antd'
|
||||
import {FloatButton} from 'antd'
|
||||
import {Empty, Flex, message, Skeleton} from 'antd'
|
||||
import type {Domain, Watchlist} from '../../utils/api'
|
||||
@@ -79,7 +79,7 @@ export default function DomainSearchPage() {
|
||||
insetInlineEnd: (100 - 40) / 2,
|
||||
bottom: 100 - 40 / 2
|
||||
}}
|
||||
tooltip={t`Add to watchlist`}
|
||||
tooltip={t`Add to Watchlist`}
|
||||
type="primary"
|
||||
icon={<PlusOutlined/>}
|
||||
onClick={() => setAddToWatchlistModal(true)}
|
||||
@@ -89,10 +89,12 @@ export default function DomainSearchPage() {
|
||||
open={addToWatchlistModal}
|
||||
onFinish={addToWatchlist}
|
||||
modalProps={{
|
||||
title: t`Add ${domainLdhName} to a watchlist`,
|
||||
title: t`Add ${domainLdhName} to a Watchlist`,
|
||||
onCancel: () => setAddToWatchlistModal(false),
|
||||
onClose: () => setAddToWatchlistModal(false),
|
||||
}}
|
||||
cancelText: t`Cancel`,
|
||||
okText: t`Add`
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
|
||||
@@ -571,7 +571,7 @@ msgid "${ rest.length } more"
|
||||
msgstr ""
|
||||
|
||||
#: assets/components/tracking/watchlist/WatchlistSelectionModal.tsx:82
|
||||
msgid "Select one of your available watchlists"
|
||||
msgid "Select one of your available Watchlists"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/infrastructure/IcannRegistrarPage.tsx:45
|
||||
@@ -714,12 +714,20 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:82
|
||||
msgid "Add to watchlist"
|
||||
msgid "Add to Watchlist"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:92
|
||||
#, 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 ""
|
||||
|
||||
#: assets/pages/StatisticsPage.tsx:35
|
||||
|
||||
Reference in New Issue
Block a user