Skip to content

Commit b32dd18

Browse files
committed
fix(web): translate the advanced code font title
1 parent 324eb05 commit b32dd18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/settings/TypographySettings.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function CodeFontRow({
143143
return (
144144
<FontFamilySettingsRow
145145
{...searchableSetting("code-font")}
146-
{...(title !== undefined ? { title } : {})}
146+
title={title ?? t("settings.typography.codeFont.title")}
147147
description={description ?? t("settings.typography.codeFont.description")}
148148
familyA11yLabel={familyA11yLabel ?? t("settings.typography.codeFont.familyA11y")}
149149
defaultFamily={defaults.code}

0 commit comments

Comments
 (0)