feat(i18n) : add personal languages and compact weapon exports
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
"use client"
|
||||
|
||||
import { useTranslation } from "@/components/i18n/locale-provider";
|
||||
import { Text } from "@/components/i18n/text"
|
||||
import * as React from "react"
|
||||
import { mergeProps } from "@base-ui/react/merge-props"
|
||||
import { useRender } from "@base-ui/react/use-render"
|
||||
@@ -6,9 +10,10 @@ import { cn } from "@/lib/utils"
|
||||
import { ChevronRightIcon, MoreHorizontalIcon } from "lucide-react"
|
||||
|
||||
function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<nav
|
||||
aria-label="breadcrumb"
|
||||
aria-label={t("breadcrumb")}
|
||||
data-slot="breadcrumb"
|
||||
className={cn(className)}
|
||||
{...props}
|
||||
@@ -109,7 +114,7 @@ function BreadcrumbEllipsis({
|
||||
>
|
||||
<MoreHorizontalIcon
|
||||
/>
|
||||
<span className="sr-only">More</span>
|
||||
<span className="sr-only"><Text message="More" /></span>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user