fix: i18n (#71)

* fix: block_identifier text

* fix: i18n

* chore: auto-fix linting and formatting issues

* fix: block button

* fix: ConfirmBlock text

* fix: i18n

---------

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
仓鼠
2024-12-23 00:38:40 +08:00
committed by GitHub
co-authored by hamster1963
parent 4d12682cdf
commit 5e3db19ed6
8 changed files with 172 additions and 16 deletions
+5
View File
@@ -1,5 +1,6 @@
import { Button, ButtonProps } from "@/components/ui/button"
import {
BanIcon,
Check,
CircleArrowUp,
Clipboard,
@@ -29,6 +30,7 @@ export interface IconButtonProps extends ButtonProps {
| "download"
| "upload"
| "menu"
| "ban"
}
export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props, ref) => {
@@ -77,6 +79,9 @@ export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props,
case "menu": {
return <Menu />
}
case "ban": {
return <BanIcon />
}
}
})()}
</Button>