Multilingual support via Fluent + Frontend improvements + Rewrite of ArcReactor

This commit is contained in:
Priler 2026-01-07 05:04:04 +05:00
parent adec595cfa
commit 412acb7e2d
41 changed files with 2436 additions and 723 deletions

View file

@ -17,6 +17,17 @@ export {
reloadCommands
} from "./lib/ipc"
// re-export i18n
export {
translations,
currentLanguage,
translate,
loadTranslations,
setLanguage,
loadLanguage,
getSupportedLanguages
} from "./lib/i18n"
// ### RUNNING STATE
export const isJarvisRunning = writable(false)
export const jarvisRamUsage = writable(0)
@ -30,6 +41,8 @@ export const appInfo = writable({
tgOfficialLink: "",
feedbackLink: "",
repositoryLink: "",
boostySupportLink: "",
patreonSupportLink: "",
logFilePath: ""
})
@ -45,10 +58,12 @@ export async function loadVoiceSetting() {
export async function loadAppInfo() {
try {
const [tg, feedback, repo, logPath] = await Promise.all([
const [tg, feedback, repo, boosty, patreon, logPath] = await Promise.all([
invoke<string>("get_tg_official_link"),
invoke<string>("get_feedback_link"),
invoke<string>("get_repository_link"),
invoke<string>("get_boosty_link"),
invoke<string>("get_patreon_link"),
invoke<string>("get_log_file_path")
])
@ -56,6 +71,8 @@ export async function loadAppInfo() {
tgOfficialLink: tg,
feedbackLink: feedback,
repositoryLink: repo,
boostySupportLink: boosty,
patreonSupportLink: patreon,
logFilePath: logPath
})
} catch (err) {