Merge pull request #398 from FeiLiuEM/ui-i18n

i18n: translate the interface below the menu bar (panels, dialogs, tooltips)

# Conflicts:
#	crates/ui-egui/src/lib.rs
#	docs/preferences.md
This commit is contained in:
Brandon Thomas
2026-10-09 10:22:32 -04:00
54 changed files with 1629 additions and 450 deletions
+1
View File
@@ -1579,6 +1579,7 @@ impl eframe::App for EffectcraftApp {
// The CJK fallback fonts depend on the interface language, so they follow a change of
// Settings ▸ General ▸ Language instead of only the first frame.
let language = crate::i18n::language(self);
crate::i18n::set_current(language);
if !self.styled || self.styled_language != language {
theme::install(ctx, &self.tokens, language);
self.styled_language = language;