i18n: add Chinese, Korean and Russian interface languages

This commit is contained in:
neko233-com
2026-10-10 10:24:09 +08:00
committed by luohaojun
parent e8e010b446
commit 12bfdb0798
12 changed files with 1005 additions and 82 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ pub fn start() {
let _ = session.execute("file.new", serde_json::json!({"sample": "sales"}));
}
let app = SheetApp::new(session, services(inbox.clone(), cc.egui_ctx.clone()));
SheetApp::setup_context(&cc.egui_ctx, false);
SheetApp::setup_context_for_language(&cc.egui_ctx, false, app.ui.language);
Ok(Box::new(WebShell { app, inbox }))
}),
)