Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,12 @@ Bump `AppSettings.CurrentSchemaVersion` and add a step to `SettingsMigrations` w
stay left to right. Light/dark surface colours are theme dictionaries in `Styles/Soft.axaml`; a user's
`theme.json` (`CustomTheme`, see [CUSTOM-THEMES.md](CUSTOM-THEMES.md)) overrides them with theme dictionaries in
application resources, which are searched first.
- The UI font is one chain (`SoftPalette.FontFamilies`): the embedded Noto fonts (`FileeFontCollection`,
`fonts:Filee#…`), with the UI language's CJK font first so Han takes that region's shapes. Theme → *Use the system
font* puts the system's UI fonts ahead of them (Segoe UI and Windows' script fonts, San Francisco on macOS,
fontconfig's default on Linux), named `fonts:System#…` (`SystemUiFontCollection`): Avalonia's own system collection
answers any letter with the platform's fallback font, whatever family is asked, so a plain name would draw every
language's Han in Yu Gothic UI on Windows. Annotate's labels follow the same chain (`AnnotationFonts`).
- What sits on an accent fill is `OnAccentBrush`: white or dark, whichever has the higher WCAG contrast
(`SoftPalette.OnAccent`). `SoftPalette.ApplyAccentStates` also gives Fluent's accent controls this label instead of
their fixed white, and their hover and pressed fills, which move away from the label when they would cost it contrast.
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "لون مخصّص",
"theme.corner_radius": "استدارة الزوايا",
"theme.donut_opacity": "شفافية شريط الأدوات الدائري",
"theme.system_font": "استخدام خط النظام",
"theme.system_font_hint": "يعرض النصوص بخط نظامك نفسه، كما في التطبيقات الأخرى. تبقى خطوط Filee المدمجة لرسم أي كتابة لا يدعمها.",
"theme.reduce_motion": "تقليل الرسوم المتحركة",
"theme.reduce_motion_hint": "موصى به للحواسيب القديمة. يعطّل الانتقالات وحركة ارتداد الشريط الدائري.",
"theme.window_size": "حجم النوافذ",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/bn-BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@
"theme.custom_color": "কাস্টম",
"theme.corner_radius": "কোমলতা",
"theme.donut_opacity": "ডোনাট টুলবারের অস্বচ্ছতা",
"theme.system_font": "সিস্টেমের ফন্ট ব্যবহার করুন",
"theme.system_font_hint": "অন্য অ্যাপের মতো লেখা আপনার সিস্টেমের নিজস্ব ফন্টে দেখায়। যে লিপি সেই ফন্টে নেই, তা ফাইলি-র নিজস্ব ফন্টেই আঁকা হয়।",
"theme.reduce_motion": "অ্যানিমেশন কমান",
"theme.reduce_motion_hint": "পুরোনো পিসির জন্য প্রস্তাবিত। ট্রানজিশন এবং ডোনাটের বাউন্স বন্ধ করে।",
"theme.window_size": "উইন্ডোর আকার",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "Benutzerdefiniert",
"theme.corner_radius": "Abrundung",
"theme.donut_opacity": "Deckkraft des Ringmenüs",
"theme.system_font": "Systemschrift verwenden",
"theme.system_font_hint": "Zeigt Text in der Schrift Ihres Systems, wie andere Apps. Schriftsysteme, die ihr fehlen, zeichnen weiterhin die mitgelieferten Schriften von Filee.",
"theme.reduce_motion": "Animationen reduzieren",
"theme.reduce_motion_hint": "Für ältere PCs empfohlen. Deaktiviert Übergänge und das Federn des Ringmenüs.",
"theme.window_size": "Fenstergröße",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Custom",
"theme.corner_radius": "Softness",
"theme.donut_opacity": "Donut toolbar opacity",
"theme.system_font": "Use the system font",
"theme.system_font_hint": "Shows text in your system's own font, like other apps. Filee's built-in fonts still draw any script it lacks.",
"theme.reduce_motion": "Reduce animations",
"theme.reduce_motion_hint": "Recommended for older PCs. Turns off transitions and the donut's bounce.",
"theme.window_size": "Window size",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "Personalizado",
"theme.corner_radius": "Redondeo",
"theme.donut_opacity": "Opacidad del menú circular",
"theme.system_font": "Usar la fuente del sistema",
"theme.system_font_hint": "Muestra el texto con la fuente de tu sistema, como las demás aplicaciones. Las fuentes integradas de Filee siguen dibujando las escrituras que le falten.",
"theme.reduce_motion": "Reducir las animaciones",
"theme.reduce_motion_hint": "Recomendado para PC antiguos. Desactiva las transiciones y el rebote del menú circular.",
"theme.window_size": "Tamaño de las ventanas",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@
"theme.custom_color": "سفارشی",
"theme.corner_radius": "نرمی گوشه‌ها",
"theme.donut_opacity": "شفافیت نوار ابزار دونات",
"theme.system_font": "استفاده از قلم سیستم",
"theme.system_font_hint": "متن‌ها را مانند برنامه‌های دیگر با قلم خود سیستم نمایش می‌دهد. خط‌هایی که این قلم ندارد همچنان با قلم‌های داخلی Filee نمایش داده می‌شوند.",
"theme.reduce_motion": "کاهش انیمیشن‌ها",
"theme.reduce_motion_hint": "برای رایانه‌های قدیمی‌تر توصیه می‌شود. جلوه‌های گذار و پرش دونات را غیرفعال می‌کند.",
"theme.window_size": "اندازه پنجره",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Personnalisée",
"theme.corner_radius": "Arrondi",
"theme.donut_opacity": "Opacité du menu circulaire",
"theme.system_font": "Utiliser la police du système",
"theme.system_font_hint": "Affiche le texte dans la police de votre système, comme les autres applications. Les polices intégrées de Filee dessinent toujours les écritures qui lui manquent.",
"theme.reduce_motion": "Réduire les animations",
"theme.reduce_motion_hint": "Recommandé pour les PC anciens. Désactive les transitions et le rebond du menu circulaire.",
"theme.window_size": "Taille des fenêtres",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "कस्टम",
"theme.corner_radius": "कोमलता",
"theme.donut_opacity": "डोनट टूलबार की अपारदर्शिता",
"theme.system_font": "सिस्टम फ़ॉन्ट इस्तेमाल करें",
"theme.system_font_hint": "दूसरे ऐप की तरह टेक्स्ट को आपके सिस्टम के अपने फ़ॉन्ट में दिखाता है। जो लिपि उस फ़ॉन्ट में नहीं है, उसे Filee के अपने फ़ॉन्ट ही दिखाते हैं।",
"theme.reduce_motion": "एनिमेशन कम करें",
"theme.reduce_motion_hint": "पुराने PC के लिए अनुशंसित। ट्रांज़िशन और डोनट की उछाल बंद कर देता है।",
"theme.window_size": "विंडो का आकार",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "Kustom",
"theme.corner_radius": "Kelengkungan",
"theme.donut_opacity": "Transparansi toolbar donut",
"theme.system_font": "Gunakan font sistem",
"theme.system_font_hint": "Menampilkan teks dengan font sistem Anda sendiri, seperti aplikasi lain. Aksara yang tidak dimiliki font itu tetap digambar dengan font bawaan Filee.",
"theme.reduce_motion": "Kurangi animasi",
"theme.reduce_motion_hint": "Disarankan untuk PC lama. Menonaktifkan transisi dan pantulan menu donut.",
"theme.window_size": "Ukuran jendela",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@
"theme.custom_color": "Personalizzato",
"theme.corner_radius": "Morbidezza",
"theme.donut_opacity": "Opacità della barra donut",
"theme.system_font": "Usa il carattere di sistema",
"theme.system_font_hint": "Mostra il testo con il carattere del sistema, come le altre app. Le scritture che gli mancano restano disegnate con i caratteri integrati di Filee.",
"theme.reduce_motion": "Riduci le animazioni",
"theme.reduce_motion_hint": "Consigliato per i PC più vecchi. Disattiva le transizioni e il rimbalzo del donut.",
"theme.window_size": "Dimensione delle finestre",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "カスタム",
"theme.corner_radius": "角の丸み",
"theme.donut_opacity": "ドーナツメニューの不透明度",
"theme.system_font": "システムのフォントを使う",
"theme.system_font_hint": "ほかのアプリと同じく、システムのフォントで文字を表示します。そのフォントにない文字は、引き続き Filee 内蔵のフォントで表示します。",
"theme.reduce_motion": "アニメーションを減らす",
"theme.reduce_motion_hint": "古いPCにおすすめです。画面切り替え時のアニメーションと、ドーナツメニューの弾む動きを無効にします。",
"theme.window_size": "ウィンドウのサイズ",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "직접 선택",
"theme.corner_radius": "말랑함",
"theme.donut_opacity": "원형 툴바 불투명도",
"theme.system_font": "시스템 글꼴 사용",
"theme.system_font_hint": "다른 앱처럼 시스템 글꼴로 글자를 보여 줘요. 그 글꼴에 없는 문자는 Filee에 들어 있는 글꼴로 그려요.",
"theme.reduce_motion": "애니메이션 줄이기",
"theme.reduce_motion_hint": "저사양 PC에 권장해요. 전환 효과와 도넛의 튕김 효과를 꺼요.",
"theme.window_size": "창 크기",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ne.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "अनुकूलित",
"theme.corner_radius": "कुनाको गोलाइ (Softness)",
"theme.donut_opacity": "डोनट टुलबार अपारदर्शिता",
"theme.system_font": "सिस्टमको फन्ट प्रयोग गर्नुहोस्",
"theme.system_font_hint": "अन्य एपजस्तै पाठलाई तपाईंको सिस्टमकै फन्टमा देखाउँछ। त्यो फन्टमा नभएका लिपिहरू Filee कै फन्टले देखाउँछन्।",
"theme.reduce_motion": "एनिमेसन कम गर्नुहोस्",
"theme.reduce_motion_hint": "पुराना कम्प्युटरहरूका लागि सिफारिस गरिन्छ। ट्रान्जिसन र डोनटको बाउन्स बन्द गर्दछ।",
"theme.window_size": "विन्डोको आकार",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Własny",
"theme.corner_radius": "Zaokrąglenie",
"theme.donut_opacity": "Krycie paska-pierścienia",
"theme.system_font": "Użyj czcionki systemowej",
"theme.system_font_hint": "Wyświetla tekst czcionką systemu, jak inne aplikacje. Pisma, których jej brakuje, nadal rysują wbudowane czcionki Filee.",
"theme.reduce_motion": "Ogranicz animacje",
"theme.reduce_motion_hint": "Zalecane na starszych komputerach. Wyłącza przejścia i odbijanie pierścienia.",
"theme.window_size": "Rozmiar okien",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Personalizada",
"theme.corner_radius": "Suavidade",
"theme.donut_opacity": "Opacidade do menu circular",
"theme.system_font": "Usar a fonte do sistema",
"theme.system_font_hint": "Mostra o texto na fonte do seu sistema, como os outros apps. As fontes embutidas do Filee continuam desenhando as escritas que faltarem nela.",
"theme.reduce_motion": "Reduzir animações",
"theme.reduce_motion_hint": "Recomendado para PCs mais antigos. Desliga as transições e o salto do menu.",
"theme.window_size": "Tamanho das janelas",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Personalizada",
"theme.corner_radius": "Arredondamento",
"theme.donut_opacity": "Opacidade da barra circular",
"theme.system_font": "Usar o tipo de letra do sistema",
"theme.system_font_hint": "Mostra o texto no tipo de letra do sistema, como as outras aplicações. Os tipos de letra incluídos no Filee continuam a desenhar as escritas que lhe faltem.",
"theme.reduce_motion": "Reduzir animações",
"theme.reduce_motion_hint": "Recomendado para computadores antigos. Desativa as transições e o efeito de ressalto da barra circular.",
"theme.window_size": "Escala da interface",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Свой",
"theme.corner_radius": "Скругление",
"theme.donut_opacity": "Непрозрачность кругового меню",
"theme.system_font": "Использовать системный шрифт",
"theme.system_font_hint": "Показывает текст шрифтом вашей системы, как другие приложения. Письменности, которых в нём нет, по-прежнему рисуют встроенные шрифты Filee.",
"theme.reduce_motion": "Меньше анимации",
"theme.reduce_motion_hint": "Рекомендуется для старых компьютеров. Отключает переходы и подпрыгивание кругового меню.",
"theme.window_size": "Размер окон",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "กำหนดเอง",
"theme.corner_radius": "ความโค้งมน",
"theme.donut_opacity": "ความทึบแสงของแถบโดนัท",
"theme.system_font": "ใช้ฟอนต์ของระบบ",
"theme.system_font_hint": "แสดงข้อความด้วยฟอนต์ของระบบเหมือนแอปอื่น ๆ ส่วนตัวอักษรที่ฟอนต์นั้นไม่มี ยังคงใช้ฟอนต์ที่มากับ Filee",
"theme.reduce_motion": "ลดการเคลื่อนไหว (แอนิเมชัน)",
"theme.reduce_motion_hint": "แนะนำสำหรับคอมพิวเตอร์รุ่นเก่า จะปิดเอฟเฟกต์การเปลี่ยนผ่านและการเด้งของโดนัท",
"theme.window_size": "ขนาดหน้าต่าง",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,8 @@
"theme.custom_color": "Özel",
"theme.corner_radius": "Yumuşaklık",
"theme.donut_opacity": "Halka araç çubuğu opaklığı",
"theme.system_font": "Sistem yazı tipini kullan",
"theme.system_font_hint": "Metni diğer uygulamalar gibi sisteminizin kendi yazı tipiyle gösterir. Bu yazı tipinde olmayan yazı sistemlerini yine Filee'nin yerleşik yazı tipleri çizer.",
"theme.reduce_motion": "Animasyonları azalt",
"theme.reduce_motion_hint": "Eski bilgisayarlar için önerilir. Geçişleri ve halkanın sıçrama efektini kapatır.",
"theme.window_size": "Pencere ölçeği",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "Tùy chỉnh",
"theme.corner_radius": "Độ bo góc",
"theme.donut_opacity": "Độ mờ đục của thanh công cụ vòng tròn",
"theme.system_font": "Dùng phông chữ hệ thống",
"theme.system_font_hint": "Hiển thị chữ bằng phông chữ của hệ thống, giống các ứng dụng khác. Những chữ viết mà phông đó không có vẫn được vẽ bằng phông chữ có sẵn của Filee.",
"theme.reduce_motion": "Giảm hiệu ứng động",
"theme.reduce_motion_hint": "Khuyên dùng cho máy tính cũ. Tắt hiệu ứng chuyển tiếp và hiệu ứng nảy của vòng tròn.",
"theme.window_size": "Kích thước cửa sổ",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "自定义",
"theme.corner_radius": "圆角",
"theme.donut_opacity": "环形工具栏不透明度",
"theme.system_font": "使用系统字体",
"theme.system_font_hint": "像其他应用一样,用系统自己的字体显示文字。系统字体缺少的文字仍由 Filee 自带的字体显示。",
"theme.reduce_motion": "减少动画",
"theme.reduce_motion_hint": "适合配置较低的电脑。关闭过渡效果和圆环的弹跳效果。",
"theme.window_size": "窗口大小",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,8 @@
"theme.custom_color": "自訂",
"theme.corner_radius": "圓角",
"theme.donut_opacity": "環形工具列不透明度",
"theme.system_font": "使用系統字型",
"theme.system_font_hint": "像其他應用程式一樣,以系統本身的字型顯示文字。系統字型缺少的文字仍由 Filee 內建的字型顯示。",
"theme.reduce_motion": "減少動畫",
"theme.reduce_motion_hint": "適合效能較低的電腦。關閉轉場效果和圓環的彈跳效果。",
"theme.window_size": "視窗大小",
Expand Down
6 changes: 5 additions & 1 deletion src/Filee.App/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ public static AppBuilder BuildAvaloniaApp()
builder = builder.With(new X11PlatformOptions { RenderingMode = [X11RenderingMode.Software] });

builder = builder
.ConfigureFonts(fonts => fonts.AddFontCollection(new FileeFontCollection()))
.ConfigureFonts(fonts =>
{
fonts.AddFontCollection(new FileeFontCollection());
fonts.AddFontCollection(new SystemUiFontCollection());
})
#if DEBUG
.WithDeveloperTools()
#endif
Expand Down
Loading
Loading