refactor: custom fonts

This commit is contained in:
pa
2026-03-13 22:24:41 +09:00
parent 9ac18ac79e
commit 82122a4fab
12 changed files with 389 additions and 110 deletions

View File

@@ -703,7 +703,7 @@
"bio_language": "Target Language",
"theme_mode": "Theme",
"font_family": "Font",
"font_family_tooltip": "Only the system font affects CJK characters",
"cjk_font_pack": "CJK Font",
"font_family_inter": "Inter",
"font_family_noto_sans": "Noto Sans",
"font_family_source_sans_3": "Source Sans 3",
@@ -713,6 +713,12 @@
"font_family_roboto": "Roboto",
"font_family_fantasque_sans_mono": "Fantasque Sans Mono",
"font_family_system_ui": "System Font",
"font_family_custom": "Custom",
"font_family_custom_dialog_title": "Custom Font Family",
"font_family_custom_dialog_description": "Enter a valid CSS font-family value",
"font_family_custom_invalid": "Invalid font-family. Use comma-separated font names, e.g. 'My Font', Arial, sans-serif",
"cjk_font_pack_noto": "Noto Sans CJK",
"cjk_font_pack_pht": "PuHuiTi CJK",
"theme_mode_system": "System",
"theme_mode_light": "Light",
"theme_mode_dark": "Dark",

View File

@@ -564,7 +564,6 @@
"bio_language": "翻訳先の言語",
"theme_mode": "テーマ",
"font_family": "フォント",
"font_family_tooltip": "システムフォントのみがCJK文字に影響します",
"font_family_inter": "Inter",
"font_family_noto_sans": "Noto Sans",
"font_family_source_sans_3": "Source Sans 3",

View File

@@ -563,7 +563,6 @@
"bio_language": "目标语言",
"theme_mode": "主题",
"font_family": "字体",
"font_family_tooltip": "只有系统字体会影响 CJK (也就是中/日/韩文)字符。此外,由于部分字体使用了 fonts.gstatic.com 源,所以在网络受限地区可能需要魔法",
"font_family_inter": "Inter",
"font_family_noto_sans": "Noto Sans",
"font_family_source_sans_3": "Source Sans 3",

View File

@@ -559,7 +559,6 @@
"bio_language": "目標語言",
"theme_mode": "主題",
"font_family": "字型",
"font_family_tooltip": "只有系統字型會影響 CJK中日韓字元顯示",
"font_family_inter": "Inter",
"font_family_noto_sans": "Noto Sans",
"font_family_source_sans_3": "Source Sans 3",