UI: use correct icon/i18n for Face Library on mobile (#17260)

This commit is contained in:
leccelecce 2025-03-19 21:09:35 +00:00 committed by GitHub
parent f4284023fd
commit ca5c714037
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ import {
LuLogOut,
LuMoon,
LuSquarePen,
LuScanFace,
LuRotateCw,
LuSettings,
LuSun,
@ -284,10 +285,10 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
<Link to="/faces">
<MenuItem
className="flex w-full items-center p-2 text-sm"
aria-label="Face Library"
aria-label={t("menu.faceLibrary")}
>
<LuSquarePen className="mr-2 size-4" />
<span>Face Library</span>
<LuScanFace className="mr-2 size-4" />
<span>{t("menu.faceLibrary")}</span>
</MenuItem>
</Link>
</>