about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-03-13 10:41:34 +0900
committerMinseo Lee <itoupluk427@gmail.com>2024-03-13 10:41:34 +0900
commit2938a1397e763f44e088cde11d8b975b036a6405 (patch)
tree1bde13218ec06063b5ddab7ae894adddf1661167 /src
parent3ead08ab2649533583c300904bbd85c250292014 (diff)
downloadvoidsky-2938a1397e763f44e088cde11d8b975b036a6405.tar.zst
Update index.tsx
Diffstat (limited to 'src')
-rw-r--r--src/components/Menu/index.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Menu/index.tsx b/src/components/Menu/index.tsx
index 9be9dd86b..051e95b95 100644
--- a/src/components/Menu/index.tsx
+++ b/src/components/Menu/index.tsx
@@ -17,7 +17,7 @@ import {
   ItemIconProps,
 } from '#/components/Menu/types'
 import {Button, ButtonText} from '#/components/Button'
-import {msg} from '@lingui/macro'
+import {Trans, msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 import {isNative} from 'platform/detection'
 
@@ -209,7 +209,9 @@ function Cancel() {
       variant="ghost"
       color="secondary"
       onPress={() => control.close()}>
-      <ButtonText>Cancel</ButtonText>
+      <ButtonText>
+        <Trans>Cancel</Trans>
+      </ButtonText>
     </Button>
   )
 }