From 6a0009b25cddf686dcf61eaf2435e2973179b3c9 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Mon, 20 Jul 2026 21:22:30 +0300 Subject: [PATCH] refactor(typography): prioritize formatting and de-jargon font features --- packages/vue/src/i18n/locales/de/panels.json | 4 +- packages/vue/src/i18n/locales/es/panels.json | 4 +- packages/vue/src/i18n/locales/fr/panels.json | 4 +- packages/vue/src/i18n/locales/it/panels.json | 4 +- packages/vue/src/i18n/locales/ja/panels.json | 4 +- packages/vue/src/i18n/locales/pl/panels.json | 4 +- packages/vue/src/i18n/locales/ru/panels.json | 4 +- .../vue/src/i18n/locales/zh-cn/panels.json | 4 +- packages/vue/src/i18n/messages/panels.ts | 2 +- .../properties/TypographySection.vue | 82 +++++++++---------- 10 files changed, 58 insertions(+), 58 deletions(-) diff --git a/packages/vue/src/i18n/locales/de/panels.json b/packages/vue/src/i18n/locales/de/panels.json index db7c29c2a..f388d4e40 100644 --- a/packages/vue/src/i18n/locales/de/panels.json +++ b/packages/vue/src/i18n/locales/de/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "Deaktiviert", "truncationEnding": "Auslassung am Ende", "maxLines": "Maximale Zeilen", - "openTypeFeatures": "OpenType-Funktionen", + "openTypeFeatures": "Schrifteigenschaften", "standardLigatures": "Standardligaturen", "contextualAlternates": "Kontextvarianten", "kerning": "Kerning", @@ -246,4 +246,4 @@ "blendModeSaturation": "Sättigung", "blendModeColor": "Farbe", "blendModeLuminosity": "Luminanz" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/es/panels.json b/packages/vue/src/i18n/locales/es/panels.json index fea5c1102..4402cd33f 100644 --- a/packages/vue/src/i18n/locales/es/panels.json +++ b/packages/vue/src/i18n/locales/es/panels.json @@ -43,7 +43,7 @@ "truncationDisabled": "Desactivado", "truncationEnding": "Puntos suspensivos finales", "maxLines": "Líneas máximas", - "openTypeFeatures": "Funciones OpenType", + "openTypeFeatures": "Funciones de fuente", "standardLigatures": "Ligaduras estándar", "contextualAlternates": "Alternativas contextuales", "kerning": "Kerning", @@ -246,4 +246,4 @@ "blendModeSaturation": "Saturación", "blendModeColor": "Color", "blendModeLuminosity": "Luminosidad" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/fr/panels.json b/packages/vue/src/i18n/locales/fr/panels.json index cd62c0771..13687e052 100644 --- a/packages/vue/src/i18n/locales/fr/panels.json +++ b/packages/vue/src/i18n/locales/fr/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "Désactivée", "truncationEnding": "Points de suspension finaux", "maxLines": "Lignes maximales", - "openTypeFeatures": "Fonctions OpenType", + "openTypeFeatures": "Propriétés de police", "standardLigatures": "Ligatures standard", "contextualAlternates": "Variantes contextuelles", "kerning": "Crénage", @@ -246,4 +246,4 @@ "blendModeSaturation": "Saturation", "blendModeColor": "Couleur", "blendModeLuminosity": "Luminosité" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/it/panels.json b/packages/vue/src/i18n/locales/it/panels.json index 427427199..84aa4727e 100644 --- a/packages/vue/src/i18n/locales/it/panels.json +++ b/packages/vue/src/i18n/locales/it/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "Disattivato", "truncationEnding": "Puntini finali", "maxLines": "Righe massime", - "openTypeFeatures": "Funzioni OpenType", + "openTypeFeatures": "Funzioni del font", "standardLigatures": "Legature standard", "contextualAlternates": "Alternative contestuali", "kerning": "Crenatura", @@ -246,4 +246,4 @@ "blendModeSaturation": "Saturazione", "blendModeColor": "Colore", "blendModeLuminosity": "Luminosità" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/ja/panels.json b/packages/vue/src/i18n/locales/ja/panels.json index 0fef89787..5fb144da5 100644 --- a/packages/vue/src/i18n/locales/ja/panels.json +++ b/packages/vue/src/i18n/locales/ja/panels.json @@ -43,7 +43,7 @@ "truncationDisabled": "無効", "truncationEnding": "末尾を省略", "maxLines": "最大行数", - "openTypeFeatures": "OpenType 機能", + "openTypeFeatures": "フォント機能", "standardLigatures": "標準合字", "contextualAlternates": "文脈依存字形", "kerning": "カーニング", @@ -246,4 +246,4 @@ "blendModeSaturation": "彩度", "blendModeColor": "カラー", "blendModeLuminosity": "輝度" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/pl/panels.json b/packages/vue/src/i18n/locales/pl/panels.json index 961316783..28f522d70 100644 --- a/packages/vue/src/i18n/locales/pl/panels.json +++ b/packages/vue/src/i18n/locales/pl/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "Wyłączone", "truncationEnding": "Wielokropek na końcu", "maxLines": "Maksymalna liczba wierszy", - "openTypeFeatures": "Funkcje OpenType", + "openTypeFeatures": "Funkcje czcionki", "standardLigatures": "Ligatury standardowe", "contextualAlternates": "Alternatywy kontekstowe", "kerning": "Kerning", @@ -246,4 +246,4 @@ "blendModeSaturation": "Nasycenie", "blendModeColor": "Kolor", "blendModeLuminosity": "Jasność" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/ru/panels.json b/packages/vue/src/i18n/locales/ru/panels.json index e3f4b92bc..40738bee7 100644 --- a/packages/vue/src/i18n/locales/ru/panels.json +++ b/packages/vue/src/i18n/locales/ru/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "Отключена", "truncationEnding": "Многоточие в конце", "maxLines": "Максимум строк", - "openTypeFeatures": "Функции OpenType", + "openTypeFeatures": "Свойства шрифта", "standardLigatures": "Стандартные лигатуры", "contextualAlternates": "Контекстные варианты", "kerning": "Кернинг", @@ -246,4 +246,4 @@ "blendModeSaturation": "Насыщенность", "blendModeColor": "Цвет", "blendModeLuminosity": "Яркость" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/locales/zh-cn/panels.json b/packages/vue/src/i18n/locales/zh-cn/panels.json index 9d6494446..9902ab99c 100644 --- a/packages/vue/src/i18n/locales/zh-cn/panels.json +++ b/packages/vue/src/i18n/locales/zh-cn/panels.json @@ -32,7 +32,7 @@ "truncationDisabled": "禁用", "truncationEnding": "末尾省略号", "maxLines": "最大行数", - "openTypeFeatures": "OpenType 功能", + "openTypeFeatures": "字体功能", "standardLigatures": "标准连字", "contextualAlternates": "上下文替代字形", "kerning": "字距调整", @@ -246,4 +246,4 @@ "blendModeSaturation": "饱和度", "blendModeColor": "颜色", "blendModeLuminosity": "明度" -} +} \ No newline at end of file diff --git a/packages/vue/src/i18n/messages/panels.ts b/packages/vue/src/i18n/messages/panels.ts index 2043225e6..d5649f640 100644 --- a/packages/vue/src/i18n/messages/panels.ts +++ b/packages/vue/src/i18n/messages/panels.ts @@ -64,7 +64,7 @@ export const panelMessageDefaults = { truncationDisabled: 'Disabled', truncationEnding: 'Ending ellipsis', maxLines: 'Maximum lines', - openTypeFeatures: 'OpenType features', + openTypeFeatures: 'Font features', standardLigatures: 'Standard ligatures', contextualAlternates: 'Contextual alternates', kerning: 'Kerning', diff --git a/src/components/properties/TypographySection.vue b/src/components/properties/TypographySection.vue index c41704fdb..4e53c8bf7 100644 --- a/src/components/properties/TypographySection.vue +++ b/src/components/properties/TypographySection.vue @@ -196,6 +196,47 @@ function featureEnabled(features: Array<{ tag: string; enabled: boolean }>, tag: + + + + , tag: - - - -