Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix: font family label (#6585)

Roman Sergeevd7870ac064dd
diff --git a/packages/ui/src/components/font-family/FontFamily.tsx b/packages/ui/src/components/font-family/FontFamily.tsx
index a01ca8bacf..adbc2a82d7 100644
--- a/packages/ui/src/components/font-family/FontFamily.tsx
+++ b/packages/ui/src/components/font-family/FontFamily.tsx
@@ -53,7 +53,7 @@ export const FontFamily = ({ id, value, disabled$ }: IFontFamilyProps) => {
});
if (!font) {
- return fixedValue;
+ return localeService.t(value);
}
return localeService.t(font.label);