Skip to content

Commit 2cb84b1

Browse files
chore: i18n
1 parent 52829a2 commit 2cb84b1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/cowswap-frontend/src/locales/en-US.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,6 @@ msgid "Tokens"
10561056
msgstr "Tokens"
10571057

10581058
#: apps/cowswap-frontend/src/legacy/components/Copy/CopyMod.tsx
1059-
#: apps/cowswap-frontend/src/modules/account/containers/CopyHelper/index.tsx
10601059
msgid "Copied"
10611060
msgstr "Copied"
10621061

libs/ui/src/pure/CopyButton/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { type ButtonHTMLAttributes, type MouseEvent, type ReactNode, useCallback
22

33
import { useCopyClipboard } from '@cowprotocol/common-hooks'
44

5+
import { Trans } from '@lingui/react/macro'
56
import { Check, Copy } from 'react-feather'
67
import styled from 'styled-components/macro'
78

@@ -47,7 +48,7 @@ export function CopyButton(props: CopyButtonProps): ReactNode {
4748
const {
4849
value,
4950
children,
50-
copiedLabel = 'Copied',
51+
copiedLabel = <Trans>Copied</Trans>,
5152
idleLabel,
5253
showCopiedLabel = true,
5354
iconSize = 16,

0 commit comments

Comments
 (0)