mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: translate Close button
This commit is contained in:
@@ -39,12 +39,12 @@ export function WatchlistsList({watchlists, onDelete, onUpdateWatchlist, connect
|
|||||||
|
|
||||||
const showDrawer = () => {
|
const showDrawer = () => {
|
||||||
setOpen(true)
|
setOpen(true)
|
||||||
};
|
}
|
||||||
|
|
||||||
const onClose = () => {
|
const onClose = () => {
|
||||||
setOpen(false)
|
setOpen(false)
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
};
|
}
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
{watchlists.map(watchlist =>
|
{watchlists.map(watchlist =>
|
||||||
@@ -93,7 +93,7 @@ export function WatchlistsList({watchlists, onDelete, onUpdateWatchlist, connect
|
|||||||
paddingBottom: 80,
|
paddingBottom: 80,
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
extra={<Button onClick={onClose}>Cancel</Button>}
|
extra={<Button onClick={onClose}>{t`Cancel`}</Button>}
|
||||||
>
|
>
|
||||||
<WatchlistForm
|
<WatchlistForm
|
||||||
form={form}
|
form={form}
|
||||||
|
|||||||
@@ -285,6 +285,10 @@ msgstr ""
|
|||||||
msgid "Update a Watchlist"
|
msgid "Update a Watchlist"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: assets/components/tracking/WatchlistsList.tsx:96
|
||||||
|
msgid "Cancel"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/WatchlistsList.tsx:110
|
#: assets/components/tracking/WatchlistsList.tsx:110
|
||||||
#: assets/components/tracking/WatchlistsList.tsx:117
|
#: assets/components/tracking/WatchlistsList.tsx:117
|
||||||
msgid "Delete the Watchlist"
|
msgid "Delete the Watchlist"
|
||||||
|
|||||||
Reference in New Issue
Block a user