mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
feat: update translate
This commit is contained in:
parent
351fdd5ec0
commit
1fa32c7859
@ -55,6 +55,20 @@ const domainRole = {
|
||||
noc: () => t`Noc`
|
||||
}
|
||||
|
||||
const domainEvent = {
|
||||
registration: () => t`Registration`,
|
||||
reregistration: () => t`Reregistration`,
|
||||
'last changed': () => t`Last changed`,
|
||||
expiration: () => t`Expiration`,
|
||||
deletion: () => t`Deletion`,
|
||||
reinstantiation: () => t`Reinstantiation`,
|
||||
transfer: () => t`Transfer`,
|
||||
locked: () => t`Locked`,
|
||||
unlocked: () => t`Unlocked`,
|
||||
'registrar expiration': () => t`Registrar expiration`,
|
||||
'enum validation expiration': () => t`ENUM validation expiration`
|
||||
}
|
||||
|
||||
export default function DomainSearchPage() {
|
||||
|
||||
const [domain, setDomain] = useState<Domain | null>()
|
||||
@ -154,7 +168,7 @@ export default function DomainSearchPage() {
|
||||
|
||||
return {
|
||||
label: new Date(date).toUTCString(),
|
||||
children: action,
|
||||
children: Object.keys(domainEvent).includes(action) ? domainEvent[action as keyof typeof domainEvent]() : action,
|
||||
color,
|
||||
dot,
|
||||
pending: new Date(date).getTime() > new Date().getTime()
|
||||
|
||||
@ -47,46 +47,90 @@ msgstr ""
|
||||
msgid "Noc"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:59
|
||||
msgid "Registration"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:60
|
||||
msgid "Reregistration"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:61
|
||||
msgid "Last changed"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:62
|
||||
msgid "Expiration"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:63
|
||||
msgid "Deletion"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:64
|
||||
msgid "Reinstantiation"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:65
|
||||
msgid "Transfer"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:66
|
||||
msgid "Locked"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:67
|
||||
msgid "Unlocked"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:68
|
||||
msgid "Registrar expiration"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:69
|
||||
msgid "ENUM validation expiration"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:81
|
||||
msgid "Found !"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:71
|
||||
#: assets/pages/search/DomainSearchPage.tsx:85
|
||||
#: assets/pages/tracking/WatchlistPage.tsx:89
|
||||
msgid "An error occurred"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:76
|
||||
#: assets/pages/search/DomainSearchPage.tsx:90
|
||||
msgid "Domain finder"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/LoginPage.tsx:53
|
||||
#: assets/pages/LoginPage.tsx:61
|
||||
#: assets/pages/search/DomainSearchPage.tsx:89
|
||||
#: assets/pages/search/DomainSearchPage.tsx:103
|
||||
#: assets/pages/tracking/WatchlistPage.tsx:135
|
||||
#: assets/pages/tracking/WatchlistPage.tsx:195
|
||||
#: assets/pages/tracking/WatchlistPage.tsx:205
|
||||
msgid "Required"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:92
|
||||
#: assets/pages/search/DomainSearchPage.tsx:106
|
||||
#: assets/pages/tracking/WatchlistPage.tsx:138
|
||||
msgid "This domain name does not appear to be valid"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:117
|
||||
#: assets/pages/search/DomainSearchPage.tsx:131
|
||||
msgid "EPP Status Codes"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:127
|
||||
#: assets/pages/search/DomainSearchPage.tsx:141
|
||||
msgid "Timeline"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:169
|
||||
#: assets/pages/search/DomainSearchPage.tsx:183
|
||||
msgid "Entities"
|
||||
msgstr ""
|
||||
|
||||
#: assets/pages/search/DomainSearchPage.tsx:208
|
||||
#: assets/pages/search/DomainSearchPage.tsx:222
|
||||
msgid ""
|
||||
"Although the domain exists in my database, it has been deleted from the "
|
||||
"WHOIS by its registrar."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user