import App from './App.svelte'; import { WindowSetTitle } from "../wailsjs/runtime/runtime" import { _ } from 'svelte-i18n' import {messages, showInformation, needProjectSave} from './stores.js'; // Load dictionaries import { addMessages, init } from 'svelte-i18n'; // Import dictionaries import en from './lang/en.json'; // Add dictionaries to svelte-i18n addMessages('en', en); // Initialize svelte-i18n dictionaries init({ fallbackLocale: 'en', initialLocale: 'en', }); // Create the main app const app = new App({ target: document.body, }); export default app;